Programming a LPC1114FN28 DIP chip using open-source tools

This link explains the steps needed to get a DIP Cortex-M0 chip working using only open-source tools:

http://www.meatandnetworking.com/tutorials/lpc1114fn28-with-open-source-tools/

I tried it, but was facing an issue to detect the device:

$ sudo lpc21isp/lpc21isp lpc1114-blink/out/lpc1114_blink_led.hex /dev/ttyUSB0 115200 12000
lpc21isp version 1.83
LoadFile
File lpc1114-blink/out/lpc1114_blink_led.hex:
	loaded...
Start Address = 0x000000C1
	converted to binary format...
	image size : 484
Image size : 484
Serial port open
Synchronizing (ESC to abort).................................................................................................... no answer on '?'

I double checked the resistor between ground and PIO0_1 and it was fine, but no luck!
Then I decide to press RESET while the lpc21isp was trying to detect the chip and… Great it was detected correctly and flashed the blink LED program.

This LPC1114 chip is very basic, no DMA, no PWM, no RTC, no DAC, etc, but it is low cost and easy to use.

Another review about LPC1114: http://www.downtowndougbrown.com/2012/06/microcontrollers-gpiotimersinterrupts-example-and-lpcxpresso-lpc1114-review/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s