I'm evaluating Crossworks for ARM v2.2 on Mac OS X, however, I can't figure out how to load a basic LED blinking program on the LPC1114.
The LPC1114, being a DIP28 package, is on a breadboard with a the most basic support components: a few caps for power smoothing, a LED for circuit power and one to blink, and a reset button. Nothing fancy. VCC is 3.3V from a bench power supply.
I have the Olimex ARM-USB-TINY-H and SWD adapter. I have SWCLK, SWDIO, and RESET connected correctly, I believe, as well as VREF and GND. I get the same result regardless of whether PIO1_4 is connected to VCC or GND (PIO1_4 is the "should I start in ISP mode?" pin).
I am selecting the Olimex ARM-USB-TINY adapter in the Crossworks UI (specifying SWD instead of JTAG) and loading a basic project that is correctly configured for a LPC1114 microcontroller. It can connect to the target and identify just fine.
However, whenever I try to download a trivial program, Crossworks warns me that verification failed. When I compare the expected versus received, it is the first few hundred bytes that are consistently different, the rest is the same.
I've tried playing with various debug target settings (Adaptive Clocking, Clock Divider, nTRST Open Drain, etc.) with no change in the result. I also tried a different LPC1114 chip, in case the one I was originally using was defective. I can program the chip with lpc21isp.
What foolish mistake am I making?
Please sign in to leave a comment.