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-M0, Cortex-M0+, 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. Freescale CodeWarrior comes with a sample project generator.
Using a CodeWarrior project with J-Link
In the following, a short step-by-step tutorial how to configure a Freescale CodeWarrior project to get up and running with J-Link is given.
- Open the project to configure
- Select Run| Debug Configurations | ... from the menu
- Select the proper debug configuration
- Switch to the Main tab and click on the Edit... button
- Select proper target interface (SWD, JTAG, ...) and interface speed (fixed 4000 kHz is suitable for most targets and leads to good performance)
- Make sure that the proper device is selected
Ready for debugging
Now the project is ready to be debugged with J-Link / J-Trace.