DFU flasher: permissions and address

This commit is contained in:
Igor Biletksyy 2022-08-25 10:24:25 -07:00
parent 6c7b3331f0
commit 1776165a3d
1 changed files with 1 additions and 1 deletions

2
board/dfu_util_f4.sh Normal file → Executable file
View File

@ -7,5 +7,5 @@ scons -u -j$(nproc)
PYTHONPATH=.. python3 -c "from python import Panda; Panda().reset(enter_bootstub=True); Panda().reset(enter_bootloader=True)" || true
sleep 1
$DFU_UTIL -d 0483:df11 -a 0 -s 0x08020000 -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