URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 856 to Rev 857
- ↔ Reverse comparison
Rev 856 → Rev 857
/trunk/jtag/README
0,0 → 1,50
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 |
|