mirror of https://github.com/rusefi/rusefi-1.git
openblt doesn't work proteus f7 #3483
This commit is contained in:
parent
5310d022ce
commit
dca64a6b4e
|
@ -5,8 +5,14 @@
|
||||||
# You may want to bring can0 interface up first:
|
# You may want to bring can0 interface up first:
|
||||||
# sudo ip link set can0 type can bitrate 500000 ; sudo ifconfig can0 up
|
# sudo ip link set can0 type can bitrate 500000 ; sudo ifconfig can0 up
|
||||||
# Sometimes (after communication errors) you may like to restart interface with:
|
# 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 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 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
|
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
|
BootCommander -t=xcp_can -d=can0 deliver/rusefi_update.srec
|
||||||
|
|
|
@ -4,4 +4,4 @@
|
||||||
# User should prefer to flash composite image,
|
# User should prefer to flash composite image,
|
||||||
# see flash_dfu.sh/flash_dfu.bat
|
# 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
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
sudo dfu-util --alt 0 -s 0x8000000:mass-erase:force
|
Loading…
Reference in New Issue