Jorge
This is a general issue - I did find that with the KDS Beta version I could debug in SRAM but I had to manipulate the PC value since it was setting it from the Flash content (rather than the entry point) - then I could let the code run and perform usual debug operations.
In the lastest KDS I can't get the code to run in SRAM even after manipulating the PC accordingly - I can't work out why because I have to abort the debugger when I try since it doesn't respond any more.
The K64 target is easy to use since it has such a large SRAM so the FRDM-K64F is best to test with.
I build the uTasker project from here KINETIS Project Code It is very easy to test:
1 - import the project into KDS (read the readme.txt to set the KDS project files rather than the CW10.x project files since both KDS or CW10.x can be used)
2 - select KINETIS_K64 and FRDM_K64F as target in the project configuration file \Applications\uTaskerV1.4\config.h
3 - Select the target "uTaskerV1.4_RAM"
4 - ensure that the compiler is set for m4 (and not m0+)
5 - set the linker script to K_256_RAM.ld if not already set
6 - build the project
7 - load and debug (and see the behaviour)
In case of difficulties with the step-by-step above see the video here: uTasker for Kinetis using CodeWarrior - YouTube - the details are the same for KDS.
The same can be done for most Freedom and Tower processor boards that have enough SRAM by adjusting the 4 settings accordingly. In config.h various features can be enabled or disabled as required (USB, Ethernet, FAT etc.)
Setting the uTaskerV1.4_FLASH target (needs the K_1M_256.ld to be set instead if not already there) allows debugging in Flash, which works as expected.
Regards
Mark