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

Error: The KV (@0x0027833F) CRC32 check failed! #237

Open
cell-mingguo opened this issue Sep 7, 2023 · 4 comments
Open

Error: The KV (@0x0027833F) CRC32 check failed! #237

cell-mingguo opened this issue Sep 7, 2023 · 4 comments

Comments

@cell-mingguo
Copy link

cell-mingguo commented Sep 7, 2023

朱老师,您好,我这边使用KVDB过程中有出现CRC校验出错的情况,是哪里出问题了呀;我这边使用的是最新提交2.0的库

@armink
Copy link
Owner

armink commented Sep 7, 2023

驱动的问题概率比较高,还有种可能就是写入到一半发生了掉电

@cell-mingguo
Copy link
Author

好的 非常感谢朱老师,这次应用是基于国产平台HC32F4A0开发的 驱动是自己调的,可能有点问题,我查一下

@cell-mingguo
Copy link
Author

cell-mingguo commented Sep 11, 2023

朱老师 再请教您一个问题:
flash->retry.delay = retry_delay_100us;
/* adout 60 seconds timeout */
flash->retry.times = 60 * 10000;
这两个结构体变量具体是什么物理意义呀,在设置其时长的时候需要考虑哪些因素呀,目前就是第一次初始化Flash特别慢,想优化一下首次开机速度呢,与这两个变量有关系吗?或者朱老师您这边有啥好的设计思路吗 麻烦您了,朱老师

@MrZhouRiDang
Copy link

有可能是这个宏设置的不对。#define FDB_WRITE_GRAN 1

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

3 participants