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

fopen cannot write memroy card

I use lpc4357, and config file system & usb0 following the demo code of MCB4300.
The usb seems work, for I can read/write file via the usb interface.
When I create file failed by calling

fopen("TEXT.txt","w")

, it failed;
but, calling

fopen("TEXT.txt","rb")

seems ok (the return file handler not null if the file exist).
I just wander, what went wrong? Any idea is welcome!

Parents Reply Children