Forum Discussion

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

writing 24bit-bmp file to SD Card on DE2

Hi, I use university program to read/write 24bit-bmp file to/from SD Card on DE2 board.

I want to do it. But, .bmp is binary file format.

Up to now, I 've read/written to/from SD card at .dat file format.

I have a question,

Do the HAL functions support binary file format?

7 Replies

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

    hi!

    I'm trying to write to a .txt file using the SD Card IP from altera, my board is lso the DE2 board.

    I can write files to it however, when I write large data to it, I can no longer read them in the computer. What can I do?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hi, i utilize alt_up_sd_card ip on my de2-70 board for sd writing, but there always shows error information when i try to open a file in the sd card. could you give me some advice, 3k you

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

    can u tell me hw to read an image stored in SD card with DE1 board?