MKL46Z programming question.

cancel
Showing results for 
Search instead for 
Did you mean: 

MKL46Z programming question.

510 Views
owlsnest
Contributor II


I'm looking to layout my own PCB and program an mkl46z256vll4 on it. I've been working with the FRDM development board for the micro and I have my code written in KDS 3.0. I've been using the openOCD to debug/flash the micro. Now I'm looking to layout a basic breakout board with just the micro, a crystal, decoupling caps, and a couple LEDs that I could flash to confirm that I can properly program the micro. After reading the OpenSDA User's Guide linked to from the kl46z page it looks like I would need an OpenSDA MCU to act as an arbitrator between my PC and the kl46z's SWD. I was hoping to program the kl46z directly.

Do I need to purchase a separate programmer to do this?

Any advice you could give or additional explanation would be appreciated.

Tags (3)
2 Replies

227 Views
santiago_gonzal
NXP Employee
NXP Employee

Have a look here if you don't want to buy an external programmer:

Using the Freedom Board as SWD Programmer | MCU on Eclipse

Using the FRDM-KL25Z with CMSIS-DAP to program non-Freescale ARM Microcontrollers | MCU on Eclipse

You will need to connect the SWD pins + VCC + GND from your MCU to the FRDM/programmer.

Regards,

Santiago

227 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Todd,

In case you want to buy an external programmer here are some options:

P&E U-Multilink: Universal Multilink Development Interface|NXP

U-Multilink FX: Universal Multilink FX High-Speed Development|NXP

Segger J-link: SEGGER - The Embedded Experts

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer