example for dfu-utils
This commit is contained in:
parent
9367098259
commit
2f369e1d38
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user