Seite 1 von 1

Schreiben auf die Karte

Verfasst: 06.05.2005, 14:32:15
von Marcus
Hallo Ulrich,

in der Funktion Write_Block steht

Code: Alles auswählen

	//Wartet auf MMC/SD-Karte Bussy
	while (Read_Byte_MMC() != 0xff){};
Da der Fehlercode R1b irgendeinen Wert annimmt und nur bei busy 0xff wird , ist die Schleife doch umsonst. Oder ist non-zero = 0xff?

A zero value indicates card is busy. A non-zero value indicates the
card is ready for the next command.

Wenn es dann zu schnelleren Timings kommt könnte das schief gehen, da die Karte noch busy ist der Controller das aber nicht weiss?

Gib mir bitte bescheid, wenn ich nen Denkfehler drin hab!

Gruß Marcus