--- ** [tickets:#366] Cannot Connect to A53 Core of AM65x_GP_EVM** **Status:** new **Milestone:** 0.11.0 **Created:** Tue Oct 04, 2022 12:21 AM UTC by Ben Roytburd **Last Updated:** Tue Oct 04, 2022 12:21 AM UTC **Owner:** nobody Cannot connect to A53 core of the AM65x_GP_EVM development board using OpenOCD, GDB, and XDS110 debugger. In I am using OpenOCD version 0.12.0-rc1 to try and connect to the AM65x_GP_EVM platform (am6548). When I try to connect over GDB I get the following error (3334 is the A53_0 core): ~~~ (gdb) target extended-remote localhost:3334 Remote debugging using localhost:3334 Remote connection closed (gdb) ~~~ I started OpenOCD using the command: `openocd -d -f "C:\Program Files (x86)\openocd-v0.12.0-rc1-i686-w64-mingw32\share\openocd\scripts\board\ti_am654evm.cfg" -c "gdb_breakpoint_override hard"` Here is the OpenOCD log after I enter that target extended-remote command: ~~~ Info : 259 23165 server.c:90 add_connection(): accepting 'gdb' connection on tcp/3334 Debug: 260 23190 breakpoints.c:363 breakpoint_clear_target_internal(): Delete all breakpoints for target: am654.cpu.a53.0 Debug: 261 23233 breakpoints.c:543 watchpoint_clear_target(): Delete all watchpoints for target: am654.cpu.a53.0 Debug: 262 23242 target.c:1845 target_call_event_callbacks(): target event 22 (gdb-attach) for core am654.cpu.a53.0 Debug: 263 23248 target.c:5093 target_handle_event(): target(1): am654.cpu.a53.0 (aarch64) event: 22 (gdb-attach) action: _cpu_no_smp_up # gdb-attach default rule halt 1000 Debug: 264 23253 command.c:155 script_debug(): command - target current Debug: 265 23256 command.c:155 script_debug(): command - am654.cpu.a53.0 cget -type Debug: 266 23259 command.c:155 script_debug(): command - am654.cpu.a53.0 arp_examine Debug: 267 23262 arm_adi_v5.c:1095 dap_get_ap(): refcount AP#0x0 get 1 Debug: 268 23265 arm_adi_v5.c:1120 dap_put_ap(): refcount AP#0x0 put 0 Debug: 269 23266 arm_adi_v5.c:1095 dap_get_ap(): refcount AP#0x1 get 7 Debug: 270 23269 arm_adi_v5.c:1040 dap_find_get_ap(): Found MEM-AP APB2 or APB3 at AP index: 1 (IDR=0x54770002) Debug: 271 23274 arm_adi_v5.c:826 mem_ap_init(): MEM_AP Packed Transfers: disabled Debug: 272 23278 arm_adi_v5.c:837 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0 Debug: 273 23281 adi_v5_jtag.c:651 jtagdp_transaction_endcheck(): jtag-dp: CTRL/STAT 0xf0000021 Error: 274 23283 adi_v5_jtag.c:662 jtagdp_transaction_endcheck(): JTAG-DP STICKY ERROR Debug: 275 23286 aarch64.c:2591 aarch64_examine_first(): Examine oslock failed User : 276 23289 target.c:5118 target_handle_event(): Error executing event gdb-attach on target am654.cpu.a53.0: C:/Program Files (x86)/openocd-v0.12.0-rc1-i686-w64-mingw32/bin/../share/openocd/scripts/target/ti_k3.cfg:198: Error: in procedure '_cpu_no_smp_up' called at file "C:/Program Files (x86)/openocd-v0.12.0-rc1-i686-w64-mingw32/bin/../share/openocd/scripts/target/ti_k3.cfg", line 226 at file "C:/Program Files (x86)/openocd-v0.12.0-rc1-i686-w64-mingw32/bin/../share/openocd/scripts/target/ti_k3.cfg", line 198 Info : 277 23305 gdb_server.c:1070 gdb_new_connection(): New GDB Connection: 1, Target am654.cpu.a53.0, state: examine deferred Error: 278 23309 gdb_server.c:1078 gdb_new_connection(): Target am654.cpu.a53.0 not examined yet, refuse gdb connection 1! Error: 279 23313 server.c:94 add_connection(): attempted 'gdb' connection rejected ~~~ --- Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/openocd/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.