Yahoo Groups archive

Lpc2000

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

Thread

H-JTAG update

H-JTAG update

2006-01-03 by tsvetanusunov

Happy New Year to all LPC2000 members :)

During the Holidays one of our engineers tried H-JTAG and there is 
progress!

Our tests show that H-JTAG connects just great to IAR EW-ARM (the only 
RDI support IDE we have at the moment) and works without any problem 
with our ARM-JTAG if you set in JTAG Settings nSRST = D4 (by the way 
while you step your debugger the H-JTAG icon cool change it's color in 
the taskbar).

The bad news is that it doesn't work with any LPC microcontroller!

From all ARM7 boards we have it works only with SAM7 and ADuC7xxx, but 
can't detect LPC2xxx, TMS470, OKI and STR7xx - there is definitely room 
for improvement from He21 :)

Unfortunately as some of you figured out I've been misleaded from the 
sources on the 21 web, this project is not open source and we can't 
work on it and to see how to fix the ARM7TDMI-S support.

By the way browsing the web during the Holidays I found yet another 
free Wiggler RDI support DLL at http://www.armjtag.com/english.htm
looks like less sophisticated than H-JTAG and again not open source 
again works with SAM7S core but don't support LPC2xxx

Best regards
Tsvetan
---
PCB prototypes for $26 at http://run.to/pcb (http://www.olimex.com/pcb)
PCB any volume assembly (http://www.olimex.com/pcb/protoa.html)
Development boards for ARM, AVR, PIC, MAXQ2000 and MSP430  
(http://www.olimex.com/dev)

Re: H-JTAG update

2006-01-03 by atmelbr

Hi Tsvetan,
     I tested H-JTAG with LPC2106 Olimex board and I can run ARM SDT
debugger.The LPC2106 chip is detected (ARM&TDMI-S 0x4F1F0F0F ).I don´t
have a copy of IAR to perform the test.I am using a home made wiggler
clone.The schematic can be found on files area of this group.
     I also tested using LPC213x QuaickStart board from Embedded
Artists and the LPC was detected.
     Regards,
                Marcio

--- In lpc2000@yahoogroups.com, "tsvetanusunov" <tusunov@m...> wrote:
Show quoted textHide quoted text
>
> Happy New Year to all LPC2000 members :)
> 
> During the Holidays one of our engineers tried H-JTAG and there is 
> progress!
> 
> Our tests show that H-JTAG connects just great to IAR EW-ARM (the only 
> RDI support IDE we have at the moment) and works without any problem 
> with our ARM-JTAG if you set in JTAG Settings nSRST = D4 (by the way 
> while you step your debugger the H-JTAG icon cool change it's color in 
> the taskbar).
> 
> The bad news is that it doesn't work with any LPC microcontroller!
> 
> From all ARM7 boards we have it works only with SAM7 and ADuC7xxx, but 
> can't detect LPC2xxx, TMS470, OKI and STR7xx - there is definitely room 
> for improvement from He21 :)
> 
> Unfortunately as some of you figured out I've been misleaded from the 
> sources on the 21 web, this project is not open source and we can't 
> work on it and to see how to fix the ARM7TDMI-S support.
> 
> By the way browsing the web during the Holidays I found yet another 
> free Wiggler RDI support DLL at http://www.armjtag.com/english.htm
> looks like less sophisticated than H-JTAG and again not open source 
> again works with SAM7S core but don't support LPC2xxx
> 
> Best regards
> Tsvetan
> ---
> PCB prototypes for $26 at http://run.to/pcb (http://www.olimex.com/pcb)
> PCB any volume assembly (http://www.olimex.com/pcb/protoa.html)
> Development boards for ARM, AVR, PIC, MAXQ2000 and MSP430  
> (http://www.olimex.com/dev)
>

Re: H-JTAG update

2006-01-03 by tsvetanusunov

--- In lpc2000@yahoogroups.com, "atmelbr" <atmelbr@y...> wrote:
>
> Hi Tsvetan,
>      I tested H-JTAG with LPC2106 Olimex board and I can run ARM SDT
> debugger.The LPC2106 chip is detected (ARM&TDMI-S 0x4F1F0F0F ).I don´t
> have a copy of IAR to perform the test.I am using a home made wiggler
> clone.The schematic can be found on files area of this group.
>      I also tested using LPC213x QuaickStart board from Embedded
> Artists and the LPC was detected.
>      Regards,
>                 Marcio
>
this is very interesting what are your parallel port settings? 
what LPT cable length do you use?
anything weird around your IDE settings?
if it works by you there should be no any reason to refuse here :)

Tsvetan

Re: H-JTAG update

2006-01-03 by atmelbr

Hi Tsvetan,
   The BIOS configuration for LPT port is Parallel port mode -> SPP
   The cable length is 1,80 meter
   I need to disable vector catching and semihosting on SDT debugger.
   The chip used on JTAG is 74HC244
Regards,
         Marcio
Show quoted textHide quoted text
>
> --- In lpc2000@yahoogroups.com, "atmelbr" <atmelbr@y...> wrote:
> >
> > Hi Tsvetan,
> >      I tested H-JTAG with LPC2106 Olimex board and I can run ARM SDT
> > debugger.The LPC2106 chip is detected (ARM&TDMI-S 0x4F1F0F0F ).I don´t
> > have a copy of IAR to perform the test.I am using a home made wiggler
> > clone.The schematic can be found on files area of this group.
> >      I also tested using LPC213x QuaickStart board from Embedded
> > Artists and the LPC was detected.
> >      Regards,
> >                 Marcio
> >
> this is very interesting what are your parallel port settings? 
> what LPT cable length do you use?
> anything weird around your IDE settings?
> if it works by you there should be no any reason to refuse here :)
> 
> Tsvetan
>

Re: H-JTAG update

2006-01-03 by derbaier

--- In lpc2000@yahoogroups.com, "tsvetanusunov" <tusunov@m...> wrote:
> this is very interesting what are your parallel port settings? 
> what LPT cable length do you use?
> anything weird around your IDE settings?
> if it works by you there should be no any reason to refuse here :)
> 
> Tsvetan
>

I can throw a little more confusion into the pot.    :-)

I followed your link and picked up the JTAG Debug Agent from there. It
appears to be an older version of H-JTAG, also from twentyone or
Tang-ZhongGen???  On my system JTAG Debug Agent also can not recognize
an LPC2148 on an Olimex board, but it does reset the LPC2148 every
time it tries to recognize it. That is more than H-JTAG was able to
do. One big difference between the two code sets is that JTAG Debug
Agent uses the original Dale Roberts GiveIO.sys for high speed IO on
WinXP, while H-JTAG uses H-JTAG.sys for the same function. GiveIO
works very well on my WinXP system, but I am not so sure about
H-JTAG.sys since I do not have a way of independantly testing like I
do with GiveIO.

Here are my answers to your questions.
Q1.  What are your parallel port settings?
A1.  EPP port at 0x378

Q2. What LPT cable length do you use?
A2. 1 meter cable originally supplied with an EasyICE.( works great!)

Q3. Anything weird around your IDE settings?
   
A3. Does not really matter. H-JTAG displays the ID in the center of
the H-JTAG server screen. In my case, both ARM SDT2.51 and IAR
Embedded Workbench fail when the H-JTAG server indicates "UNKNOWN" in
the center of it's screen.

-- Dave

Re: H-JTAG update - new release from TwentyOne works with LPC :)

2006-01-03 by tsvetanusunov

Hi,

Twentyone just e-mailed me new release of H-JTAG which takes into 
account the JTAG-ENABLE signal of our Wiggler clone.
Now it works with everything like SAM7, LPCxxx, STR7xx, TMS470 and 
only refuses to work with OKI!
Accordig to the author H-JTAG is tested to work with all these cores: 
ARM7TDMI, ARM7TDMI-S, ARM710T, ARM720T, ARM740T, ARM9TDMI, ARM920T, 
ARM922T and ARM940T.

The IAR Flash loader programs in Flash with about 30% slower speed 
than J-LINK adapter we have, which is pretty much acceptable for x10 
times lower cost solution :)

I hope twentyone will upload the new fix on his web page soon, if not 
I'll ask permission to put on our ARM-JTAG web page copy of the H-
JTAG install he e-mailed me.

We are going to play more with H-JTAG later today and report if there 
are any other issues. 

Best regards
Tsvetan

--- In lpc2000@yahoogroups.com, "derbaier" <dershu@s...> wrote:
>
> --- In lpc2000@yahoogroups.com, "tsvetanusunov" <tusunov@m...> 
wrote:
> > this is very interesting what are your parallel port settings? 
> > what LPT cable length do you use?
> > anything weird around your IDE settings?
> > if it works by you there should be no any reason to refuse here :)
> > 
> > Tsvetan
> >
> 
> I can throw a little more confusion into the pot.    :-)
> 
> I followed your link and picked up the JTAG Debug Agent from there. 
It
> appears to be an older version of H-JTAG, also from twentyone or
> Tang-ZhongGen???  On my system JTAG Debug Agent also can not 
recognize
> an LPC2148 on an Olimex board, but it does reset the LPC2148 every
> time it tries to recognize it. That is more than H-JTAG was able to
> do. One big difference between the two code sets is that JTAG Debug
> Agent uses the original Dale Roberts GiveIO.sys for high speed IO on
> WinXP, while H-JTAG uses H-JTAG.sys for the same function. GiveIO
> works very well on my WinXP system, but I am not so sure about
> H-JTAG.sys since I do not have a way of independantly testing like I
> do with GiveIO.
> 
> Here are my answers to your questions.
> Q1.  What are your parallel port settings?
> A1.  EPP port at 0x378
> 
> Q2. What LPT cable length do you use?
> A2. 1 meter cable originally supplied with an EasyICE.( works 
great!)
> 
> Q3. Anything weird around your IDE settings?
>    
> A3. Does not really matter. H-JTAG displays the ID in the center of
> the H-JTAG server screen. In my case, both ARM SDT2.51 and IAR
> Embedded Workbench fail when the H-JTAG server indicates "UNKNOWN" 
in
Show quoted textHide quoted text
> the center of it's screen.
> 
> -- Dave
>

RE: [lpc2000] Re: H-JTAG update - new release from TwentyOne works with LPC :)

2006-02-14 by Karim Virani

Hi,

I'm trying to use the version downloaded from your site with IAR, but it's not detecting the target - it advises me to check connections and power.  This is on a system (Thinkpad R51) that refuses to work with OCD Commander at any speed, probably because it's too fast.  It works fine with Rowley.  I'm using the Olimex wiggler-clone.  Has anyone seen similar issues with H-JTAG? Does it have limitations with regard to system speed or port configuration - ECP/EPP/Bidirectional?  

Is Olimex coming out with an affordible USB JTAG anytime soon?

Thanks, Karim
Show quoted textHide quoted text
-----Original Message-----
From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com]On Behalf
Of tsvetanusunov
Sent: Tuesday, January 03, 2006 8:07 AM
To: lpc2000@yahoogroups.com
Subject: [lpc2000] Re: H-JTAG update - new release from TwentyOne works
with LPC :)


Hi,

Twentyone just e-mailed me new release of H-JTAG which takes into 
account the JTAG-ENABLE signal of our Wiggler clone.
Now it works with everything like SAM7, LPCxxx, STR7xx, TMS470 and 
only refuses to work with OKI!
Accordig to the author H-JTAG is tested to work with all these cores: 
ARM7TDMI, ARM7TDMI-S, ARM710T, ARM720T, ARM740T, ARM9TDMI, ARM920T, 
ARM922T and ARM940T.

The IAR Flash loader programs in Flash with about 30% slower speed 
than J-LINK adapter we have, which is pretty much acceptable for x10 
times lower cost solution :)

I hope twentyone will upload the new fix on his web page soon, if not 
I'll ask permission to put on our ARM-JTAG web page copy of the H-
JTAG install he e-mailed me.

We are going to play more with H-JTAG later today and report if there 
are any other issues. 

Best regards
Tsvetan

--- In lpc2000@yahoogroups.com, "derbaier" <dershu@s...> wrote:
>
> --- In lpc2000@yahoogroups.com, "tsvetanusunov" <tusunov@m...> 
wrote:
> > this is very interesting what are your parallel port settings? 
> > what LPT cable length do you use?
> > anything weird around your IDE settings?
> > if it works by you there should be no any reason to refuse here :)
> > 
> > Tsvetan
> >
> 
> I can throw a little more confusion into the pot.    :-)
> 
> I followed your link and picked up the JTAG Debug Agent from there. 
It
> appears to be an older version of H-JTAG, also from twentyone or
> Tang-ZhongGen???  On my system JTAG Debug Agent also can not 
recognize
> an LPC2148 on an Olimex board, but it does reset the LPC2148 every
> time it tries to recognize it. That is more than H-JTAG was able to
> do. One big difference between the two code sets is that JTAG Debug
> Agent uses the original Dale Roberts GiveIO.sys for high speed IO on
> WinXP, while H-JTAG uses H-JTAG.sys for the same function. GiveIO
> works very well on my WinXP system, but I am not so sure about
> H-JTAG.sys since I do not have a way of independantly testing like I
> do with GiveIO.
> 
> Here are my answers to your questions.
> Q1.  What are your parallel port settings?
> A1.  EPP port at 0x378
> 
> Q2. What LPT cable length do you use?
> A2. 1 meter cable originally supplied with an EasyICE.( works 
great!)
> 
> Q3. Anything weird around your IDE settings?
>    
> A3. Does not really matter. H-JTAG displays the ID in the center of
> the H-JTAG server screen. In my case, both ARM SDT2.51 and IAR
> Embedded Workbench fail when the H-JTAG server indicates "UNKNOWN" 
in
> the center of it's screen.
> 
> -- Dave
>






 
Yahoo! Groups Links

Re: H-JTAG update - new release from TwentyOne works with LPC :)

2006-02-14 by derbaier

--- In lpc2000@yahoogroups.com, "Karim Virani" <karim@...> wrote:
>
> Hi,
> 
> I'm trying to use the version downloaded from your site with IAR,
but it's not detecting the target - it advises me to check connections
and power.  This is on a system (Thinkpad R51) that refuses to work
with OCD Commander at any speed, probably because it's too fast.  It
works fine with Rowley.  I'm using the Olimex wiggler-clone.  Has
anyone seen similar issues with H-JTAG? Does it have limitations with
regard to system speed or port configuration - ECP/EPP/Bidirectional?  
> 
> Is Olimex coming out with an affordible USB JTAG anytime soon?
> 
> Thanks, Karim
> 

Karim, I have used H-JTAG with an IBM Thinkpad T23, and the more
recent versions of H-JTAG work great with it.  If you are using H-JTAG
with the Olimex Wiggler clone, I seem to recall that H-JTAG as it is
downloaded is not correctly configured for the Olimex Wiggler clone.
You need to go into H-JTAG's configuration section and set it up to
correctly work with the Olimex Wiggler clone. If you do not do that,
you will get the check connections and power message, and H-JTAG will
not work with anything.  I use it with ARM SDT2.51, but I have tried
it with the 32k demo version of IAR and it works fine. I'm sorry but I
can not recall right now which settings that I had to adjust to get
H-JTAG to work with the Olimex Wiggler clone, but it will work with it
if you get the settings correct.

-- Dave

RE: [lpc2000] Re: H-JTAG update - new release from TwentyOne works with LPC :)

2006-03-06 by Karim Virani

Thanks Dave.  Thanks particularly to TwentyOne who helped me get the settings right after receiving a wiggler-compatible from Olimex.  With the latest version of h-jtag it works great for me when the jtag configuration is right.  The trick was with the nSRST option - I had it = [No Sys Rst] when Wiggler (predefined) was active.  When changed to = [Pin 6  D4] it detected the target and started working like a dream.  Rock solid.  Note, nTRST remains = [Pin2  D0] with output inverted.  nSRST should not be inverted.  All other jtag settings are locked when Wiggler (predefined) is active.

Karim
Show quoted textHide quoted text
-----Original Message-----
From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com]On Behalf
Of derbaier
Sent: Tuesday, February 14, 2006 7:31 AM
To: lpc2000@yahoogroups.com
Subject: [lpc2000] Re: H-JTAG update - new release from TwentyOne works
with LPC :)


--- In lpc2000@yahoogroups.com, "Karim Virani" <karim@...> wrote:
>
> Hi,
> 
> I'm trying to use the version downloaded from your site with IAR,
but it's not detecting the target - it advises me to check connections
and power.  This is on a system (Thinkpad R51) that refuses to work
with OCD Commander at any speed, probably because it's too fast.  It
works fine with Rowley.  I'm using the Olimex wiggler-clone.  Has
anyone seen similar issues with H-JTAG? Does it have limitations with
regard to system speed or port configuration - ECP/EPP/Bidirectional?  
> 
> Is Olimex coming out with an affordible USB JTAG anytime soon?
> 
> Thanks, Karim
> 

Karim, I have used H-JTAG with an IBM Thinkpad T23, and the more
recent versions of H-JTAG work great with it.  If you are using H-JTAG
with the Olimex Wiggler clone, I seem to recall that H-JTAG as it is
downloaded is not correctly configured for the Olimex Wiggler clone.
You need to go into H-JTAG's configuration section and set it up to
correctly work with the Olimex Wiggler clone. If you do not do that,
you will get the check connections and power message, and H-JTAG will
not work with anything.  I use it with ARM SDT2.51, but I have tried
it with the 32k demo version of IAR and it works fine. I'm sorry but I
can not recall right now which settings that I had to adjust to get
H-JTAG to work with the Olimex Wiggler clone, but it will work with it
if you get the settings correct.

-- Dave






 
Yahoo! Groups Links

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.