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

添加硬件CRC的Port #160

Open
kaidegit opened this issue Sep 15, 2023 · 0 comments
Open

添加硬件CRC的Port #160

kaidegit opened this issue Sep 15, 2023 · 0 comments

Comments

@kaidegit
Copy link
Contributor

当前的软件CRC查表实现略大,表大约要1k的flash,对于某些flash紧张的单片机可以优化点。

但是软件算法的多项式似乎是0xEDB88320,硬件CRC的很多都是0x4C11DB7,比如ch32v20x、stm32f410之类的。

不过似乎应该只要写入时和读取校验时的CRC计算方式一样就行吧,这样对于不同单片机的硬件不同算法关系也不大?

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

1 participant