Line 6... |
Line 6... |
its biggest advantage is that no special HW is needed -- only a
|
its biggest advantage is that no special HW is needed -- only a
|
parallel port cable and some buffers. It is compatible with Xilinx
|
parallel port cable and some buffers. It is compatible with Xilinx
|
Parallel Cable III.
|
Parallel Cable III.
|
|
|
Gdb is capable of connecting, controlling and debugging the board
|
Gdb is capable of connecting, controlling and debugging the board
|
via JP1. Currently jp1 has a support only for Linux.
|
via JP1. Currently jp1 has support only for Linux.
|
|
|
|
|
|
|
USAGE
|
USAGE
|
|
|
|
jp1 [cable] [port]
|
|
|
|
The cable parameter selects the cable to use for communicateing with the board.
|
|
At the time of writting, cable may be one of xpc3, xess, rtl_sim or vpi. xpc3
|
|
assumes a xillinx parallel cable 3, rtl_sim connects to a rtl simulator,
|
|
communicateing with it via files (slow), vpi connects to a rtl simulator via the
|
|
vpi (faster). The port parameter specified designates TCP/IP port address where
|
|
the server starts. Run jp1 without arguments for a list of cable specific
|
|
options.
|
|
|
First, start the jp1 program in root mode, e.g.:
|
First, start the jp1 program in root mode, e.g.:
|
|
|
./jp1 9999
|
./jp1 xpc3 9999
|
|
|
The parameter specified designates TCP/IP port address,
|
Then start gdb and connect to it,
|
where the server starts. Then start gdb and connect to it,
|
|
using e.g.:
|
using e.g.:
|
|
|
$ or32-rtems-gdb test.or32
|
$ or32-rtems-gdb test.or32
|
(gdb) target jtag jtag://localhost:9999
|
(gdb) target jtag jtag://localhost:9999
|
|
|