2024-12-02 11:28 PM - edited 2024-12-03 10:03 PM
Hello All,
I am new to STM32 controllers and am working on flashing my application binary using Xmodem (bootloader) on the STM32U5A5VJ controller. The controller has secure and non-secure memory regions:
Secure region: 0x0C000000 to 0x0C3FFFFF
Non-secure region: 0x08000000 to 0x083FFFFF
In the secure region:
We have flashed the bootloader at 0x0C000000.
We have flashed the application at 0x0C008000. However, when the jump to the application is invoked, a hard fault occurs.
In the non-secure region:
We have flashed the bootloader at 0x08000000.
We have flashed the application at 0x08008000. However, we are unable to debug the code to determine the cause of the issue.
Could you please suggest a solution? @STea
2024-12-07 12:37 AM
Primary read AN2606.
Secondary use custom bootloaders and app require manage changes in app build configs and vector table management. Have you in app changed system c file vect offset ?