Skip to main content
YGU.1
Associate II
January 12, 2021
Question

avoid flash erasing when debugging

  • January 12, 2021
  • 2 replies
  • 894 views

Hello,

My simple application should read some configuration which I put by CubeProgrammer from 0x0800C800, I want to debug the application but seems the debugger erases the flash at all. Could you tell me please how to prevent full internal flash erasing when debugging?

Thanks

P.S.

MEMORY

{

 DTCMRAM  (xrw)   : ORIGIN = 0x20000000,  LENGTH = 128K

 ITCMRAM  (xrw)   : ORIGIN = 0x00000000,  LENGTH = 64K

 RAM_D1  (xrw)   : ORIGIN = 0x24000000,  LENGTH = 512K

 RAM_D2   (xrw)  : ORIGIN = 0x30000000,  LENGTH = 288K

 RAM_D3   (xrw)  : ORIGIN = 0x38000000,  LENGTH = 64K

 FLASH   (rx)   : ORIGIN = 0x08000000,  LENGTH = 25K

 DATA    (rx)   : ORIGIN = 0x0800C800,  LENGTH = 25K

}

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
January 12, 2021

Aren't the erase blocks fairly large?​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
YGU.1
YGU.1Author
Associate II
January 12, 2021

Maybe, but how I can configure this?