正常创建文件sl_FsOpen且创建的返回值正确,确保文件创建成功。
随后读取lRetVal = sl_FsRead(*lFileHandle, 0, gaucCmpBuf, 30); 这里的 offset为0,读取长度为30字节(创建文件的时候超过30字节)。
这时候返回值lRetVal 为 -15;是offset超过范围,这里的offset为0,怎么会超过范围。TI的工程师这个问题是什么原因?
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.