Forum Discussion
TomClary
Dec 23, 2021Copper Contributor
Using FileX on internal microcontroller flash
Any support or examples on using FileX on internal microcontroller flash? I know there are complications in writing while executing from flash but some processors have hardware provisions to support...
XiuwenCai
Jan 14, 2022Copper Contributor
Hi TomClary , there is no example for now. Here's the https://docs.microsoft.com/en-us/azure/rtos/filex/chapter5 about the I/O driver for FileX. The document may be helpful for you to implement a FileX I/O driver that accesses the internal flash of your MCU. Then you can read/write files on the internal flash using your driver and FileX. If your files are rewritten frequently, Azure RTOS https://github.com/azure-rtos/levelx can also be used in conjunction with FileX for wear leveling.