SAMD21 SDK

From ElectroDragon Wiki

Bootloader

  • install arduino samd board
  • board arduino zero (programming port)
  • programmer - Atmel EDBG
  • bootloader indication - D13 breathing LED

Log

Flash

  • Open On-Chip Debugger 0.10.0+dev-gf0767a31 (2018-06-11-13:36)
  • Licensed under GNU GPL v2
  • For bug reports, read
  • http://openocd.org/doc/doxygen/bugs.html
  • debug_level: 2
  • 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 : CMSIS-DAP: SWD Supported
  • Info : CMSIS-DAP: JTAG Supported
  • Info : CMSIS-DAP: Interface Initialised (SWD)
  • Info : CMSIS-DAP: FW Version = 01.00.0021
  • 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 0x0bc11477
  • Info : at91samd21g18.cpu: hardware has 4 breakpoints, 2 watchpoints
  • Info : Listening on port 3333 for gdb connections
  • target halted due to debug-request, current mode: Thread
  • xPSR: 0x21000000 pc: 0x0000293c msp: 0x20007fb0
  • target halted due to debug-request, current mode: Thread
  • xPSR: 0x21000000 pc: 0x00000614 msp: 0x20007ffc
  • ** Programming Started **
  • auto erase enabled
  • Info : SAMD MCU: SAMD21G18A (256KB Flash, 32KB RAM)
  • wrote 6656 bytes from file C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.8/bootloaders/zero/samd21_sam_ba.bin in 0.654518s (9.931 KiB/s)
  • ** Programming Finished **
  • ** Verify Started **
  • verified 6504 bytes in 0.566997s (11.202 KiB/s)
  • ** Verified OK **
  • ** Resetting Target **
  • shutdown command invoked