Hi,
I'm trying to program only part of the Flash memory for my micro K60FN1M0 on the TWR-K60F120M board via OSJTAG. Before, I was using CW10.6 and I could easily do that from this page:
But in KDS, I didn't find a similar page,
I also find this option both in CW and KDS.
Many thanks
Kenan
Solved! Go to Solution.
Hi Kenan,
I did some research, and have found today a way how you can preserve memory ranges with the P&E GDB server:
http://mcuoneclipse.com/2014/07/13/preserving-memory-ranges-with-eclipse-and-pe-gdb-server/
Erich
Hi Kenan,
I did some research, and have found today a way how you can preserve memory ranges with the P&E GDB server:
http://mcuoneclipse.com/2014/07/13/preserving-memory-ranges-with-eclipse-and-pe-gdb-server/
Erich
Hi Erich,
Thank you. I've already seen your post and it's awesome!
I agree with you. The configuration of memory protection is not that easy in KDS as in CW10. I'll try later to do the same job as you, but I'm still very hopeful to see a GUI version:smileyhappy:
regards,
Kenan
To answer the second question:
'set program counter at (hex)' does exactly what it says: after downloading it sets the program counter (PC register) at the provided hexadecimal value.
So if you want that after downloading your program starts from address 0x564, then enter 564 here.
But there are a few things to consider which depend on the debug connection (and GDB/debugger) implementation:
If you want to see the effect, disable the other options (see below). Mainly because for example the Pre-run and reset and halt will overwrite your pre-configured program counter. If you download your program like this, you should see that the program counter (PC) is set to that value (check the registers view).
However, be careful with this: you need to ensure that all the other things are configured properly (e.g. FP/Stack pointer, etc).