Robster
Dodgy hardware mod maker
Hey all,
I'm just doing this SD driver, and I'm (of course) finding the info a bit patchy.
I'm still mucking around with initialisation and I'm not sure I'm doing it right - certainly the CID numbers aren't what I'm expecting. Could anyone with some hardware and a SD card please try this prog and report the results? Note that it doesn't handle MMC cards.
I get things like this:
which is obviously crap, well the year is anyway. Also, I get quite a few errors in initialisation like:
which is a bit of a worry.
To run the program, press a key to stop booting at U-Boot. Type "loads" into U-Boot, and then download the file with kermit protocol. When the download is complete, type "go 0x8000" into U-Boot and it'll do its thing.
You'll notice that it flashes the backlight 3 times and then reboots, that's just a convenience thing. I notice that the results (as in number of errors reported) is different when running from a warm boot, than running from a cold boot.
Thanks in advance!
I'm just doing this SD driver, and I'm (of course) finding the info a bit patchy.
I'm still mucking around with initialisation and I'm not sure I'm doing it right - certainly the CID numbers aren't what I'm expecting. Could anyone with some hardware and a SD card please try this prog and report the results? Note that it doesn't handle MMC cards.
I get things like this:
Code:
Raw data = 1E41 4253 0000 4400 D602 1000 5183 0300
Manufacturer ID = 1E
Application ID = 4142
Product name = S..D.
Product revision = 88
Serial Number = 02100051
Manufacture year = 2030
Manufacture month = 3
Code:
Command = 0x0377
CMD55 Response status 0037, R1 = 0000 0120
Command = 0x0369
CMD41 Response status 003F, R1 = 00FF 8000
Command = 0x0377
CMD55 Response status 0037, R1 = 0000 0120
Command = 0x0369
CMD41 Response status 003F, R1 = 00FF 8000
Command = 0x0742
SDSendCommandBlocking (2) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
SDSendCommandBlocking (41) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
CMD41 Response status 003F, R1 = 00FF 8000
Command = 0x0742
SDSendCommandBlocking (2) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
SDSendCommandBlocking (41) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
CMD41 Response status 003F, R1 = 00FF 8000
Command = 0x0742
SDSendCommandBlocking (2) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
SDSendCommandBlocking (41) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
CMD41 Response status 003F, R1 = 00FF 8000
Command = 0x0742
SDSendCommandBlocking (2) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
SDSendCommandBlocking (41) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
CMD41 Response status 003F, R1 = 00FF 8000
Command = 0x0742
SDSendCommandBlocking (2) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
SDSendCommandBlocking (41) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
CMD41 Response status 003F, R1 = 00FF 8000
Command = 0x0742
SDSendCommandBlocking (2) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
SDSendCommandBlocking (41) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
CMD41 Response status 003F, R1 = 00FF 8000
Command = 0x0742
SDSendCommandBlocking (2) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
SDSendCommandBlocking (41) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
CMD41 Response status 003F, R1 = 00FF 8000
Command = 0x0742
SDSendCommandBlocking (2) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
SDSendCommandBlocking (41) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
CMD41 Response status 003F, R1 = 00FF 8000
Command = 0x0742
SDSendCommandBlocking (2) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
SDSendCommandBlocking (41) failed - code = 1
Command = 0x0377
CMD55 Response status 0037, R1 = 0040 0120
Command = 0x0369
CMD41 Response status 003F, R1 = 80FF 8000
Command = 0x0742
Raw data = 1E41 4253 0000 4400 D602 1000 5183 0300
Manufacturer ID = 1E
Application ID = 4142
Product name = S..D.
Product revision = 88
Serial Number = 02100051
Manufacture year = 2030
Manufacture month = 3
To run the program, press a key to stop booting at U-Boot. Type "loads" into U-Boot, and then download the file with kermit protocol. When the download is complete, type "go 0x8000" into U-Boot and it'll do its thing.
You'll notice that it flashes the backlight 3 times and then reboots, that's just a convenience thing. I notice that the results (as in number of errors reported) is different when running from a warm boot, than running from a cold boot.
Thanks in advance!