diff --git a/stm32/Q1-Makefile b/stm32/Q1-Makefile index 6fd97ee0..d05d7126 100644 --- a/stm32/Q1-Makefile +++ b/stm32/Q1-Makefile @@ -29,11 +29,15 @@ dfu-up: dev.dfu up2: dev.dfu $(PYTHON_DO_DFU) -u dev.dfu -# Super fast, assumes Coldcard already attached and unlock on this Mac. +# Super fast, assumes Coldcard already attached and unlocked on this Mac. up: dev.dfu cp dev.dfu /Volumes/COLDCARD/. diskutil eject /Volumes/COLDCARD +# Slowest DFU, but easier w/ stock tools +dfu-slow: dev.dfu + dfu-util -d 0483:df11 -a 0 -D $< -R + # Fairly fast, assumes openocd already running, and its current directory is here. ocp-up: dev.dfu echo "load_image dev.dfu $(FIRMWARE_BASE) bin; reset run" | nc localhost 4444