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

Can i use file management in C

Hello just want to ask whether I can use file management in uVision3? Because I tried to use which is this " file *fp;" but i say file is an undefined identifier. What should I do to open a file to read and write can anyone tell me thanks!

The reason why I want to open a file to read and write is because I want to pass value from other program to this program. If anyone know the other method can teach me please thank alot!

Parents
  • Where do you fit the hard drive to your 8051? And how do you install Windows into your 8051?

    You normally make use of a serial port to transfer configuration to an embedded application. And you normally make use of EEPROM or a flash sector to save that configuration.

    Yes, embedded applications can do file operations. But you normally then have to add a SD memory card or similar. And then you need to add support for a file system, so the embedded application can support locating, opening and reading the files on the SD card.

Reply
  • Where do you fit the hard drive to your 8051? And how do you install Windows into your 8051?

    You normally make use of a serial port to transfer configuration to an embedded application. And you normally make use of EEPROM or a flash sector to save that configuration.

    Yes, embedded applications can do file operations. But you normally then have to add a SD memory card or similar. And then you need to add support for a file system, so the embedded application can support locating, opening and reading the files on the SD card.

Children
No data