cancel
Showing results for 
Search instead for 
Did you mean: 

avoid flash erasing when debugging

YGU.1
Associate II

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

}

2 REPLIES 2

Aren't the erase blocks fairly large?​

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

Maybe, but how I can configure this?