On Tue, 2011-12-20 at 17:04 +0100, Steve Battazzo wrote:
> Hi all,
>
> I have connected a new JTAG debugger based on FT2232D to our OR1200
> using OpenOCD.
> This basically works OK, but the two LED indicators are always
> alternately flashing after I connect.
> Then, when I make a connection to GDB, I see the following messages:
>
> Warn : acknowledgement received, but no packet pending
> undefined debug reason 6 - target needs reset
>
> It's a bit inconsistent, but I also get strange behavior in GDB. It
> appears that loading the elf files is working very well, but about half
> of the time when I run "c" I get something like:
> "The target is not in the halted nor runing stated, stepi/continue
> ignored."
> followed by:
> "Program received signal SIGINT, Interrupt."
>
> At this point, the execution is at address 0x104 so it's happening on
> the first instruction.
>
> Anybody seen something like this?
> Or does anyone have any recommendation of what I can do to start looking
> at why this might be happening?
Hi Steve,
You might want to turn on the GDB flag to trace the debug packets being
sent and received. From memory I think it is
set debug remote 1
That may give you a clue. You'll need to look at the section on the
Remote Serial Protocol in the GDB manual. But it is a simple protocol,
so it should be clear if you are getting nonsense in a reply packet.
HTH,
Jeremy
--
Tel: +44 (1590) 610184
Cell: +44 (7970) 676050
SkypeID: jeremybennett
Email: [email protected]
Web: www.embecosm.com
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc