Hello,
I have a question about program flash. I'm using K60 with 1024KB of flash memory.
I want to use a little part of this to store some data.
No problem to write and read the flash, my problem is that when I reload my program with debug (or run) command, in internal flash configuration I find the entire flash memory erased.
I try to reserve a portion of flash (in build options) creating a new area from 0xF8000 (the last sector) but it's the same.
How can I do to avoid that my data is overwritten? Is it possible?
Thank you
Solved! Go to Solution.
Hello,
Yes, it is possible.
Are you using P&E Multilink/CodeWarrior?
If so, then this might help:
http://mcuoneclipse.com/2012/04/27/programming-part-of-flash/
Depending on the amount of Flash you want to preserve, using an Eclipse target task might be a faster solution.
Hope this helps,
Erich
Hello,
Yes, it is possible.
Are you using P&E Multilink/CodeWarrior?
If so, then this might help:
http://mcuoneclipse.com/2012/04/27/programming-part-of-flash/
Depending on the amount of Flash you want to preserve, using an Eclipse target task might be a faster solution.
Hope this helps,
Erich
Thank you!
I was not able to find that damned option! :smileyhappy: