Yahoo Groups archive

Lpc2000

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

Message

Re: newbie question--debugging from flash

2005-02-23 by ntfreak2000

--- In lpc2000@yahoogroups.com, "Aalt Lokhorst" <lokhorst@s...> wrote:
> Hello Chris,
> 
> Yesterday I build a JTAG Wiggler according to the schematic diagram 
from 
> Leon. (inclusive the strap between DB25_pin8 and DB25_pin15)
> I also had some problems to connect at speed-1 until I found some 
> information at:
> 
>    http://www.mikrocontroller.net/forum/read-2-135959.html
> 
> I found a 'workaround' to get a speed=1 connection. Strange enough 
you 
> need to do dummy connect to a RAVEN device first. This wil fail but 
it 
> leaves the interface in the correct state to connect properly for 
> WIGGLER. I am using now the next two commands and this works a lot 
> better (commands are for WIGGLER at LPT1)
> 
> ocdremote -cARM7TDMI-S -dRAVEN -a1 -s1   (results in Internal error 
43)
> 
> ocdremote -cARM7TDMI-S -dWIGGLER -a1 -s1 (connects correctly)
> 
> 
> > the wiggler seems quite unstable--lots of errors while trying to 
>  > connect.  It eventually works after a few tries at low speed (8)
>  > but doesn't give me much confidence.
> 
> -- 
> ==============================
> Aalt Lokhorst
> Schut Geometrische Meettechniek bv
> Duinkerkenstraat 21
> 9723 BN Groningen
> P.O. Box 5225
> 9700 GE Groningen
> The Netherlands
> Tel: +31-50-5877877
> Fax: +31-50-5877899
> E-mail: Lokhorst@S...
> ==============================

I have used the wiggler compatible interface for a while now and 
always connect at speed 1, with very few problems.
I agree flash debugging can be a problem with insight due to the 
hardware breakpoint implementation of gdb. This should change over 
the next few months as a lot of work is being done on this in gdb.
If you want to use the wiggler interface and need reliable/easy flash 
debugging use Rowley Crosstudio.

Regards
Spen

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.