2022-01-11 12:04 PM
I have STM3H753XI Eval board. I am working with example project available \en.stm32cubeh7_v1-9-0_v1.9.0\STM32Cube_FW_H7_V1.9.0\Projects\STM32H743I-EVAL\Examples\UART\UART_HyperTerminal_IT
Tool chain is IAR EWARM 8.22
Project is compiled successfully and hex file is generated. Downloaded the hex file and LED's are not turned ON.
While debugging found, that sys timer frequency configuration is wrong. the global variable "uwTickFreq" is set to 'y'(0xFF)
Did any one observed the same behavior?
2022-01-11 03:50 PM
When you debug and step through the program, where exactly does it get stuck or encounter errors?
Are you sure the system has loaded that variable? Should be done in a startup code.
It's assigned right here:
Nothing else in the project reassigns it.
https://github.com/STMicroelectronics/STM32CubeH7/search?q=uwTickFreq
2022-01-16 06:46 PM
@TDK, I agree. The variable is initialized once and not updated anywhere else. Its really strange why it is failed. May be IAR EWARM project files was corrupted?
I have downloaded fresh copy from GitHub and everything is OK now. Should I have to use with specific version of IAR EWARM?
2022-01-17 12:23 PM
@TDK The issue is data corruption during download.
HW: STM32H753XI-EVAL2
Toolchain: IAR EWARM 8.22
Debugger: IAR I-jet
Debug Log:
Mon Jan 17, 2022 11:52:28: Verification error at 0x08004E40: mem = 0xFF, file = 0x00
Mon Jan 17, 2022 11:52:28: Download completed but verification failed.
Project.map:
Initializer bytes const 0x08004d8c 0xc5 <for P2-1>
- 0x08004e51 0x4bb9
clearly the variables are corrupted.
By the way, any idea why the verification is failing?
Actually the project is built for H743 EVAL board. I am using H753XI EVAL2 board. I tried setting the device as H753Xi in IAR project options. Still its failing. I don't difference in core between H743Xi and H753Xi.
2022-01-17 01:03 PM
@TDK STM32CubeH7 MCU Firmware Package
Demo EWARM projects are using
My environment is usingFlash
I don't have files used in Demo projects. My EWARM8.0 installation directory doesn't have .ddf and .board file used in Demo project. Could someone share the files?