Hi I’m trying to connect the BlackMagic probe to a SAMD21J18A Autonomo/Sodaq over SWD (not JTAG). I don’t seem to have any luck in getting the basics connecting even the first time. I wonder what are your .ini settings. On Win10 the BlackMagic is configuring as COM8 and COM9. This is what I’m using
Now i’m seeing some of the same - fragile operation with BlackMagicProbe BMP21 ver 1.6
It downloads and on a clean boot system will run. But on subsequent attempts
so with it running and trying to load an update I get
Archiving .pioenvssodaq_autonomolibFrameworkArduino.a
Linking .pioenvssodaq_autonomoirmware.elf
Checking size .pioenvssodaq_autonomoirmware.elf
Building .pioenvssodaq_autonomoirmware.bin
Memory Usage → Redirecting...
DATA: [= ] 9.2% (used 3028 bytes from 32768 bytes)
PROGRAM: [= ] 6.0% (used 15692 bytes from 262144 bytes)
[SUCCESS] Took 17.57 seconds
Reading symbols from c:\Users\neilxx\Documents\Arduino\env03\ModularSensors\a\atlAuto.pioenvs\sodaq_autonomo\firmware.elf…
done.
PlatformIO Unified Debugger > Redirecting...
PlatformIO: Initializing remote target…
Target voltage: 3.3V
Available Targets:
No. Att Driver
1 Atmel SAMD21J18A (rev D)
Temporary breakpoint 1 at 0x43e2: file C:\Users\neilh77.platformio\packages\framework-arduinosam\cores\sodaq\main.cpp, line 35.
Loading section .text, size 0x3c34 lma 0x2000
Loading section .ramfunc, size 0x60 lma 0x5c34
Loading section .ARM.exidx, size 0x8 lma 0x5c94
Loading section .data, size 0x110 lma 0x5c9c
Start address 0x4320, load size 15788
Transfer rate: 19 KB/sec, 830 bytes/write.
PlatformIO: Initialization completed
PlatformIO: Resume the execution to debug_init_break = tbreak main
Note: automatically using hardware breakpoints for read-only addresses.
Cannot execute this command while the target is running.
Cannot execute this command while the target is running.