Arduino_Boards icon indicating copy to clipboard operation
Arduino_Boards copied to clipboard

Fix Burn Bootloader SAMD.

Open chocotov1 opened this issue 3 years ago • 1 comments

When trying to burn the bootloader of my samd board the following openocd error would appear:

Error: couldn't open {/home/chocotov1/Arduino/hardware/sparkfun/samd/bootloaders/zero/Sparkfun_SAMD21_ProRF.bin}

The openocd command that was executed as seen in the console:

home/chocotov1/.arduino15/packages/arduino/tools/openocd/0.10.0-arduino7/bin/openocd -d2 -s /home/chocotov1/.arduino15/packages/arduino/tools/openocd/0.10.0-arduino7/share/openocd/scripts/ -f /home/chocotov1/Arduino/hardware/sparkfun/samd/variants/SparkFun_ProRF/openocd_scripts/arduino_zero.cfg -c telnet_port disabled; init; halt; at91samd bootloader 0; program {{/home/chocotov1/Arduino/hardware/sparkfun/samd/bootloaders/zero/Sparkfun_SAMD21_ProRF.bin}} verify reset; shutdown

chocotov1 avatar Aug 21 '20 22:08 chocotov1

The changed line 186 solved my problem. Since line 213 looks so similar I changed it there too.

chocotov1 avatar Aug 21 '20 22:08 chocotov1