Content originally posted in LPCWare by tealok on Mon Jun 10 16:03:27 MST 2013
I really appreciate the suggestions, and having experts monitor this venue.
My system is a clean Win7 Pro, 64-bit, fully patched, running on a Dell T5500 with 8-cores and 16GB of RAM.
Since LPC-Link2 is not supported, I just abandoned (postponed) my expectations ;-)
The suggestion to avoid custom debug configurations (allow auto-generation) made me think maybe the Eclipse IDE is a bit "sticky", and my experiments resulted in a corrupted or incompatible config-- so I blew the workspace away and started over- including a workstation re-boot.
After importing and building all projects, I selected individual projects, and clicked "debug". Sure enough, allowing the system to search for emulators/debuggers worked. The IDE produced a message about the HID device being configured, then popped a dialog with two JTAG choices. From my work with OpenOCD on Linux, it looked like these were the M0 and M4 TAPs in the JTAG chain, so I chose the "Coresight JTAG DP".
The code then attempted to run, but produced an error: "15: target error from register access: verify population of memory and peripherals" (JPG screen-shot attached). Since the IDE offered "help with this issue", I followed it, but the Code-Red FAQ/KB was not directly applicable, and I did not find a solution.
The register address listed was: 0x1001 FFF8.
Do I have a bad flash device? Is there a bug in the code? Are my J4 boot-control switches set incorrectly? (1,2,3 = ON, 4 = OFF).
Any help/suggestions will be very much appreciated !!
Note:
I subsequently built, downloaded and attempted to run _each_ of the Xplorer projects. None (I repeat, none) would run. Those which actually loaded code (as evidenced by the LPC-Link's flashing LED, and the IDE's progress-bar during the transfer), all failed with the same error and address.
I also observed that, after failure, it was necessary to power-off and re-connect the LPC-Link. Otherwise, the LPC-Link would not be correctly identified or configured for the next project/test.