Solved
STM32F746BGTX bootloader jump to user application failing in HAL_Init
Hello,
I have a custom borad with a STM32F746BGTX and I use GFX Touch 4.20. I would like to have a bootloader and an application on the STM32F746BGTX.
I have different images in gfx Touch for the bootloader and the application.
The bootloader is stored in flash memory: 0x0800 0000 - 0x0803 FFFF
The application is saved in flash memory: 0x0804 0000 - 0x080F FFFF
I use an external Quad SPI Flash Memory (W25Q128FVSQ). I divided the RAM into 2 areas again.
The bootloader gets 3MBytes (from 0x90000000 to 0x902EE000)
The application gets 13MByte (from 0x902EE000 to 0x90FFFFFF).
I want to jump from the bootloader into the application.
The process: 1. Jump from Boorloader into the application. A value is written into RAM.
2. The function is called: NVIC_SystemReset()
3. In Main() I check whether a value is stored in RAM. If there is a value in the RAM, I jump into my application
This process works perfectly and the application is also started. An error then occurs in HAL_Init().
In debug mode the uC runs up to a certain point (until Breakpoint - picture below). Then the uC disappears somewhere. But no HardDefault Handler is called, otherwise there is an error.
Can someone help me solve the problem?
