Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问FlashDB是如何验证在最底层操作Flash时,各项操作的有效性的? #320

Open
littlewhitezkz opened this issue Oct 25, 2024 · 3 comments

Comments

@littlewhitezkz
Copy link

No description provided.

@littlewhitezkz
Copy link
Author

例如错误码,SFUD_ERR_READ,似乎没有函数调用了这个错误码。就功能上而言,它和!SFUD_SUCCESS是等价的,因为没有一条非常具体的报错信息是和SFUD_ERR_READ强绑定的。

@armink
Copy link
Owner

armink commented Oct 28, 2024

存储的数据有 CRC 校验

@littlewhitezkz
Copy link
Author

存储的数据有 CRC 校验

感谢朱工的解答,还想问一下在API中spi读写操作要返回result作为操作是否完成的标识,这个result有什么用处呢?我总觉得这种说法很奇怪,因为正如您所说(CRC校验为例),一般的校验都是在input以后应用层进行的校验。可是错误码就好像在input之后立马得到了某个response,然后直接根据这个response校验

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants