- Fri Dec 07, 2012 7:06 am
#152913
I have an LPC2103 on a custom board (similar in design to the Olimex lpc2103 board) that I'm trying to flash, unfortunately I can't seem to get it to work right. When I attempt to flash I get the following errors:
I am currently using an IAR I-Jet with IAR Embedded Workbench for ARM (v6.40) However I have tried programming this with a Segger J-Link, as well as OpenOCD+Eclipse+Olimex USB JTAG TINY. I have even tried using the example project that IAR has for the LPC2103 with no luck.
Does anyone have a clue what might be going on? Is there some sort of flash protection engaged?
I can connect to the processor using the IAR debugger and the I-Jet JTAG, I have confirmed this by manually setting the registers to turn on the test LED, so that part should be working...
Anyone have any ideas?
Code: Select all
If I turn off verification of the program after download it will show those two warnings then continue on as if I had programmed it, with the debugger even showing my code in the dissasembly, however stepping through I can tell it's not my code.Thu Dec 06, 2012 21:45:51: Download error at 0x00000000: downloading into non-writable memory.
Thu Dec 06, 2012 21:45:51: Download error at 0x00000200: downloading into non-writable memory.
Thu Dec 06, 2012 21:45:51: Verification error at 0x00000020: mem = 0x34, file = 0xD4
I am currently using an IAR I-Jet with IAR Embedded Workbench for ARM (v6.40) However I have tried programming this with a Segger J-Link, as well as OpenOCD+Eclipse+Olimex USB JTAG TINY. I have even tried using the example project that IAR has for the LPC2103 with no luck.
Does anyone have a clue what might be going on? Is there some sort of flash protection engaged?
I can connect to the processor using the IAR debugger and the I-Jet JTAG, I have confirmed this by manually setting the registers to turn on the test LED, so that part should be working...
Anyone have any ideas?