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*)

1,016 次查看
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 回复

828 次查看
alejandrolozan1
NXP Employee
NXP Employee

Hi Mark,

Can you share the code to reproduce the problem?

Best Regards,

Alejandro

0 项奖励
回复