Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

sd card read function

has anyone worked with sd card's read function? im trying to read a very simple hex file but i get the wrong data. I've saved the file in FAT16 format on sd card and its format is recognized properly, but the data read, is wrong! plz help me!

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    How do you read data from SD card?

    Do you use an OS or a specific file system manager? Or maybe raw SD data read?

    How did you save the file? Same board or another device (i.e. your PC) ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Cris!!!,

    The problem is solved!!!!!!! the problem was with the name of the file I had saved on the SD card!!! it was too long!!!!:D!,

    any way tnx for ur answer!!