Yahoo Groups archive

Lpc2000

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

Message

Wiggler debugging in Flash

2005-12-08 by lynchzilla

Hi nieuw bericht.

The crucial element in wiggler debugging is the Macraigor OCDRemote 
utility that converts GDB serial commands into bit-banging on the 
LPT1 parallel port (the wiggler merely translates voltages to 3.3 
volts). Previous versions of OCDRemote did not support 
the -Z1,addr,length command which specifies a hardware breakpoint 
(ARM7 supports two hardware breakpoints).

The latest version does support the -Z1 command so it is now possible 
to debug in flash, as long as you limit yourself to just two 
breakpoints at a time.

It's been pointed out to me that the new OCDRemote has a command that 
can cause all software breakpoint commands to be converted 
automatically into hardware breakpoints. If you're debugging a RAM-
based application, you can elect not to send this command to 
OCDRemote and thus have as many software breakpoints as you like. If 
you're debugging a FLASH-based application, sending the command will 
allow you two hardware breakpoints. Most people will be satisfied 
with that limitation, since single-stepping, variable inspection, 
etc. all work properly.

I'm working to update my tutorial to illustrate these new features.

Cheers,
Jim Lynch

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.