Hi!
I'd like to use 1K of the 2K flash memory for datalogging purposes. So I edited the flash entry in the linker file to another origin and length:
original entry:
FLASH : origin = 0xF800, length = 0x07E0
edited entry:
FLASH : origin = 0xFC00, length = 0x03E0
So only the last two segments are used fpr program memory, the interrupt vectors and the reset vector. The first two segments can be used for logging.
I can fill the first two segments with data in my code.
The question is: what is the best way to get the data out? The problem I have is, that all segments are erased every time I start the debug session.
Is there any way to read and save the memory without entering the debug session? Or is it possible the protect that area bevore the build gets downloaded?
Thank you for your help!
Andreas