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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [jtag/] [README] - Blame information for rev 1280

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

Line No. Rev Author Line
1 857 markom
JTAG PROGRAMMING UTILITY README FOR OPENRISC 1000
2
 
3
INTRODUCTION
4
 
5 1280 markom
JP1 is a proprietary JTAG protocol. It is very simple, and perhaps
6
its biggest advantage is that no special HW is needed -- only a
7 857 markom
parallel port cable and some buffers. It is compatible with Xilinx
8
Parallel Cable III.
9
 
10
Gdb is capable of connecting, controlling and debugging the board
11
via JP1. Currently jp1 has a support only for Linux.
12
 
13
 
14
 
15
USAGE
16
 
17
First, start the jp1 program in root mode, e.g.:
18
 
19
./jp1 9999
20
 
21
The parameter specified designates TCP/IP port address,
22 1280 markom
where the server starts. Then start gdb and connect to it,
23 857 markom
using e.g.:
24
 
25
$ or32-rtems-gdb test.or32
26
(gdb) target jtag jtag://localhost:9999
27
 
28
Then load the program into the memory:
29
 
30
(gdb) load
31
 
32 1280 markom
and start it up:
33 857 markom
 
34
(gdb) set $pc=0x100
35
 
36
You can write stepi or si, to see if things are working
37
correctly:
38
 
39
(gdb) stepi
40
 
41 1280 markom
If the program counter increases, we can set the breakpoint
42
and run the program with command 'continue' or 'c'.
43 857 markom
 
44
 
45
 
46
AUTHORS
47
 
48
Simons Srot, simons@opencores.org
49
Marko Mlinar, markom@opencores.org
50
 

powered by: WebSVN 2.1.0

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