diff --git a/firmware/flash_dfu.bat b/firmware/flash_dfu.bat index 4f35e6c134..c9edee531a 100644 --- a/firmware/flash_dfu.bat +++ b/firmware/flash_dfu.bat @@ -1,16 +1,7 @@ -rem -rem ..\misc\encedo_hex2dfu\hex2dfu.exe -i build/rusefi.hex -o build/rusefi.dfu rem on linux that would be rem dfu-util -a 0 -D rusefi_no_asserts.dfu -R -DfuSeCommand.exe -c -d --fn deliver/rusefi.dfu +STM32_Programmer_CLI.exe -c port=usb1 -w deliver/rusefi.hex -v -s -rem to read from comtroller use -rem DfuSeCommand.exe -c -u --fn downloaded.dfu - -rem Note that DfuSe_Demo_V3.0.6_Setup.exe does not install "stm32 bootloader" device drivers automaticaly -rem You need to point Windows at a relevant folder inside C:\Program Files (x86)\STMicroelectronics\Software\DfuSe v3.0.6\Bin\Driver - -rem DfuSeCommand.exe -c -d --fn rusefi.dfu