---

** [tickets:#240] openocd fails using ATMEL ICE initialization debugging of 
SAMD51**

**Status:** new
**Milestone:** 0.9.0
**Created:** Thu May 30, 2019 10:36 PM UTC by Anthony Kaul
**Last Updated:** Thu May 30, 2019 10:36 PM UTC
**Owner:** nobody


Issue first reported here:
https://github.com/platformio/platform-atmelsam/issues/59

Trying to debug SAMD5J19A

openocd.cfg:

~~~
# Atmel-ICE JTAG/SWD in-circuit debugger.
interface cmsis-dap
cmsis_dap_vid_pid 0x03eb 0x2141

# Chip info 
set CHIPNAME at91samd51j19a
source [find target/at91samdXX.cfg]

cmsis_dap_serial J4180009XXXX
~~~

> Open On-Chip Debugger 0.10.0 (2019-04-26) 
> [https://github.com/sysprogs/openocd]
> Licensed under GNU GPL v2
> For bug reports, read
>         http://openocd.org/doc/doxygen/bugs.html
> Info : auto-selecting first available session transport "swd". To override 
> use 'transport select <transport>'.
> none separate
> adapter speed: 400 kHz
> cortex_m reset_config sysresetreq
> Info : Listening on port 6666 for tcl connections
> Info : Listening on port 4444 for telnet connections
> Info : CMSIS-DAP: SWD  Supported
> Info : CMSIS-DAP: JTAG Supported
> Info : CMSIS-DAP: FW Version = 01.27.0082
> Info : CMSIS-DAP: Serial# = J41800093192
> Info : CMSIS-DAP: Interface Initialised (SWD)
> Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
> Info : CMSIS-DAP: Interface ready
> Info : clock speed 400 kHz
> Info : SWD DPIDR 0x2ba01477
> Info : at91samd51j19a.cpu: hardware has 6 breakpoints, 4 watchpoints
> Info : Listening on port 3333 for gdb connections
> Info : accepting 'gdb' connection on tcp/3333
> Error: Couldn't find part corresponding to DID 60060005
> Error: auto_probe failed
> Error: Connect failed. Consider setting up a gdb-attach event for the target 
> to prepare target for GDB connect, or use 'gdb_memory_map disable'.
> Error: attempted 'gdb' connection rejected


DID 60060005 is correct according to AS7
VID and PID are correct according to device manager


---

Sent from sourceforge.net because [email protected] 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.
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to