8 years, 4 months ago.

Reset LPC1114FN28

Is there a way to "erase" an LPC1114FN28 chip? The chip was working with a simple "blinky" program, but then I moved on to test the 32x32 LCD Panel, here:


When I downloaded the binary, it runs, but then, because I didn't put a while {} in the main() loop - I was just testing, to begin with - it probably runs off the end of main() and never comes back. Now, I'm not able to download anything on that chip, though other chips will download the "blinky" binary.

When I try to download something new, I get the following, after a short time-out:

aaronm $ sudo mount -u -w -o sync /Volumes/MBED

aaronm $ cp ~/Downloads/fn28_blinky_LPC1114.bin /Volumes/MBED/
cp: /Volumes/MBED/fn28_blinky_LPC1114.bin: Device not configured
cp: /Users/aaronm/Downloads/fn28_blinky_LPC1114.bin: could not copy extended attributes to /Volumes/MBED/fn28_blinky_LPC1114.bin: Operation not permitted

The reset button doesn't work, though the blue LED does blink. I don't get a fail.txt file. I realize the part is $2, which isn't going to break anyone's bank, but I'd like to salvage the chip, if possible. I'm on a Mac running Yosemite. I also tried to write a binary using a PC, but it didn't work, either. I updated the firmware - no luck.

Any help would be appreciated.

Question relating to:

The LPC1114FN28 is an ARM Cortex-M0 based, low-cost 32-bit MCU, designed for 8/16-bit microcontroller applications, offering performance, low power, simple instruction set and memory addressing together with reduced code size …

I got it - finally!

http://developer.mbed.org/users/ytsuboi/notebook/getting-started-with-mbed-lpc1114/ Used this as a starting point

http://www.adafruit.com/products/954 - using this, which I already had.

It took a while to get things configured - thanks! Apple, for messing up our FTDI drivers - but I finally got the original blinky program downloaded, re-inserted into the mbed carrier/shield, and it works as before.

Thanks, guys.

posted by Aaron Minner 04 Jan 2015

2 Answers

8 years, 4 months ago.

Does the RED led flash when down loading. It will flash once, pause then flash some more without the chip fitted.

If it does not then the problem may not be the chip.

8 years, 4 months ago.

I think you have some options.
Please try one of those. If it doesn't give good result, try another.

  • If your "intreface-chip" firmware is old, you may have problem if the LPC1114FN28's pin16 is toggling. That happens if the program has "printf" call. In this case..
    Update firmware: Follow procedure on this page.
  • To clear the LPC1114FN28, it can be done by serial (UART) interface.
    There are some way to do it. Please find this page.
  • I found you have the mbed-LPC1768. The mbed-LPC1768 can overwrite the LPC1114FN28's internal flash by this program.