Unfortunately I don’t have experience with such device.
I am not sure whether I understood correctly. Could you please clarify whether….
You mean, that you successfully used MFS on top of this device and you want read device directly because FAT table was accidentally damaged and you want save some data from flash?
Or you mean that there is some issue in MFS or device and you cannot implement MFS on top of this flash device? Could you please give us more details in this case?
I first case, shouldn’t be more simply connect device to PC and use dedicated tools?
Anyway seek/read/write functions are standard POSIX functions you can use it instead of installing MFS.
Please look at directory:
c:\Freescale\Freescale_MQX_4_1\mqx\source\fio\..
Erase function you have to implement your way.
Have a great day,
RadekS
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------