SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By tfranco_apexar
Hello, I'm trying to program a SAMD51 using an ATMEL ICE (USB to SWD).
Unless I'm mistaken OpenOCD seems to lack support for this micro as the at91samdxx.cfg file is for cortex M0, not M4 files.
I've found the following tutorials that configure OpenOCD for a SAMD21, but I'm unsure if in my case the programming interface should be the CMSIS (like the tutorials) or the Jlink one (where the adapter is listed here in the debug adapter HW page) and more importantly how to go about building the.cfg file for this series of micros if it is not available in a version past the 0.9.0 I am on.

Config file tutorial:
Config file guidelines (section 6.3):

Adapter: ... r-Hardware ... figuration ... ND/4753379

Micro: ... 01507A.pdf

SAMD21 tutorials: ... -(updated)