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
  • While that is becoming a more and more obvious solution, I've only had experience with the 8051 uC and have already purchased it. Originally I had hoped for an easy way to add extra storage space to it as the rest is solvable (interfacing UART and such). The SD approach was also a suggestion from an aquaintance and I've come here in hopes of finding if there are other more convenient and easy to implement ways to store data.

Reply
  • While that is becoming a more and more obvious solution, I've only had experience with the 8051 uC and have already purchased it. Originally I had hoped for an easy way to add extra storage space to it as the rest is solvable (interfacing UART and such). The SD approach was also a suggestion from an aquaintance and I've come here in hopes of finding if there are other more convenient and easy to implement ways to store data.

Children