On Mon, 2009-07-06 at 17:25 +0200, Øyvind Harboe wrote: > Can you try again with svn head? > > The line #'s in the backtrace are off. > >
Sorry - I should have known better Program received signal SIGSEGV, Segmentation fault. target_buffer_get_u32 (target=0x82e6a20, buffer=0x830c000 <Address 0x830c000 out of bounds>) at ../../src/helper/types.h:80 80 return (uint32_t)(buf[0] | buf[1] << 8 | buf[2] << 16 | buf[3] << 24); (gdb) (gdb) where #0 target_buffer_get_u32 (target=0x82e6a20, buffer=0x830c000 <Address 0x830c000 out of bounds>) at ../../src/helper/types.h:80 #1 0x0806f722 in arm7_9_write_memory (target=0x82e6a20, address=65600, size=4, count=1750, buffer=0x830c004 <Address 0x830c004 out of bounds>) at arm7_9_common.c:2450 #2 0x0806e9f5 in arm7_9_bulk_write_memory (target=0x82e6a20, address=65600, count=1750, buffer=0x830bd30 "") at arm7_9_common.c:2656 #3 0x08061ced in target_write_buffer (target=0x82e6a20, address=65600, size=7000, buffer=0x830bd30 "") at target.c:1167 #4 0x080b7601 in aduc702x_write (bank=0x82ebd40, buffer=0x830bd30 "", offset=0, count=7176) at aduc702x.c:284 #5 0x0805e86b in flash_driver_write (bank=0x82ebd40, buffer=0x0, offset=0, count=38676) at flash.c:94 #6 0x0805f320 in flash_write (target=0x82e6a20, image=0xbf8a5084, written=0xbf8a50b8, erase=0) at flash.c:1138 #7 0x0805ff0d in handle_flash_write_image_command (cmd_ctx=0x82e67e8, cmd=0x82f8ee8 "write_image", args=0x82da5bc, argc=3) at flash.c:699 #8 0x0809c76c in run_command (context=0x82e67e8, c=0x82f8ef8, words=0x82da5b8, num_words=4) at command.c:415 #9 0x0809ca12 in script_command (interp=0x82ca020, argc=4, argv=0xbf8a51a0) at command.c:142 #10 0x080e7e02 in Jim_EvalObj (interp=0x82ca020, scriptObjPtr=0x82fba48) at jim.c:8708 #11 0x080ed967 in Jim_EvalCoreCommand (interp=0x82ca020, argc=3, argv=0xbf8a5260) at jim.c:10846 #12 0x080e7e02 in Jim_EvalObj (interp=0x82ca020, scriptObjPtr=0x82da160) at jim.c:8708 #13 0x080ec30f in Jim_CatchCoreCommand (interp=0x82ca020, argc=2, argv=0xbf8a5320) at jim.c:11413 #14 0x080e7e02 in Jim_EvalObj (interp=0x82ca020, scriptObjPtr=0x82da9f8) at jim.c:8708 #15 0x080e94c3 in Jim_EvalExpression (interp=0x82ca020, exprObjPtr=0x82daa70, exprResultPtrPtr=0xbf8a547c) at jim.c:6927 #16 0x080ea241 in Jim_GetBoolFromExpr (interp=0x82ca020, exprObjPtr=0x82daa70, boolPtr=0xbf8a54b8) at jim.c:7210 #17 0x080ef0b4 in Jim_IfCoreCommand (interp=0x82ca020, argc=5, argv=0xbf8a5520) at jim.c:10297 #18 0x080e7e02 in Jim_EvalObj (interp=0x82ca020, scriptObjPtr=0x82fa630) at jim.c:8708 #19 0x080e84cb in JimCallProcedure (interp=0x82ca020, cmd=0x82fa7e0, argc=3, argv=0xbf8a5610) at jim.c:8857 #20 0x080e81a6 in Jim_EvalObj (interp=0x82ca020, scriptObjPtr=0x82da990) at jim.c:8714 #21 0x080e7e02 in Jim_EvalObj (interp=0x82ca020, scriptObjPtr=0x82ea5f8) at jim.c:8708 #22 0x080e7ec2 in Jim_EvalObj (interp=0x82ca020, scriptObjPtr=0x82e9ba0) at jim.c:8654 #23 0x080ef1bd in Jim_IfCoreCommand (interp=0x82ca020, argc=3, argv=0xbf8a5800) at jim.c:10319 #24 0x080e7e02 in Jim_EvalObj (interp=0x82ca020, scriptObjPtr=0x82e9150) at jim.c:8708 #25 0x080ef1bd in Jim_IfCoreCommand (interp=0x82ca020, argc=3, argv=0xbf8a58d0) at jim.c:10319 #26 0x080e7e02 in Jim_EvalObj (interp=0x82ca020, scriptObjPtr=0x82d0bc0) at jim.c:8708 #27 0x080e84cb in JimCallProcedure (interp=0x82ca020, cmd=0x82d6160, argc=5, argv=0xbf8a59bc) at jim.c:8857 #28 0x080e8780 in Jim_EvalObjVector (interp=0x82ca020, objc=6, objv=0xbf8a59bc) at jim.c:8424 #29 0x080e8878 in JimUnknown (interp=0x82ca020, argc=5, argv=0xbf8a5a40) at jim.c:8383 #30 0x080e8207 in Jim_EvalObj (interp=0x82ca020, scriptObjPtr=0x82d8cd0) at jim.c:8723 #31 0x080e8fa2 in Jim_Eval_Named (interp=0x82ca020, script=0x82da218 "flash write_image C0-4AD2DA-1.elf 0x80000 elf", filename=0x8106889 "command.c", lineno=469) at jim.c:8901 #32 0x0809c682 in command_run_line (context=0x82e67e8, line=0x82da218 "flash write_image C0-4AD2DA-1.elf 0x80000 elf") at command.c:469 #33 0x080989ed in telnet_input (connection=0x82e4be8) at telnet_server.c:330 #34 0x08099f40 in server_loop (command_context=0x82ca008) at server.c:433 #35 0x0804a5dc in openocd_main (argc=3, argv=0xbf8a61f4) at openocd.c:283 #36 0x0804a332 in main (argc=Cannot access memory at address 0x830c000 ) at main.c:39 (gdb) _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development