This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

J721EXCPXEVM: 使用fopen函数打开文件读取数据和文件实际数据不一致

Part Number: J721EXCPXEVM

在使用rtos sdk中的vision app中添加fopen二进制的代码,具体代码如下:

但是经过实际验证,无论/testdata存在或不存在,fopen都会返回打开成功的标志。且通过fread读出的数据如下与实际数据不符

实际数据通过hexdump可以看到

请帮忙看看出现这种异常的原因是什么?