Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion Groups | LPC2000 | Secondary JTAG Sanity Check

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

Secondary JTAG Sanity Check - Richard - Dec 16 12:03:00 2004


I am planning to use the secondary JTAG (LPC2104) in a design. I
have already been debugging (from flash) using the second JTAG by
placing a firmware in flash to enable the second JTAG pins and then
starting the debugger.
So, in the actual application, I will have to load the JTAG enable
firmware everytime(via ISP)I want to debug or program via the 2nd
JTAG port, correct?
I have dip switches in the design, could I use one of these to
trigger software to write to PINSEL1 and enable the 2nd JTAG?

Thanks

Rich





(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )


Re: Secondary JTAG Sanity Check - Markus Meng - Dec 17 4:24:00 2004

Hi Richard,
- concerning 2nd JTAG I wonder if I can use the very same
JTAG ARM Adapter 2x10 Pin to connect to the 2ndary JTAG?

- If so, I can make a board without the primary JTAG and
it is still possible to debug code? Is this correct.

- I do not understand the disadvantages, if I make use of
the 2nd JTAG only. It uses less pins than the primary, and
I always need SW to enable it. Is this correct?

Best Regards
Markus Meng

Richard schrieb:

>I am planning to use the secondary JTAG (LPC2104) in a design. I
>have already been debugging (from flash) using the second JTAG by
>placing a firmware in flash to enable the second JTAG pins and then
>starting the debugger.
>So, in the actual application, I will have to load the JTAG enable
>firmware everytime(via ISP)I want to debug or program via the 2nd
>JTAG port, correct?
>I have dip switches in the design, could I use one of these to
>trigger software to write to PINSEL1 and enable the 2nd JTAG?
>
>Thanks
>
>Rich >
>Yahoo! Groups Links --
Mit freundlichen Grüssen
Markus Meng

********************************************************************
** Meng Engineering Telefon 056 222 44 10 **
** Markus Meng Natel 079 230 93 86 **
** Bruggerstr. 21 Telefax 056 222 44 34 **
** CH-5400 Baden Web www.meng-engineering.ch **
********************************************************************





(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Secondary JTAG Sanity Check - ian48harry - Dec 17 5:32:00 2004


Marcus:

Comments next to your questions.

Regards,

Ian

--- In , Markus Meng <meng.engineering@b...>
wrote:
> Hi Richard, >
> - concerning 2nd JTAG I wonder if I can use the very same
> JTAG ARM Adapter 2x10 Pin to connect to the 2ndary JTAG?
Ian > Yes, exactly the same. > - If so, I can make a board without the primary JTAG and
> it is still possible to debug code? Is this correct.
Ian > Yes, with the caveat to question three. > - I do not understand the disadvantages, if I make use of
> the 2nd JTAG only. It uses less pins than the primary, and
> I always need SW to enable it. Is this correct?
Ian > The secondary JTAG is enabled by software so you cannot get
there unless you have the part FLASHed with the right code. You
cannot load a RAM based example unless the JTAG is enabled first
which means the right part of code MUST be in FLASH first. You can
of course load a small application to enable the secondary JTAG via
the serial port. > Best Regards
> Markus Meng
>
> Richard schrieb:
>
> >I am planning to use the secondary JTAG (LPC2104) in a design. I
> >have already been debugging (from flash) using the second JTAG by
> >placing a firmware in flash to enable the second JTAG pins and
then
> >starting the debugger.
> >So, in the actual application, I will have to load the JTAG enable
> >firmware everytime(via ISP)I want to debug or program via the 2nd
> >JTAG port, correct?
> >I have dip switches in the design, could I use one of these to
> >trigger software to write to PINSEL1 and enable the 2nd JTAG?
> >
> >Thanks
> >
> >Rich
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
> --
> Mit freundlichen Grüssen
> Markus Meng
>
> ********************************************************************
> ** Meng Engineering Telefon 056 222 44 10 **
> ** Markus Meng Natel 079 230 93 86 **
> ** Bruggerstr. 21 Telefax 056 222 44 34 **
> ** CH-5400 Baden Web www.meng-engineering.ch **
> ********************************************************************






(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Secondary JTAG Sanity Check - Richard - Dec 17 15:14:00 2004


I am wondering how this works when debugging a product through the
2nd JTAG. It seems like you could never run the code that is
already in the part as you would have to erase it and download the
bit of code to enable the 2nd JTAG. Correct?

Rich --- In , "ian48harry" <ahi93@d...> wrote:
>
> Marcus:
>
> Comments next to your questions.
>
> Regards,
>
> Ian
>
> --- In , Markus Meng
<meng.engineering@b...>
> wrote:
> > Hi Richard,
> >
> >
> >
> > - concerning 2nd JTAG I wonder if I can use the very same
> > JTAG ARM Adapter 2x10 Pin to connect to the 2ndary JTAG?
> Ian > Yes, exactly the same.
>
> >
> > - If so, I can make a board without the primary JTAG and
> > it is still possible to debug code? Is this correct.
> Ian > Yes, with the caveat to question three.
>
> >
> > - I do not understand the disadvantages, if I make use of
> > the 2nd JTAG only. It uses less pins than the primary, and
> > I always need SW to enable it. Is this correct?
> Ian > The secondary JTAG is enabled by software so you cannot get
> there unless you have the part FLASHed with the right code. You
> cannot load a RAM based example unless the JTAG is enabled first
> which means the right part of code MUST be in FLASH first. You
can
> of course load a small application to enable the secondary JTAG
via
> the serial port.
>
> >
> > Best Regards
> > Markus Meng
> >
> > Richard schrieb:
> >
> > >I am planning to use the secondary JTAG (LPC2104) in a design.
I
> > >have already been debugging (from flash) using the second JTAG
by
> > >placing a firmware in flash to enable the second JTAG pins and
> then
> > >starting the debugger.
> > >So, in the actual application, I will have to load the JTAG
enable
> > >firmware everytime(via ISP)I want to debug or program via the
2nd
> > >JTAG port, correct?
> > >I have dip switches in the design, could I use one of these to
> > >trigger software to write to PINSEL1 and enable the 2nd JTAG?
> > >
> > >Thanks
> > >
> > >Rich
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > Mit freundlichen Grüssen
> > Markus Meng
> >
> >
********************************************************************
> > ** Meng Engineering Telefon 056 222 44
10 **
> > ** Markus Meng Natel 079 230 93
86 **
> > ** Bruggerstr. 21 Telefax 056 222 44
34 **
> > ** CH-5400 Baden Web www.meng-
engineering.ch **
> >
********************************************************************





(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )