I am pretty new to this IDE and this CPU. I have both INTERNAL_RAM and INTERNAL_FLASH configurations listed under ProcessorExpert.pe. I have been building for RAM but I can't quite figure out how to switch to debugging the FLASH version.
You need to go in project -build configuration and set active --than you will have the listed option .
Yes.. I had done that. Apparently, a full, successful build must be done before it will work. Otherwise it keeps switching to the other config I have and it won't show up under the debug button until then.
I have never observed that it switchse to the other config. When I have a build error, CW tells me so.
I am using CW 10.2, btw.
I have a different problem whoch occurs only withe the K70 and not with the K60
After starting the debugger, the flash is not programmed, i.e. it reads all FF's which gives you a reset vector of 0xFFFFFFFF.
On the K60 there is no problem. I compile for the Internel Flash Target, click on "Debug as" --> "Codewarrior Download" and it runs smoothely.
Is there some kind of setting in the CW which I have missed?
Do I need to fiddle with the clocking of the device before I can use the internal flash?
Any help is very welcome!
Retrieving data ...