OpenOCD ATSAMD51 support and Atmel ICE config

Open source ARM Debugger

Moderator: phalanx

Post Reply
Posts: 1
Joined: Wed May 23, 2018 6:50 am

OpenOCD ATSAMD51 support and Atmel ICE config

Post by tfranco_apexar » Wed May 23, 2018 7:14 am

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)

Post Reply