swd programming tool for all kinetis based controllers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

swd programming tool for all kinetis based controllers

825 Views
Mariya
Contributor I

I want to know whether any programming tool exist for all kinetis based controllers. if yes, then how to use it for programming? how to implement it as a project, just to program all the kinetis based controllers without the intervention of pc?

0 Kudos
Reply
4 Replies

799 Views
mark2
Contributor III

Hi Mariya,

My colleague Witek wrote application note AN4406 

https://www.nxp.com/docs/en/application-note/AN4406.pdf.

This is a programmer that runs on Kinetis K40, and programs any other Kinetis device using the EzPort interface. The code was developed on the old KwikStik development board but would be portable to any Kinetis device.

There was some activity in May 2025 on the project:

https://community.nxp.com/t5/Kinetis-Microcontrollers/Where-can-I-find-the-source-files-for-CodeWarr...

You asked about SWD programmers. I have written a SWD programmer - based on Kinetis KL82Z custom board and with code written in MCUXpresso IDE. I have tested it with KL82Z, LPC55S69, Nordic nrf52840 and an STM32 (forget which one). It was written from "first principles" using the ARM technical documentation for the SWD interface and details about Kinetis MDM-AP available in the public domain. I also used the (Keil MDK) projects for CMSIS-DAP as a reference. All this was written commercially for a client and I am not able to share the source code with you. But I want to reassure you that it is possible for you to write a SWD programmer. 

But maybe easiest to stick with EzPort if your Kinetis devices support it.

 

Good luck!

0 Kudos
Reply

810 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi @Mariya 

If you need a stand-alone programmer, we recommend P&E Cyclone Programmers. It can program all Kinetis with or without a PC.

https://www.nxp.com/design/design-center/development-boards-and-designs/CYCLONE

Hope this helps,

Jun Zhang

0 Kudos
Reply

806 Views
Mariya
Contributor I
yes,we know about it.we need to know about swd protocol to program the controller of kinetis series
0 Kudos
Reply

716 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi @Mariya 

If you want to control SWD interface through P&E debug probe ,  you can consider UNIT lib.

https://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320183&productTab=5055

The  UNIT software package consists of an interface DLL and sample code which allows a custom application to be built which can interact with and debug a target device via one of PEmicro's hardware interfaces. 

Hope this helps,

Jun Zhang

0 Kudos
Reply