openblt doesn't work proteus f7 #3483

This commit is contained in:
rusefillc 2022-02-12 11:48:00 -05:00
parent 5310d022ce
commit dca64a6b4e
3 changed files with 8 additions and 1 deletions

View File

@ -5,8 +5,14 @@
# You may want to bring can0 interface up first:
# sudo ip link set can0 type can bitrate 500000 ; sudo ifconfig can0 up
# Sometimes (after communication errors) you may like to restart interface with:
# make sure that you have termination resistor
# sudo ifconfig can0 down; sudo ip link set can0 type can bitrate 500000 ; sudo ifconfig can0 up
# sudo apt-get install can-utils
# candump can0
/sbin/ifconfig can0 | grep RUNNING
echo This script assumes that you are using can0 interface and it is ready, otherwise read comments inside
echo This script assumes that you have BootCommander somewhere in your PATH, otherwise read comments inside
BootCommander -t=xcp_can -d=can0 deliver/rusefi_update.srec

View File

@ -4,4 +4,4 @@
# User should prefer to flash composite image,
# see flash_dfu.sh/flash_dfu.bat
dfu-util --alt 0 --download deliver/openblt.dfu --reset
sudo dfu-util --alt 0 --download deliver/openblt.dfu --reset

View File

@ -0,0 +1 @@
sudo dfu-util --alt 0 -s 0x8000000:mass-erase:force