|
Message
From: olivercamel at gmail.com<olivercamel@g...>
Date: Wed Apr 9 18:32:35 CEST 2008
Subject: [openrisc] What cable you are using for debugging or1200?
To Mark:Thanks! That's more like what I want. I would like to try your suggestions if I got some free time. Unfortunately I don't have much neither. :) But I believe some of them will finally work. It is only a matter of time.
To the List:
Meanwhile I am also trying to use the or1ksim to setup an off-line simulation environment. Now I meet a problem, which is I cannot call the or1ksim in GDB by passing a command like "sim r". Every time the GDB returns "Command not supported on this target." Can somebody give me some hints please?
I am working in Windows/cygwin, with the pre-build tool chain package downloaded from the "GNU tool chain port" page. My simulator works at port 9999 and or32-uclinux-gdb has successfully connected to it by the command: (gdb) target jtag jtag://localhost:9999
Then I can "load", "step" and "info spr SYS ..." and whatever, but cannot use "sim" command to control or1ksim directly. It is strange because the manual says it is possible to do like this. And I would like to use this feature because "sim r" is much better than "info ...".
By the way, I tried "(gdb) target sim" too. It returns "0x1234 in ?? ()", but cannot respond "step" or "next" or other commands after "load".
Thanks.
Xiang Li 4.9
----- Original Message ----- From: Mark<mark@j...> To: Date: Sat Apr 5 16:30:26 CEST 2008 Subject: [openrisc] What cable you are using for debugging or1200?
> I use the Xilinx Parallel IV cable (and jp2). > You could probably hack something together for the Xilinx Platform > USB > cable by mixing code from this driver > (http://rmdir.de/~michael/xilinx/) > and jp2. I've been meaning to try this, but I just haven't had the > time. > You could also probably hack together something based on an > FTDI2232. I > bought one of these (http://www.dlpdesign.com/usb/2232m.shtml) to > experiment with but, again, no time. > Another alternative is to try something like this > (http://www.amontec.com/jtagkey.shtml) or this > (http://www.amontec.com/jtagkey-tiny.shtml), both of which are > FTDI2232-based. You might be able to mix code from OpenOCD into > jp2. >
|
 |