[STM32L5] GPIO_IOToggle_TrustZone 出现Error: Data mismatch found at address 0x0C000000 (byte = 0xFF instead of 0x00)

[复制链接]
342|1
 楼主| HomeKit 发表于 2025-7-5 11:01 | 显示全部楼层 |阅读模式
本帖最后由 HomeKit 于 2025-7-28 22:00 编辑


在STM32CubeIDE中运行GPIO\GPIO_IOToggle_TrustZone示例,出错了。
代码路径:
STM32Nucleo\STM32Cube_FW_L5_V1.4.0\Projects\NUCLEO-L552ZE-Q\Examples\GPIO\GPIO_IOToggle_TrustZone
按照readme的步骤操作,没有修改任何代码或配置。编译完成后,选择xxxxx_S项目并进入"Debug"模式,选择启动配置,添加NS项目。
下载时失败:
Error: Data mismatch found at address 0x0C000000 (byte = 0xFF instead of 0x00)
其他不涉及TZ(TrustZone)的示例可以正常运行。是否需要其他配置?还是操作有误?
控制台输出:
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 4]
Erasing memory corresponding to segment 1:
Erasing internal memory sector 124
Download in Progress:​
File download complete
Time elapsed during download operation: 00:00:00.328​
Verifying ...​
Error: Data mismatch found at address 0x0C000000 (byte = 0xFF instead of 0x00)​
Error: Download verification failed
打开D:\software\ST\STM32CubeIDE_1.6.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_1.6.0.202101291314\tools\bin\STM32_Programmer_CLI.exe时出错
STM32CubeProgrammer中出现错误

LOVEEVER 发表于 2025-7-29 23:53 | 显示全部楼层
STM32CubeProgrammer中出现错误还是很多的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

56

主题

56

帖子

0

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