Skip to content

Instantly share code, notes, and snippets.

@augustozanellato
Created October 11, 2018 16:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save augustozanellato/961dec48b881330dfd5a7ac34aa1e268 to your computer and use it in GitHub Desktop.
Save augustozanellato/961dec48b881330dfd5a7ac34aa1e268 to your computer and use it in GitHub Desktop.
OpenOCD Arduino Due (SAM3X8E) debug w/ STLink v2
source [find /interface/stlink-v2.cfg]
#transport type SWD
transport select hla_swd
#swd frequency
adapter_khz 1800
#sam3x8e cpuid
set CPUTAPID 0x2ba01477
source [find target/at91sam3XXX.cfg]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment