Yahoo Groups archive

Lpc2000

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

Thread

JTAG debugging tools

JTAG debugging tools

2005-12-09 by householder_lpc

Hi all, 

I'm currently trying to find good and not too expensive tools for
programming and debugging the LPC2148. I intend to use gcc as
compiler. Can anyone describe what advantages Rowley Crossworks has
over Eclipse+gcc+gdb? 

In addition, what is the main difference between the different lowcost
(sub-150$) JTAG adapters? I understand that, with a Wiggler compatible
product, the program is ran and debugged from RAM. This limits code
size by the amount of RAM available. Are there low cost JTAG adapters
that allow code to be executed and debugged in Flash? 

What do I gain if I use a Rowley Crossconnect or an Amontec debugger
in stead of a Wiggler clone (for example the Olimex tool)? 

Thank you for all tips !

Re: [lpc2000] JTAG debugging tools

2005-12-09 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "householder_lpc" <nieuw_bericht@...>
To: <lpc2000@yahoogroups.com>
Sent: Friday, December 09, 2005 2:00 PM
Subject: [lpc2000] JTAG debugging tools


> Hi all,
>
> I'm currently trying to find good and not too expensive tools for
> programming and debugging the LPC2148. I intend to use gcc as
> compiler. Can anyone describe what advantages Rowley Crossworks has
> over Eclipse+gcc+gdb?

Main advantage is that the debugger is much more comprehensive and easier to 
use. Rowley use the gcc tools with their own IDE and debugger.

>
> In addition, what is the main difference between the different lowcost
> (sub-150$) JTAG adapters? I understand that, with a Wiggler compatible
> product, the program is ran and debugged from RAM. This limits code
> size by the amount of RAM available. Are there low cost JTAG adapters
> that allow code to be executed and debugged in Flash?

That is really a function of the debugger. The Rowley debugger works with 
programs in flash, even with a Wiggler or Wiggler clone.

>
> What do I gain if I use a Rowley Crossconnect or an Amontec debugger
> in stead of a Wiggler clone (for example the Olimex tool)?

Speed! They are much faster than a Wiggler (if the Amontec unit is used in 
Raven mode).

Leon 

---
[This E-mail has been scanned for viruses but it is your responsibility 
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]

Re: JTAG debugging tools

2005-12-10 by householder_lpc

Thank you for a very clear and comprehensive answer. 

It it so that, if you use Crossworks, you don't use OCDRemote anymore,
so Crossworks bitbangs jtag commands over LPT1 itself? Because
OCDRemote doesn't support hardware breakpoints... 

Can Crossworks set as many breakpoints in Flash as you want? Are these
software breakpoints, or hardware breakpoints? 

Thank you !!


--- In lpc2000@yahoogroups.com, "Leon Heller" <leon.heller@b...> wrote:
>
> ----- Original Message ----- 
> From: "householder_lpc" <nieuw_bericht@h...>
> To: <lpc2000@yahoogroups.com>
> Sent: Friday, December 09, 2005 2:00 PM
> Subject: [lpc2000] JTAG debugging tools
> 
> 
> > Hi all,
> >
> > I'm currently trying to find good and not too expensive tools for
> > programming and debugging the LPC2148. I intend to use gcc as
> > compiler. Can anyone describe what advantages Rowley Crossworks has
> > over Eclipse+gcc+gdb?
> 
> Main advantage is that the debugger is much more comprehensive and
easier to 
> use. Rowley use the gcc tools with their own IDE and debugger.
> 
> >
> > In addition, what is the main difference between the different lowcost
> > (sub-150$) JTAG adapters? I understand that, with a Wiggler compatible
> > product, the program is ran and debugged from RAM. This limits code
> > size by the amount of RAM available. Are there low cost JTAG adapters
> > that allow code to be executed and debugged in Flash?
> 
> That is really a function of the debugger. The Rowley debugger works
with 
> programs in flash, even with a Wiggler or Wiggler clone.
> 
> >
> > What do I gain if I use a Rowley Crossconnect or an Amontec debugger
> > in stead of a Wiggler clone (for example the Olimex tool)?
> 
> Speed! They are much faster than a Wiggler (if the Amontec unit is
used in 
Show quoted textHide quoted text
> Raven mode).
> 
> Leon 
> 
> ---
> [This E-mail has been scanned for viruses but it is your responsibility 
> to maintain up to date anti virus software on the device that you are
> currently using to read this email. ]
>

Re: [lpc2000] Re: JTAG debugging tools

2005-12-10 by Dominic Rath

Hello,

On Saturday 10 December 2005 11:44, householder_lpc wrote:
> Thank you for a very clear and comprehensive answer.
>
> It it so that, if you use Crossworks, you don't use OCDRemote anymore,
> so Crossworks bitbangs jtag commands over LPT1 itself? Because
> OCDRemote doesn't support hardware breakpoints...
>

Yes, Crossworks bitbangs the parport itself, you don't need OCDRemote anymore. 
But OCDRemote supports hardware breakpoints, just search recent posts to this 
group on the topic.

> Can Crossworks set as many breakpoints in Flash as you want? Are these
> software breakpoints, or hardware breakpoints?
>

You can't have more than two hardware breakpoints on an ARM7. That's a limit 
of the core, not the debugger. You can only set hardware breakpoints inside 
the flash. If you want software breakpoints, too, there's only one hardware 
breakpoint left, the other one is used to implement software breakpoints (I 
don't know how this is supported by the various debuggers, but that's what 
the ARM7 debug support is like).

> Thank you !!
>

Regards,

Dominic

Re: [lpc2000] Re: JTAG debugging tools

2005-12-10 by Michael Johnson

Hi,

>Thank you for a very clear and comprehensive answer. 
>
>It it so that, if you use Crossworks, you don't use OCDRemote anymore,
>so Crossworks bitbangs jtag commands over LPT1 itself? Because
>OCDRemote doesn't support hardware breakpoints... 
>  
>
We've written our own parallel port device driver. Not because there's 
anything wrong with the Magraigor stuff we just prefer to have our own code.

>Can Crossworks set as many breakpoints in Flash as you want? Are these
>software breakpoints, or hardware breakpoints? 
>  
>
Just two hardware breakpoints when debugging from flash, one of which is 
used (but not reserved) for single stepping.

We are considering a permanent breakpoint feature i.e. flash breakpoint 
instructions on download. This feature won't wear out the flash (this is 
the main issue we see with reflashing pages to put in breakpoint 
instructions) but unfortunately the ARM7TDMI-S doesn't have a breakpoint 
instruction. Consequently one of the hardware breakpoints would have to 
be used to implement the flash breakpoint.

Regards
Michael
Show quoted textHide quoted text
>Thank you !!
>
>
>--- In lpc2000@yahoogroups.com, "Leon Heller" <leon.heller@b...> wrote:
>  
>
>>----- Original Message ----- 
>>From: "householder_lpc" <nieuw_bericht@h...>
>>To: <lpc2000@yahoogroups.com>
>>Sent: Friday, December 09, 2005 2:00 PM
>>Subject: [lpc2000] JTAG debugging tools
>>
>>
>>    
>>
>>>Hi all,
>>>
>>>I'm currently trying to find good and not too expensive tools for
>>>programming and debugging the LPC2148. I intend to use gcc as
>>>compiler. Can anyone describe what advantages Rowley Crossworks has
>>>over Eclipse+gcc+gdb?
>>>      
>>>
>>Main advantage is that the debugger is much more comprehensive and
>>    
>>
>easier to 
>  
>
>>use. Rowley use the gcc tools with their own IDE and debugger.
>>
>>    
>>
>>>In addition, what is the main difference between the different lowcost
>>>(sub-150$) JTAG adapters? I understand that, with a Wiggler compatible
>>>product, the program is ran and debugged from RAM. This limits code
>>>size by the amount of RAM available. Are there low cost JTAG adapters
>>>that allow code to be executed and debugged in Flash?
>>>      
>>>
>>That is really a function of the debugger. The Rowley debugger works
>>    
>>
>with 
>  
>
>>programs in flash, even with a Wiggler or Wiggler clone.
>>
>>    
>>
>>>What do I gain if I use a Rowley Crossconnect or an Amontec debugger
>>>in stead of a Wiggler clone (for example the Olimex tool)?
>>>      
>>>
>>Speed! They are much faster than a Wiggler (if the Amontec unit is
>>    
>>
>used in 
>  
>
>>Raven mode).
>>
>>Leon 
>>
>>---
>>[This E-mail has been scanned for viruses but it is your responsibility 
>>to maintain up to date anti virus software on the device that you are
>>currently using to read this email. ]
>>
>>    
>>
>
>
>
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>  
>

Re: [lpc2000] Re: JTAG debugging tools

2005-12-11 by Tong Le

Hi
  I am new to the Phillips Arm
  I was gonna use the JLink from Keil for debug.
  Will this work?
  Please Advice
  

Dominic Rath <Dominic.Rath@...> wrote:
  Hello,

On Saturday 10 December 2005 11:44, householder_lpc wrote:
> Thank you for a very clear and comprehensive answer.
>
> It it so that, if you use Crossworks, you don't use OCDRemote anymore,
> so Crossworks bitbangs jtag commands over LPT1 itself? Because
> OCDRemote doesn't support hardware breakpoints...
>

Yes, Crossworks bitbangs the parport itself, you don't need OCDRemote anymore. 
But OCDRemote supports hardware breakpoints, just search recent posts to this 
group on the topic.

> Can Crossworks set as many breakpoints in Flash as you want? Are these
> software breakpoints, or hardware breakpoints?
>

You can't have more than two hardware breakpoints on an ARM7. That's a limit 
of the core, not the debugger. You can only set hardware breakpoints inside 
the flash. If you want software breakpoints, too, there's only one hardware 
breakpoint left, the other one is used to implement software breakpoints (I 
don't know how this is supported by the various debuggers, but that's what 
the ARM7 debug support is like).

> Thank you !!
>

Regards,

Dominic

    
---------------------------------
  YAHOO! GROUPS LINKS 

    
    Visit your group "lpc2000" on the web.
    
    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com
    
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 

    
---------------------------------
  

  


			
---------------------------------
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

[Non-text portions of this message have been removed]

RE: [lpc2000] Re: JTAG debugging tools

2005-12-11 by Paul Curtis

Tong, 

> Hi
>   I am new to the Phillips Arm
>   I was gonna use the JLink from Keil for debug.

J-Link is from Segger, ULINK is from Keil.

>   Will this work?

Only the J-Link is supported on CrossWorks.

--
Paul Curtis, Rowley Associates Ltd  http://www.rowley.co.uk
CrossWorks for MSP430, ARM, AVR and now MAXQ processors

RE: [lpc2000] Re: JTAG debugging tools

2005-12-12 by Joel Winarske

> > Hi
> >   I am new to the Phillips Arm
> >   I was gonna use the JLink from Keil for debug.
> 
> J-Link is from Segger, ULINK is from Keil.
> 
> >   Will this work?
> 
> Only the J-Link is supported on CrossWorks.

The J-Link is also compatible with any development environment that supports
RDI, two examples are IAR and Keil.  IAR supports J-Link with or without an
RDI software license.  Keil requires one.  To use a J-Link with Keil you
will need a J-Link RDI license from Segger.  They offer thirty day
evaluations at no cost.

Joel

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.