2025-09-22 6:24 PM
Hi there,
I am using STM32G473CBT6, and work with a bootloader and application.
When I set the application address at 0x08008000, everything works well.
However, when I change the application address to 0x0800A000, the application download fails, except when I download the bootloader (configuring it as 'erase all chip') first.
I checked the reference manual, and the flash is separated into 2K/4K on each page.
That means both 0x08008000 and 0x0800A000 addresses are at the page edge.
Why can't the application at 0x0800A000 work smoothly?
Thanks for your help!
2025-09-22 6:31 PM
Should be workable.
You'll need to look more critically what's placed in memory. Dump content. Dump Vector Table. Check .MAP file. Check SCB->VTOR settings.