Hello I am using SAMD51G18A cpu and I try to flash it with Atmel Ice. I use Openocd as SW tool. I am working on debian. I've dowload Openocd on github to be sure that it support this cpu.
I read this tutorial: https://www.omzlo.com/articles/p...(updated)
I have this openocd.cfg
# Atmel-ICE JTAG/SWD in-circuit debugger.
# Chip info
set CHIPNAME samd51g19a
source [find target/atsame5x.cfg]
but I have this error when I started openocd
Open On-Chip Debugger 0.10.0+dev-00957-g9de7d9c8 (2019-11-08-17:24)
Licensed under GNU GPL v2
For bug reports, read
Info : only one transport option; autoselect 'aice_jtag'
/usr/local/bin/../share/openocd/scripts/target/swj-dp.tcl:30: Error: Unknown param: -irlen, try one of: or -expected-id
in procedure 'script'
at file "embedded:startup.tcl", line 26
at file "openocd.cfg", line 6
in procedure 'swj_newdap' called at file "/usr/local/bin/../share/openocd/scripts/target/atsame5x.cfg", line 37
at file "/usr/local/bin/../share/openocd/scripts/target/swj-dp.tcl", line 30
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
what am I doing wrong? Thanks for your help.