2021-05-05 08:46 AM
Hi everyone!
I'm using a nucleo H755 board
I'm basically trying to debug my code from RAM. I already set the linker to use the autogenerated ld file (STM32H755ZITX_RAM.ld). When I try to debug, the application initializes, however It does not go beyond HAL_Init().
Has anyone else had this problem before?
Solved! Go to Solution.
2021-05-05 08:52 AM
>>Has anyone else had this problem before?
People just tend to use debuggers, and have Error_Handler() and HardFault_Handler() output actionable data.
At a guess you aren't setting SCB->VTOR correctly in SystemInit() or wherever, to reflect where you've loaded to code.
2021-05-05 08:52 AM
>>Has anyone else had this problem before?
People just tend to use debuggers, and have Error_Handler() and HardFault_Handler() output actionable data.
At a guess you aren't setting SCB->VTOR correctly in SystemInit() or wherever, to reflect where you've loaded to code.
2021-05-05 09:34 AM
Man. Thanks a lot. You were right.
I had just to define VECT_TAB_SRAM and it worked fine!