recover.sh: dont fail if panda already in DFU mode
parent
4906dc7b22
commit
f146aa367b
|
@ -5,7 +5,7 @@ DFU_UTIL="dfu-util"
|
||||||
|
|
||||||
scons -u
|
scons -u
|
||||||
|
|
||||||
PYTHONPATH=.. python3 -c "from python import Panda; Panda().reset(enter_bootstub=True); Panda().reset(enter_bootloader=True)"
|
PYTHONPATH=.. python3 -c "from python import Panda; Panda().reset(enter_bootstub=True); Panda().reset(enter_bootloader=True)" || true
|
||||||
sleep 1
|
sleep 1
|
||||||
$DFU_UTIL -d 0483:df11 -a 0 -s 0x08004000 -D obj/panda.bin.signed
|
$DFU_UTIL -d 0483:df11 -a 0 -s 0x08004000 -D obj/panda.bin.signed
|
||||||
$DFU_UTIL -d 0483:df11 -a 0 -s 0x08000000:leave -D obj/bootstub.panda.bin
|
$DFU_UTIL -d 0483:df11 -a 0 -s 0x08000000:leave -D obj/bootstub.panda.bin
|
||||||
|
|
Loading…
Reference in New Issue