AnsweredAssumed Answered

Why can't I open a file in MFS without searching for it first using ioctl(filesystem_handle, IO_IOCTL_FIND_FIRST_FILE,(void*)

Question asked by MARK WATSON on Dec 15, 2014
Latest reply on Dec 18, 2014 by alejandrolozano

Using MQX 4.1 on a Vybrid.  This seems simple, but I can't get the system to open a file unless I search through the directory using FIND_FIRST_FILE and then FIND_NEXT_FILE.  Then, I can use the name that it finds and use fopen in the usual way.  The SD card interface is proven in the design so I don't believe it is a hardware problem.

 

Thanks,

 

Mark

Outcomes