|
From: Jorge V. <jor...@gm...> - 2014-06-27 20:43:25
|
I am trying to use gdb + openocd + beaglebone but I am having one segfault at openocd. The ftdi interface is at 0403:6010 and I did the fix in the configuration files to connect properly. adapter speed: 16000 kHz trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst Info : clock speed 16000 kHz Info : JTAG tap: am335x.jrc tap/device found: 0x0b94402f (mfg: 0x017, part: 0xb944, ver: 0x0) Info : JTAG tap: am335x.dap enabled but when gdb connect I get the exception below. Info : 403 15641 server.c:83 add_connection(): accepting 'gdb' connection from 3333 Debug: 404 15641 breakpoints.c:359 breakpoint_clear_target_internal(): Delete all breakpoints for target: am335x.cpu Debug: 405 15641 breakpoints.c:499 watchpoint_clear_target(): Delete all watchpoints for target: am335x.cpu Debug: 406 15641 target.c:1401 target_call_event_callbacks(): target event 23 (gdb-attach) Debug: 407 15641 target.c:4079 target_handle_event(): target: (0) am335x.cpu (cortex_a) event: 23 (gdb-attach) action: cortex_a dbginit halt Debug: 408 15641 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cortex_a dbginit Debug: 409 15641 command.c:145 script_debug(): command - ocd_cortex_a ocd_cortex_a dbginit Error: 411 15641 cortex_a.c:2617 cortex_a8_handle_dbginit_command(): target not examined yet Debug: 412 15641 command.c:628 run_command(): Command failed with error code -4 User : 413 15641 command.c:546 command_print(): in procedure 'cortex_a' Debug: 414 15641 gdb_server.c:986 gdb_new_connection(): New GDB Connection: 1, Target am335x.cpu, state: unknown Debug: 415 15641 gdb_server.c:2662 gdb_input_inner(): received packet: 'qSupported:multiprocess+;qRelocInsn+' Error: 416 15641 armv4_5.c:445 arm_reg_current(): Register map is not available yet, the target is not fully initialised Segmentation fault |