EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Parallel Port JTAG wiggler

Started by vishnu_tadepalli January 24, 2009
Hai All,

Iam having a parallel port JTAG wiggler from olimex.I want to use it
to debug linux kernel,drivers etc.

I have some questions which I want to have clarity:
1)what kind of parallel port cable is neccesary to use the wiggler?
2)Are there any extra connections neccesary?
3)One of the documents available on the net specifies that there needs
to be a short between pins 8 and 15 on the PC side ,is it necessaey?

4)how do we use openocd with the parallel port JTAG?

Please help.Thanks in advance.
Regards
T.V.R.Prasad
> 1)what kind of parallel port cable is neccesary to use the wiggler?

Standard male to female, don't know the pin out. Like this:
http://www.freertos.org/shop/parallel-port-cable-p-37.html
> 2)Are there any extra connections neccesary?

No.
> 3)One of the documents available on the net specifies that
> there needs to be a short between pins 8 and 15 on the PC
> side ,is it necessaey?

Don't know. I did not change anything in the cable, wiggler or on my PC.

> 4)how do we use openocd with the parallel port JTAG?

Setup a config file that specifies the wiggler as the interface, and your
MCU as the target device. Download the OpenOCD installation, there are lots
of example configurations. The FreeRTOS download also contains some
configurations that use a parallel port wiggler with OpenOCD - but the
pre-built binary that comes in the download is a little historic.

Regards,
Richard.

+ http://www.FreeRTOS.org
Designed for Microcontrollers. More than 7000 downloads per month.

+ http://www.FreeRTOS.org/Documentation/FreeRTOS-documentation-and-book.html
New FreeRTOS eBook!

Hello :-)

> 4)how do we use openocd with the parallel port JTAG?

"Eclipse is a good IDE that we can use for hacking the code and do JTAG
debug. This pages is a complement to the instructions of document "Using
Open Source Tools for AT91SAM7S Cross Development - Revision C" written
by Mr. James P. Lynch."

Read that document from Mr. James Lynch and adapt to your case ;-) - as
we did on Rockbox Player project, which you know ;-)

Read our example here:
http://code.google.com/p/rockboxplayer/wiki/EclipseWithJTAGDebugSetup

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

vishnu_tadepalli wrote:
> Hai All,
>
> Iam having a parallel port JTAG wiggler from olimex.I want to use it
> to debug linux kernel,drivers etc.
>

There are easier options for linux kernel/driver debugging than using a
JTAG adapter.

Caglar

> I have some questions which I want to have clarity:
> 1)what kind of parallel port cable is neccesary to use the wiggler?
> 2)Are there any extra connections neccesary?
> 3)One of the documents available on the net specifies that there needs
> to be a short between pins 8 and 15 on the PC side ,is it necessaey?
>
> 4)how do we use openocd with the parallel port JTAG?
>
> Please help.Thanks in advance.
> Regards
> T.V.R.Prasad

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkl7Up4ACgkQ/nL+S5dojeg7gQCcCMMxsdc0FvtiTa+gzofl1aEi
Aa4AoK/UmUtTnL/OP4beM/8QsXDuH4Uv
GC
-----END PGP SIGNATURE-----


The 2024 Embedded Online Conference