proxmark3/update.sh
57ca2b96b7444cb986b2d6cf51d25ffd86c57743 c73ad5b4da Some basic BASH scripts to help update the proxmark firmware and to
start the application.  Both scripts perform simple checks to
autodetect the proxmark device.
2017-10-23 18:15:02 -04:00

17 lines
309 B
Bash
Executable file

#!/bin/bash
function wait4proxmark {
echo "Waiting for Proxmark to appear..."
while [ ! -e /dev/ttyACM? ]; do
sleep .1
done
}
# flash bootroom
wait4proxmark
client/flasher /dev/ttyACM? -b bootrom/obj/bootrom.elf
# flash system image
wait4proxmark
client/flasher /dev/ttyACM? armsrc/obj/fullimage.elf