cancel
Showing results for 
Search instead for 
Did you mean: 

Why STM32G473CBT6 program failed at 0x0800A000?

Junde
Senior III

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.

Junde_0-1758590452323.png

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!

 

1 REPLY 1

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..