Hey!
I got some Tangara PCBs (w/ assembly) from pcbway, and I'm trying to flash them, and I ... kinda didn't realize the SAMD21 wouldn't have a bootloader on it 😅.
I tried setting up a PI Pico w/ the picoprobe firmware to flash it, with a pogo pin clip on the edge of the board with the SAMD SWD pads, and... no luck trying to flash it - I just get this error when trying:
Anything obvious I'd be missing when trying to flash the bootloader? I have it connected like this:
Pico GP3 -> SWDIO
Pico GP2 -> SWCLK
Pico GP1 -> RST
Pico GND -> GND (ofc)
Pico 3v3 -> VREF (also tried leaving unconnected, didn't affect anything)
Update: got it working - I just need to not connect reset, it seems.
I got some Tangara PCBs (w/ assembly) from pcbway, and I'm trying to flash them, and I ... kinda didn't realize the SAMD21 wouldn't have a bootloader on it 😅.
I tried setting up a PI Pico w/ the picoprobe firmware to flash it, with a pogo pin clip on the edge of the board with the SAMD SWD pads, and... no luck trying to flash it - I just get this error when trying:
Code:
❯ openocd -f interface/cmsis-dap.cfg -f target/at91samdXX.cfg -c "adapter speed 5000" -c "program bootloader-tangara-bc1632d.elf verify reset exit"
Open On-Chip Debugger 0.12.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
adapter speed: 5000 kHz
Info : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E66488C15F973A39
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: Test domain timer supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 0 SWDIO/TMS = 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0
Info : CMSIS-DAP: Interface ready
Info : clock speed 5000 kHz
Error: Error connecting DP: cannot read IDR
in procedure 'program'
** OpenOCD init failed **
shutdown command invokedAnything obvious I'd be missing when trying to flash the bootloader? I have it connected like this:
Pico GP3 -> SWDIO
Pico GP2 -> SWCLK
Pico GP1 -> RST
Pico GND -> GND (ofc)
Pico 3v3 -> VREF (also tried leaving unconnected, didn't affect anything)
Update: got it working - I just need to not connect reset, it seems.





