From 8d7b61fb9d4de7cb40209e92d2357a3b8fdf7b62 Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 21 Jan 2022 15:23:02 -0500 Subject: [PATCH] new board automation --- java_console/bin/f7_set_to_v12.bat | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 java_console/bin/f7_set_to_v12.bat diff --git a/java_console/bin/f7_set_to_v12.bat b/java_console/bin/f7_set_to_v12.bat new file mode 100644 index 0000000000..0b8cd54978 --- /dev/null +++ b/java_console/bin/f7_set_to_v12.bat @@ -0,0 +1,15 @@ + +cd ../console +java -jar rusefi_console.jar reboot_dfu + +sleep 2 + +cd STM32_Programmer_CLI +cd bin + +call stm32-full-erase.bat +STM32_Programmer_CLI.exe -c port=usb1 -w ../../../rusefi.hex -v -s + +cd ../.. +sleep 2 +java -jar rusefi_console.jar send_command "set engine_type 63" \ No newline at end of file