Rande
Check the debug configuration to see whether it is loading and executing from SRAM. If this is the case it will probably be faster than when located in Flash since the Flash is slower (although compensated to some degree by caching and speculation operation).
If you are having problems with the K20 check out the uTasker project - µTasker Kinetis support
It gives a complete K20 project out of the box so doesn't require piecing things together and allows you to simulate the Kinetis and the board to make development much faster and simpler. It works with all standard tool chains including CW10.x, KDS, GCC, CooCox, Rowley, IAR and Keil. If you know the Coldfires, it also allows Coldfire and Kinetis projects (any KL or K part or Coldfire V2 part) to be interchanged between the families.
Below is a screen shot of the simulator running the TWR K20N72M board - with UARTs (connected to PC COM ports for real-time operation) as well as USB, SD card (via SPI) etc.
Complete code can be downloaded from KINETIS Project Code Attached is also a simulation executable that can be started by double clicking uTaskerV1-4_K20_TWR.exe (no installation needed) - it connects to COM 9 and attaching a serial loop back device allows controlling its command line menu, which enables working with the SD card, checking the accelerometer operation, controlling LEDs on the board and various such things.
Regards
Mark
