EmbeddedRelated.com
Forums

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

Started by hari...@gmail.com March 30, 2007
Hi,
I have designed a wiggler clone as shown in the HJTAG website.
I use it to interface it with my TMS470(R1B512) microcontroller.
I'm using IAR Embedded Workbench to develop my code.
I initiate the H-JTAG Server, and configure IAR to an RDI interface using the H-JTAG.dll driver.
Each time when i try to debug i get an this error

WinRDI OpenProc failed
[RDI Error: 612] Memory read/write error - Can't re-enter debug state.

Can You please tell me the necessary corrections that need to be done to get it working.

Please Reply ASAP.
Regards
Harinarayanan S
> 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@lpc2..., "derbaier" wrote:
>>
>> --- In lpc2000@lpc2..., "tsvetanusunov"
>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
>>
>
>
>
>
>
>
>

An Engineer's Guide to the LPC2100 Series