OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [jtag/] [README] - Rev 857

Go to most recent revision | Compare with Previous | Blame | View Log

JTAG PROGRAMMING UTILITY README FOR OPENRISC 1000

INTRODUCTION

JP1 is proprieatry JTAG protocol. It is very simple, and perhaps
its biggest advantage is that no special HW is needed -- only
parallel port cable and some buffers. It is compatible with Xilinx
Parallel Cable III.

Gdb is capable of connecting, controlling and debugging the board
via JP1. Currently jp1 has a support only for Linux.



USAGE

First, start the jp1 program in root mode, e.g.:

./jp1 9999

The parameter specified designates TCP/IP port address,
where server starts. Then start gdb and connect to it,
using e.g.:

$ or32-rtems-gdb test.or32
(gdb) target jtag jtag://localhost:9999

Then load the program into the memory:

(gdb) load

and start it up

(gdb) set $pc=0x100

You can write stepi or si, to see if things are working
correctly:

(gdb) stepi

If program counter increases, we can set the breakpoint
and run program with command 'continue' or 'c'.



AUTHORS

Simons Srot, simons@opencores.org
Marko Mlinar, markom@opencores.org

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.