Yahoo Groups archive

Lpc2000

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

Thread

JTAG

JTAG

2004-05-18 by *****

Hi every1,
I have a question, which PC/linux software is the best to debug the 
LPCxx via the JTAG I see that the wiggler has software but this 
includes cross compiling tools, any stand alone software ?
Also I don't have a wiggler or similar but I have a nice FPGA so does 
any1 have VHDL code for RS232 <=> JTAG or LP <=> JTAG or some notes 
on the protocol timing requirements etc....? 
Happy Programming.
Regards Billy

JTAG

2005-04-03 by arne_crouwels

hello,

I'm building a board for the LPC2106, and all the software is working. 
But I don't exactly know what a JTAG is, is it hardware or software? 
And if it is software, is it the same as the Philips flashdownloader?

Re: [lpc2000] JTAG

2005-04-03 by Robert Adsett

At 04:25 PM 4/3/05 +0000, arne_crouwels wrote:
>I'm building a board for the LPC2106, and all the software is working.
>But I don't exactly know what a JTAG is, is it hardware or software?
>And if it is software, is it the same as the Philips flashdownloader?


JTAG - an acronym for Joint Test Action Group.

In this context it refers to a standard interface developed for testing 
complex ICs in circuit on a PCB.  The interface has been adapted by many 
manufacturers for other purposes, in particular the ARM7 core has a debug 
module that uses the JTAG interface to communicate with a set of on-board 
circuitry that acts as a 'mini-ICE' allowing breakpoints to be set and 
memory to be read and written.

Several manufacturers build JTAG interfaces to communicate over this port 
with debugging SW.  Since using this you have full access to the memory it 
is possible to use this interface to program the flash as well.  The 
adapters and associated software range over a large range in terms of both 
price and sophistication.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,   be 
they legal, genetic, or physical.  If you don't believe me, try to chew a 
radio signal. "  -- Kelvin Throop, III
http://www.aeolusdevelopment.com/

JTAG

2005-04-28 by Sridhar gadda

Hello, 
 
          does any one read register values trough JTAG. In Blinky example (keil) UART has been used to display result of value stored in register on hyper terminal. Is it possible in same way using JTAG ??. Any example help would be greatly appreciated. I am using ULINK.
 
thanks, 
 
Sridhar
 
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Re: [lpc2000] JTAG

2005-04-28 by Richard Duits

The Keil can use the DCC (Debug Communications Channel) to show debug 
messages in a terminal window during debugging. I wrote the following 
functions to handle the DCC comminication:

static inline int DCC_TxEmpty(void)
{
  int DccControl;
  asm volatile("mrc\t" "14, 0, %0, c0, c0": "=r" (DccControl));
  return (DccControl & 2) == 0;
}

static inline void DCC_TxData(int Data)
{
  while (! DCC_TxEmpty()) { }
  asm volatile("mcr\t" "14, 0, %0, c1, c0": : "r" (Data));
}

void DCC_SendString(const char *Buffer)
{
  register const unsigned char *P;
  P = (const unsigned char *) Buffer;

  if (Buffer)
  {
    while (*Buffer)
    {
      DCC_TxData(*P);
      ++P;
    }
  }
}

static inline int DCC_RxAvail(void)
{
  UINT DccControl;
  asm volatile("mrc\t" "14, 0, %0, c0, c0": "=r" (DccControl));
  return (DccControl & 1) != 0;
}

static inline int DCC_RxData(void)
{
  int Data;
  while (! DCC_RxAvail()) { }
  asm volatile("mrc\t" "14, 0, %0, c1, c0": "=r" (Data));
  return Data;
}






Sridhar gadda wrote:
Show quoted textHide quoted text
> Hello,
>
>           does any one read register values trough JTAG. In Blinky 
> example (keil) UART has been used to display result of value stored in 
> register on hyper terminal. Is it possible in same way using JTAG ??. 
> Any example help would be greatly appreciated. I am using ULINK.
>
> thanks,
>
> Sridhar
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> [Non-text portions of this message have been removed]
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/lpc2000/
>        
>     * To unsubscribe from this group, send an email to:
>       lpc2000-unsubscribe@yahoogroups.com
>       <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>        
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>

Re: [lpc2000] JTAG

2005-04-28 by Matthias Hertel

Hi,

There is an example that does this in \ARM\Boards\Keil\MCB2100\DebugIO\
of your Keil ARM Tools installation.

Matthias
Show quoted textHide quoted text
> Hello,
>
>           does any one read register values trough JTAG. In Blinky
> example (keil) UART has been used to display result of value stored in
> register on hyper terminal. Is it possible in same way using JTAG ??.
> Any example help would be greatly appreciated. I am using ULINK.
>
> thanks,
>
> Sridhar
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> [Non-text portions of this message have been removed]
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/lpc2000/
>        
>     * To unsubscribe from this group, send an email to:
>       lpc2000-unsubscribe@yahoogroups.com
>       <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>        
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>

JTAG

2005-12-27 by sherifkamelzaki

hi i am new to the JTAG cable i am using LPC2138 with the olimex eval 
board and bought the jtag cable i need some help how to operate it i 
use crosstalk if there is a better debuger pleas tell me

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.