Freescale CodeWarrior

Freescale CodeWarrior Development Studio for Microcontrollers (in the following referenced as CodeWarrior) is an Eclipse based IDE from Freescale which amongst others supports the Freescale Kinetis MCU (Cortex-M4) family. J-Link is natively supported since CodeWarrior V10.1 and does not require additional software components like the J-Link GDBServer. For more information about CodeWarrior and the installation process, please refer to www.freescale.com.

In the following, a short step-by-step tutorial how to get up and running with CodeWarrior and J-Link in general is given. For this tutorial, the sample project generator that is integrated into CodeWarrior was used.

 Used components
IDE CodeWarrior for MCUs V10.1
Emulator J-Link
J-Link SW Version V4.40c
Evalboard TWR-K70F120M (MK70FN1M0)
  • Select File | New | Project ... from the main menu
  • Select Bareboard Project
  • Click Next
  • Enter a project name
  • Click Next
  • Select the device for which the project shall be created
  • Click Next
  • Select Segger J-Link / J-Trace / SWO (SWD based) in order to use J-Link as emulator
  • Click Next
  • Click Next
  • Click Next
  • Click Finish
  • Click the Build button
  • Select Run| Debug Configurations | ... from the menu
  • Select the debug configuration which should be used in the debug session
  • Click the Debug button

Now you are ready to go

Now you can start debugging and use J-Link with Freescale's CodeWarrior Developement Studio IDE.