Executing code at AXI SRAM in STM32H750 (custom bootloader)
Hello everyone!
I am developing a custom bootloader for STM32H750XBH and run into problem:
- some applications successfully start and run in AXI SRAM (0x2400 0000);
- some applications starting but breaks somewhere.
Note: both kind of applications very similar, they have the same peripheral initialization code and parameters, they are built with exact the same linker script (see STM32H750XBHx_FLASH.txt); and they differs only in high-level side (application logic, user messages).
My bootloader can act in two ways:
- copying an application from external flash (using QSPI interface) to AXI SRAM and then jumping into it (like in the ExtMem_Boot example);
- or getting an application through x-modem, using USART1, and putting it into AXI SRAM.
In both ways I checked the CRC32 of firmware and it is correct.
I use FreeRTOS for both the bootloader and the application, if it matters.
What could be wrong? Why some apps work fine, some doesn't?
Thanks, Artem.
