1, install J-link Drive.
With the J-link driver in the KDS installation directory, enter the following directory (in my case):
C:\Freescale\KDS_1.1.1\segger\USBDriver
will see the CDC, x64, x86 three folders, according to their own system to choose the corresponding program, only two steps (in my case):
1> Enter the CDC folder, run Dpinst_x86.exe, and wait for the installation to complete.
2> into the x86 folder, run DPInst.exe, and wait for the installation to complete.
2, set up the project and compile the project correctly.
3, use J-link download program.
1> Click the yellow Flash download button in the toolbar:
2> in the pop-up window, double-click GDB SEGGER j-link Debugging and a download configuration will appear below it.
3> Click the download configuration that appears in step 2, select the "Debugger" tab in the right window, tick "Start the J-link GDB server locally", and in the "Device name" item, according to the name of your own CPU input , such as my CPU is Mk60dz512zlq10, then enter k60dn512z.
4> Click the "Main" tab in the right window in step 3 and click the "Flash" button under the tab to start the download.
Note: For additional instructions on "Device name" in step 3:
For a more convenient view of the supported "Device name", you can click "GDB pemicro Interface Debugging" in the window that pops up in step 2, and a download configuration will appear underneath it. Then click on the download configuration, select the "Debugger" tab in the right window, and you will see a "Device name" item, and the difference is that it is shown directly to the user in the form of a drop-down combo box. We find the "Device name" corresponding to our CPU from the drop-down combo box, which is recorded and written to the "Deivce name" item in step 3.
Using J-link downloader under Kinetis Design Studio