Skip to main content
OBAYR
Associate
May 15, 2019
Solved

STM32F407 no erase system memory 0x1FFF 0000 - 0x1FFF 77FF, How can i erase and than write it?

  • May 15, 2019
  • 6 replies
  • 2866 views

Hi,

I have a STM32F407 Discovery kit, I'm working on costum bootloader program. I writed my codes, make the necessary changes in the Flash.id file with CubeIDE.

I want to write bootloader section (0x1FFF 0000 address system memory) with STM32 ST-Link Utiliy but it is error. How can i write system memory my codes? Thanks..

This topic has been closed for replies.
Best answer by Tesla DeLorean

You don't get to update this memory, it is factory programmed.

6 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
May 15, 2019

You don't get to update this memory, it is factory programmed.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
OBAYR
OBAYRAuthor
Associate
May 15, 2019

So, how and where can I install my own bootloader software

Tesla DeLorean
Guru
May 15, 2019

You'd put it in the first sector(s) of FLASH starting at 0x08000000, and you'd put the app code deeper into FLASH say at 0x08004000, or 0x08010000 depending on how compact your loader was. Your loader would then validate and transfer control to the app code.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
OBAYR
OBAYRAuthor
Associate
May 15, 2019

Ok, i will try it.

Well what is the system memory? As I read from all the documents, it is used for the boot process.

Tesla DeLorean
Guru
May 15, 2019
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
OBAYR
OBAYRAuthor
Associate
May 15, 2019

Oh, OK. thank you very much. ;)