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
  • Thanks for your reply, Sankalp Agarwal!

    Yes, I have. But, I like collecting info from forum before turning to the tech support.
    I always think that there're lots of people who know a lot & are pleased to help others. Sometimes, the problem comes out when I missing something important. So, anyone's thought is helpful at some point. And I can learn a lot from them.

Reply
  • Thanks for your reply, Sankalp Agarwal!

    Yes, I have. But, I like collecting info from forum before turning to the tech support.
    I always think that there're lots of people who know a lot & are pleased to help others. Sometimes, the problem comes out when I missing something important. So, anyone's thought is helpful at some point. And I can learn a lot from them.

Children
No data