Skip to content

A Teensy/Arduino-based programmer firmware for NXP LPC chips using NXP's ISP

Notifications You must be signed in to change notification settings

nemik/NXP-LPC-programmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

I was using the mbed team's excellent http://mbed.org/users/chris/notebook/prototype-to-hardware/ tutorial on programming NXP chips in a custom board (also using NXP LPC1768) but my mbed stopped working. I needed to do this quick and decided to port the mbed ISP programmer code to an AVR-based Teensy (http://www.pjrc.com/teensy/) that I had laying around. I'm using the http://sourceforge.net/projects/lpc21isp/ ISP programming software on Linux.

Before that, I tried doing the same thing on an Arduino UNO using its SoftSerial and NewSoftSerial libraries, none of which worked and only produced errors, as did the same code on the Teensy. What saved the day was using Teensy's hardware UART which worked beautifully at the 19200 baud I tried.

The Teensy is also cheaper than a dedicated mbed for ISP programming. I want to later combine this code with the serial pass-through one to use a button or something to switch between ISP programmer mode (which causes resets and pulling ISP pin) and serial-passthrough for debugging the LPC on the custom board.

I hope someone else finds this useful if they're ever in a similar pinch.

About

A Teensy/Arduino-based programmer firmware for NXP LPC chips using NXP's ISP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%