Skip to main content
Junde
Senior III
September 23, 2025
Question

Why STM32G473CBT6 program failed at 0x0800A000?

  • September 23, 2025
  • 2 replies
  • 259 views

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!

 

2 replies

Tesla DeLorean
Guru
September 23, 2025

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 VenmoUp vote any posts that you find helpful, it shows what's working..
waclawek.jan
Super User
September 23, 2025

> the application download fails

What is "application download"? How do you "download" application? How do you know it fails?

JW