Jump to content
Electronics-Lab.com Community

MCU doesnt identify the uSD


chunjonas

Recommended Posts

Hi All,

i am doing a project to use a mcu which has a peripherial uSD to store some datas. Right now i have two uSDs, ic name them A and B. they both are formated with the same PC as FAT32 file system.
i have wrotten the software for the communication process. the software can access uSD A to read and write files. but the software cannt identify the uSD B!

accrding the description of FAT32 the first sector of the uSD should be MBR, if MBR not exsists, then should be DBR.
But either MBR or DBR the last two chars of first sector must be 0x55,0xAA! i mean the 510. and 511. chars!

i read these two chars: from A they are 0x55,0xAA, but from B there are 0x01,0x00 NOT 0x55 0xAA! i dont understand why it is that? because these were formattied in the same way(i think ao).

if the uSD B was bad, why the PC and cell phone can identify it? can also write and read file? or i have missunderstood that it maybe the last two chars not must be 0x55 0xAA?

waiting for your answers regardly....

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...