[STM32F3] stm32cubeide警告:calculation has at least one hole

[复制链接]
SocialButterfly 发表于 2025-8-23 13:20 | 显示全部楼层 |阅读模式
我写一个引导程序,需要计算校验和。
通过 stm32cubeide 的 Srecord 工具获取 CRC。
Srecord 按照以下脚本运行:
# srec_cat command file: srec_crc_dump_to_file.txt
#===============================================
#-disable-sequence-warning
#Input file
PLK.hex -Intel
#Fill hole with 0xFF
-fill 0xFF 0x8000000 0x08040000
#CRC Algorithm at given address
-STM32 0x08040000
#-crop 0x08040000 0x08040004
-Output_Block_Size=16
#Produce output
-o PLK_SRECORD.hex -Intel
导致问题,
srec_cat: PLK.hex: 47492: warning: The data presented for STM32 calculation has  at least one hole in it.



您需要登录后才可以回帖 登录 | 注册

本版积分规则

42

主题

42

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部