Flash an adapter
Writes ferrocan onto an adapter over USB, from this page: no tools to install.
This browser can't reach USB devices. The flasher needs WebUSB, which Chrome and Edge have on desktop and Android; Firefox and Safari don't.
Use one of those, or flash with dfu-util and the images of a release (see the README).
1Firmware
- Loading…
Flash a file of your own instead
A .bin image you built, such as from scripts/release.sh. The flasher can't tell whether it's right for your adapter.
2Adapter
Plug the adapter in and connect it. One running ferrocan or candleLight restarts in its bootloader by itself; your browser then asks once more, for the bootloader. An adapter with other firmware needs its BOOT switch on before it's plugged in.
Log
If it doesn't find the adapter
Linux
The browser needs access to the adapter and to ST's bootloader. A udev rule such as this, in /etc/udev/rules.d/70-ferrocan.rules, gives it to the logged-in user:
SUBSYSTEM=="usb", ATTR{idVendor}=="1d50", ATTR{idProduct}=="606f", TAG+="uaccess"
SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="df11", TAG+="uaccess"
Then sudo udevadm control --reload and replug the adapter.
Windows
ferrocan asks Windows for its WinUSB driver itself, but ST's ROM bootloader doesn't: the first time, install WinUSB for "STM32 BOOTLOADER" (or "DFU in FS Mode") with Zadig while the adapter is in its bootloader.
Back to the old firmware
With "Save the firmware it has now first" ticked, the flasher offers the old firmware as a file once it's done. Flash that file the same way, under "Flash a file of your own instead".