I tried to post this to the forum at sparkfun but was denied with:

Internal Server Error
   The server encountered an internal error or misconfiguration and
was unable to complete your request. Your administrator may not have
enabled CGI access for this directory.

Thinking about it more, perhaps this is really the right place to
begin this topic.

BEGIN ORIGINAL POST
Hi all,

I did a search on the forum archives and couldn't find another
instance of this problem.  If I missed something, please let me know.

I'm using

Open On-Chip Debugger 0.1.0 (2009-03-04-15:47) Release

on Ubuntu 8.10 Host

Linux 2.6.27-14-generic #1 SMP Fri Mar 13 19:54:51 UTC 2009 x86_64 GNU/Linux

with AT91SAM7x256 with an Olimex ARM-USB-OCD JTAG.

When I set a breakpoint in some initialization code (early during
startup) with arm-elf-gdb, GDB properly stops the board when it hits
the breakpoint.  However, when I try to step or next or anything, I
get this from arm-elf-gdb:

Watchdog has expired.  Target detached.

Nothing appears in the openocd log file.  Here is a backtrace on
openocd for one such event.

Starting program: /usr/local/bin/openocd -s . -s ../../build -s
../../build/conf --log_output openocd.log
Open On-Chip Debugger 0.1.0 (2009-03-04-15:47) Release


BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS


$URL: 
https://kc8...@svn.berlios.de/svnroot/repos/openocd/tags/openocd-0.1.0/src/openocd.c
$

Program received signal SIGSEGV, Segmentation fault.
buf_get_u32 (buffer=0x0, first=0, num=32) at ../../src/helper/binarybuffer.h:58
58                      return
(((u32)buffer[3])<<24)|(((u32)buffer[2])<<16)|(((u32)buffer[1])<<8)|(((u32)buffer[0])<<0);
(gdb) bt
#0  buf_get_u32 (buffer=0x0, first=0, num=32) at
../../src/helper/binarybuffer.h:58
#1  0x000000000042b211 in arm_simulate_step (target=0x16dead0,
dry_run_pc=0x7fff3bf7da64) at arm_simulator.c:418
#2  0x0000000000418564 in arm7_9_step (target=0x16dead0,
current=<value optimized out>, address=<value optimized out>,
handle_breakpoints=255)
   at arm7_9_common.c:1765
#3  0x00000000004738af in gdb_input_inner (connection=0x16ca250) at
gdb_server.c:2111
#4  0x00000000004738e9 in gdb_input (connection=0x0) at gdb_server.c:2175
#5  0x000000000046ec96 in server_loop (command_context=0x16b2010) at
server.c:443
#6  0x00000000004030ab in openocd_main (argc=9, argv=0x7fff3bf7dd28)
at openocd.c:280
#7  0x00007f70333f9466 in __libc_start_main () from /lib/libc.so.6
#8  0x0000000000402d29 in _start ()

I built openocd with --enable-jlink and --enable-ft2232_libftdi.

This crash kills openocd every time.  Any ideas?

  Warm regards,
  Ken
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to