[SOLVED] SD Card error -2

[8269.582] [disk_initialize] error while checking for SD Card (status 0)

[8269.582] [disk_read] error while reading sector 0

[8269.582] [FILE] Failed to open root directory - error status: 1

[8269.582] [sDCARD_ERROR:-2] DFS_GetPtnStart failed to find partition

[8269.582] ERROR: SD Card Error -2 (FatFs: D  0)

[8270.596] SD Card disconnected

 

Can someone please give me a description of this error or where to find one. 

MIOS32 successfully connected to the SD Card, but didn’t find a FAT16 or FAT32 filesystem.

 

You can format the SD Card with your computer, or (maybe better) with the “sdcard_format” command in the MIOS Terminal.

 

Best Regards, Thorsten.

Hi Thorsten,

 

thanks for your reply. Now I’m getting a formatting error:

 

[48347.313] sdcard_format yes, I’m sure

[48347.315] Formatting SD Card…

[48347.315] [disk_initialize] error while checking for SD Card (status 0)

[48347.315] [GET_SECTOR_COUNT] Count is 0

[48347.315] Formatting failed with error code: 14!

[48348.207] SD Card disconnected

 

So I made:

 

dd if=/dev/zero of=/dev/sdb

fdisk …

mkfs.vfat /dev/sdb1

 

Same output, also with a different card.

 

Kind regards,

 

Uli

Check all the connections between card reader and core board - that could be a cause if a known to be good card isn’t recognized properly.

Guess I somehow screwed my cardreader, by connecting it twisted. Another one works fine.

 

Thanks folks,

 

Uli

Fine! :slight_smile:

 

Best Regards, Thorsten.