Hello Erich
what you write is true, but you need to know something else about my test conditions.
I'm debugging my firmware application in RAM but the flash memory of my MCU has been already programmed with a code quite similar to the actual one I'm testing in RAM.
This means that there is a valid code in Flash so that I expected that, after pressing the reset icon, the MPU fetch the reset vector address (0x0000_0004) in the PC and then start the execution from that address code. The same behaviour I see when I give power to the MPU without using the CodeWarrior IDE: the program in flash memory is executed and the MPU works as expected.
So, why I get the error message instead of starting the code inside the flash memory?
A second little question: I'm debugging my code in RAM because I thought it was faster to download the code into RAM than erasing/writing the Flash memory (as I alsway did with previous microntroller I used in the past like HC12) and also taking in count that flash memory has a limited number of erase cycles: do you think that nowaday, using Kinetis microcontroller, these concepts are no more valid?
Many thanks for your fast help and for your competence.
Regards
Mauro Righetto
.