1/1

|
Problems with target jtag - remote debugging and or1ksim
by Unknown on Dec 7, 2004 |
Not available! | ||
|
Hi,
when I want to connect the gdb to the running or1k-simulator I get an
error message:
$ or32-uclinux-gdb
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=or32-uclinux".
(gdb) file cloop
Reading symbols from cloop...done.
(gdb) target jtag jtag://localhost:9999
Remote or1k debugging using jtag://localhost:9999
result 104 68
An error was reported by the proxy server. The command was:
"JTAG_COMMAND_CHAIN",1. The command returned 943075757.
On the simulator side I see:
$ or32-uclinux-sim
Reading script file from 'sim.cfg'...
Verbose on, simdebug off, interactive prompt off
Machine initialization...
Clock cycle: 4ns
No data cache.
Insn cache tag present.
BPB simulation off.
BTIC simulation off.
Building automata... done, num uncovered: 0/212.
Parsing operands data... done.
JTAG Proxy server started on port 9999
Resetting Tick Timer.
Resetting Power Management.
Resetting PIC.
Starting at 0x00000000
Exception 0x100 (Reset) at 0x0, EA: 0x0, ppc: 0x0, npc: 0x4, cycles 0, #0
Unable to set flags for gdb socket 4 to value 0x4005c94e: Invalid argument
(sim) q
Same works fine with the cygnus toolchain from the opencores.org site. I
tried random port numbers as well with the same result.
Do you have any hints?
Regards,
/Matthias
--
Matthias Wientapper
m.wientapper@gmx.de
http://mattzz.dyndns.org
I'll get you yet, you kwazy wabbit!
|
|||
1/1

