Hi Robin,
When you want open file, you should say in which mode you want to open this file.
For example:
fopen("a:data.txt", "w+")
For more details, please check fopen description in MQX MSF User Guide.
Available modes are:"w", "w+", "r", "r+", "r", "a", "a+", "n", "n+".
If you use MQX older than version 4.2 (or KSDK1.2), please try avoid to use append mode ("a", "a+").
There is bug. More details: Re: MFS - file access error
I hope it helps you.
Have a great day,
RadekS
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------