Content originally posted in LPCWare by MindBender on Mon Jun 15 01:18:31 MST 2015
Quote: LessThanZero
Here's a couple of things to try. First, select the SWD protocol if, in fact, you're using the JTAG protocol. If you don't need to access other devices on the JTAG scan chain, SWD is sufficient.
I don't have any other devices on my scan chain, so that applies. Can you please tell me where that setting is hidden?
I'm still using J7 on my LPC-Link2 interface, since it says: "SWD/JTAG".
Quote: LessThanZero
Second, you can use the Redlink probe in place of the CMSIS-DAP one. This can be changed at Preferences -> LPCXpresso -> Redlink Options -> Redlink boot type.
[s]Did that, changed emulator to Redlink Server, but got an error while downloading now: "Error in final launch sequence". Details indicate Wire Ack Fault and recommendations stretch to power-cycling.
I've been going through the schematic, to see if my EA LP1788 board supports SWD, but it's a bit messy: Signal wires end up in what appear to be tags and it's a puzzle to figure out where they go. Perhaps they overlap with JTAG, perhaps I need to put the interface in SWD mode, but I feel I'm debugging the environment now and I just don't have time for that.[/s]
That seems to work, but it's no improvement: RedLink looses the processor much more frequently. Stepping over sdram_init always fails.
On a side note: I find myself unplugging and replugging the LPC-Link2 a lot. I'm not complaining here; It's a $15 debugger and what you pay is what you get. But I wonder if there are any non-hobby-grade, more stable debuggers available on this platform? For example, I was very happy with my BDI2000 form the i.MX28 ARM9.
Thanks for the hints so far!