本帖最后由 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中出现错误
|
|