URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [jtag/] [README] - Rev 1280
Go to most recent revision | Compare with Previous | Blame | View Log
JTAG PROGRAMMING UTILITY README FOR OPENRISC 1000
INTRODUCTION
JP1 is a proprietary JTAG protocol. It is very simple, and perhaps
its biggest advantage is that no special HW is needed -- only a
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 the 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 the program counter increases, we can set the breakpoint
and run the 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