This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Writing files with 8051

Hello,

I would like some assistance with storing information on a SD card in the format of a text file. This SD card is connected to a 8051 microcontroller. Communication with the card is done via the SPI. I'd really appreciate some sort of #include file or anything that lets me have access to functions such as fprintf and fscanf, fopen, fclose. Also if anyone can tell me weather FATfs (elm-chan.org/.../00index_e.html) files are ok to compile on a 8051.

Parents
  • IF you look at the bottom of that page, you will see that it's been done for AVRs - so I see no reason why it shouldn't be doable on a suitable 8051.

    The files are there and free for you to download - so why not just try it for yourself?

Reply
  • IF you look at the bottom of that page, you will see that it's been done for AVRs - so I see no reason why it shouldn't be doable on a suitable 8051.

    The files are there and free for you to download - so why not just try it for yourself?

Children