We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
错误情况: STM32H755 移植的时候,由于这个芯片最小的写入大小是256bit。 如果强行修改EF_WRITE_GRAN 为256。并不能正常使用。
原因:sector_hdr_data 这个结构体并没有做到256bit的字节对齐。会造成写过的flash的写入错误。
解决方法: 在sector_hdr_data 中添加额外的uint32_t reserved 用于字节对齐。
Issues: When porting the STM32H755, the chip's minimum write size is 256 bits. If EF_WRITE_GRAN is changed to 256, it does not work properly.
Reason: The structure sector_hdr_data is not 256bit byte-aligned. This may cause a write error on the written flash.
Solution: Add some extra uint32_t reserved variables into sector_hdr_data for byte alignment.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
错误情况:
STM32H755 移植的时候,由于这个芯片最小的写入大小是256bit。
如果强行修改EF_WRITE_GRAN 为256。并不能正常使用。
原因:sector_hdr_data 这个结构体并没有做到256bit的字节对齐。会造成写过的flash的写入错误。
解决方法: 在sector_hdr_data 中添加额外的uint32_t reserved 用于字节对齐。
Issues:
When porting the STM32H755, the chip's minimum write size is 256 bits. If EF_WRITE_GRAN is changed to 256, it does not work properly.
Reason:
The structure sector_hdr_data is not 256bit byte-aligned. This may cause a write error on the written flash.
Solution:
Add some extra uint32_t reserved variables into sector_hdr_data for byte alignment.
The text was updated successfully, but these errors were encountered: