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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

698件の閲覧回数
markwatson
Contributor III

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

ラベル(1)
1 返信

510件の閲覧回数
alejandrolozan1
NXP Employee
NXP Employee

Hi Mark,

Can you share the code to reproduce the problem?

Best Regards,

Alejandro

0 件の賞賛
返信