Hi,
I just installed MFS on an SD card following an example in the SDK. I am now experimenting with my new FS. I can mkdir, cd, dir, etc... However, I can not seem to create a new file.
I type 'create test.txt' and the shell just hangs. Am I doing something wrong? Or is there something I should check? Do I need to enable 'user mode' somehow?
When I debug, it seems to hang in the lwsem.c code. I am using a TWRK65F180M.
Thanks for any tips.
Solved! Go to Solution.
Hello Erick!
It is rare that you could download the project without compiling MQX, SHELL and MFS libraries that are requiered for that example. But anyway, here are the steps to run this example:
I hope this can help you. If there is other doubt please do not hesitate on contact me.
Best Regards,
Isaac
----------------------------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
----------------------------------------------------------------------------------------------------------------------------------------
Hello Eric,
are using MFS or FATFS? Also, I have tested sdcard_twrk65f180m example located at: <KSDK_1_3_PATH>\middleware\filesystem\mfs\examples\sdcard and it worked well, this example uses MFS. Are you adding some modifications on this example?
Have a nice day!
Best Regards,
Isaac
Thank you for your response. After further investigation, I suspect that my problem is related to not having built the MFS library. Can you provide a little bit of information on how I can build the MFS.a library?
Thanks for your help.
Hello Erick!
It is rare that you could download the project without compiling MQX, SHELL and MFS libraries that are requiered for that example. But anyway, here are the steps to run this example:
I hope this can help you. If there is other doubt please do not hesitate on contact me.
Best Regards,
Isaac
----------------------------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
----------------------------------------------------------------------------------------------------------------------------------------