KL25Z In-System Programming. What options exist?

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

KL25Z In-System Programming. What options exist?

Jump to solution
539 Views
danreltek
Contributor III

Hello All,

My KL25Z 128 VLK4 project is reaching the point where I want to have some prototypes made. Before I can finalise my schematic I need to know what I need to do to download my program to the device after it has been made.

Please let me know what software, hardware, and documentation I should be looking at?

Thanks

Dan

Labels (1)
0 Kudos
1 Solution
420 Views
mjbcswitzerland
Specialist V

Hi Dan

The only way to program the KL25 is via SWD. Just copy the header connector circuit from the FRDM-KL25Z board:

pastedImage_1.png

You can get a P&E or Segger programmer (these are typically used or some other low cost ones that can do SWD mode). The P&E and Segger JLink will work with the NXP tools (like KDS) which can be used for programming too. The programmers are often also delivered with dedicated programming SW which may be more productive too.

If you are a zero budget company or hobbyist with free time you can also use an existing freedom board to connect to your board and use its OpenSDA debugger to program. See Eric's blog for this:
https://mcuoneclipse.com/2013/04/21/using-the-freedom-board-as-jtag-programmer/

Regards

Mark

View solution in original post

2 Replies
421 Views
mjbcswitzerland
Specialist V

Hi Dan

The only way to program the KL25 is via SWD. Just copy the header connector circuit from the FRDM-KL25Z board:

pastedImage_1.png

You can get a P&E or Segger programmer (these are typically used or some other low cost ones that can do SWD mode). The P&E and Segger JLink will work with the NXP tools (like KDS) which can be used for programming too. The programmers are often also delivered with dedicated programming SW which may be more productive too.

If you are a zero budget company or hobbyist with free time you can also use an existing freedom board to connect to your board and use its OpenSDA debugger to program. See Eric's blog for this:
https://mcuoneclipse.com/2013/04/21/using-the-freedom-board-as-jtag-programmer/

Regards

Mark

420 Views
danreltek
Contributor III

Thanks Mark,

This is exactly the information I was seeking.

Much appreciated

Dan

0 Kudos