mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-21 07:46:12 +08:00
c73ad5b4da
start the application. Both scripts perform simple checks to autodetect the proxmark device.
17 lines
309 B
Bash
Executable file
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
|