Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2100] JTAG Connect Problems

2004-02-04 by Pablo Bleyer Kocik

At 09:56 2004-02-04, you wrote:
>   I've been ignoring this problem for too long.  It's time to
>determine if everyone has experienced it or if it is something I'm
>doing.
>   I'm using gcc, gdb/Insight, and Macraigor's Wiggler & OcdLibRemote
>to build and debug programs running from RAM on a Nohau LPC210x TESTER
>Board.  A majority of times when I try to connect to the LPC via
>OcdLibRemote from gdb/Insight, OcdLibRemote reports "Cable
>Disconnected" and gdb/ Insight does not connect.

  Using OcdLibRemote with a wiggler clone interface, the only times I have 
got 'Cable Disconnected' was when really the cable was disconnected or the 
board not powered up. Main troubles have been when I mess the gdb set up.

>Additional attempts
>to connect to the same OcdLibRemote session fail within gdb/Insight
>even though OcdLibRemote reports success.  The whole thing will
>eventually connect after multiple attempts of exiting both
>OcdLibRemote & gdb/Insight, and various pressings of the RESET button
>on the Nohau board.

  That's weird. However, I have heard that with a number of ARM chips. Have 
you tried connecting nRESET to nTRST? That way the whole CPU starts in a 
predefined way. I mostly use that configuration when possible.

>   Another issue I remember while writing this is that once connected
>and debugging with Insight, it is possible to step through and debug C
>source code but not possible to view the underlying assembly code.

  ???

  That works right for me. Have you tried playing with the compiler 
optimizations?

>   Both of these problems exist for multiple versions of gcc and gdb/
>Insight.  So for both issues, has anyone else had either problem and
>importantly, have they been able to find a resolution?

  The wiggler + remote gdb has indeed some glitches. But that can be said 
of most of the debuggers and tools out there. From our experience, most of 
the time the interface does its job right.

  Regards.


--
PabloBleyerKocik /"...I didn't want to be kissing Kevin Spacey.
  pbleyer        / Come on! Lying there naked with rose petals?"
   @... /- Kirsten Dunst on turning down American Beauty

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.