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

Using the Flash File System with microlib

I read through the documents that stated that the microlib doesn't support the Flash File System. I am curious if there's a work around for this. In the project, if I don't select the microlib checkbox, the code doesn't run correctly with RTX. I want to use the RTX OS but it seems like without the microlib, it doesn't jump to main when I started to debug. Any suggestions?

Thanks,
Tom

Parents
  • Ok, after I fiddled around I got it to compile and link correctly and jump to main. Now, I got a situation where I use fopen to create a file and wrote a bunch of data and called fclose to flush the data to the flash. The file is created but it's empty. Is there something I am missing again? I followed the instructions for the RL-FlashFS but the result seems to be the same whatever I tried. Is the RL-FlashFS fully implemented? My main goal is to write some configuration data in the flash and have it read back upon reset.

    Thanks,
    Tom

Reply
  • Ok, after I fiddled around I got it to compile and link correctly and jump to main. Now, I got a situation where I use fopen to create a file and wrote a bunch of data and called fclose to flush the data to the flash. The file is created but it's empty. Is there something I am missing again? I followed the instructions for the RL-FlashFS but the result seems to be the same whatever I tried. Is the RL-FlashFS fully implemented? My main goal is to write some configuration data in the flash and have it read back upon reset.

    Thanks,
    Tom

Children