I'm using a FRDM-K64F board, and I'd like to store some non-volatile data into the upper flash block. How do I configure the KDS debugger so that when I load my code, it doesn't erase the entire flash? I'm using the Multilink Universal FX and JTAG.
Hello Paul:
Maybe this tutorial is what you are looking for, explained by colleague Erich Styger:
Preserving Memory Ranges with Eclipse and P&E GDB Server | MCU on Eclipse
Regards!,
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
That works--thanks.
It is, however, kind of an ugly hack to modify a readonly file deep in the KDS system, though. It would be really nice if the developers added a way to do this on a per-project basis, as was apparently the case in the old CW.
Hi Paul,
yes, I agree this is only a hack and a workaround. I already have asked P&E if they could add that to their gdb solutions. As a customer of their Fx probes, for sure you can ask them too, so P&E knows that there is a need for this functionality.
Thanks,
Erich