From f44c6fe5318362ae1775f065c38c203da2920a50 Mon Sep 17 00:00:00 2001 From: Andrey G Date: Wed, 3 Apr 2024 11:14:29 +0300 Subject: [PATCH] Update readme.md --- lambda-x2/readme.md | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/lambda-x2/readme.md b/lambda-x2/readme.md index 861a96c..8de98ae 100644 --- a/lambda-x2/readme.md +++ b/lambda-x2/readme.md @@ -96,48 +96,50 @@ Rev0 share same UART for both interfaces. Two ways to program using STM32CubeProgrammer * recommended way: using UART connectivity. Power device up while shorting BOOT0 jumper to enter DFU mode. -* st-link if you have tc2030 spring-loaded cable. +* st-link if you have tc2030 spring-loaded cable or have 10 pin JTAG connector populated. * update over CAN or UART (J3) using OpenBLT (update over BT is in progress) -TL,DR: 9600 nothing connected on main connector - -![image](https://github.com/rusefi/rusefi-hardware/assets/48498823/dac36691-878c-45d1-a2d9-7ee26409be4e) - ## Updating over UART using DFU mode 1. Disconnect main connector. If you are going to apply +12V power through main connector - make sure that nothing else is connected to WBO (LSU sensors, any load, etc). But I recommend flash using +5V from USB. 3. connect USB to uart connector to J3 connector: gnd, rx and tx. Don't forget to cross Rx-`Tx (adapter's Tx goes to WBO's Rx, WBO's Tx goes to adapter's Rx). -If you going to power WBO from USB port - also attach 5V line. Do not connect +5 from USB adapter if you are going to use +12V supply through main connector. +If you going to power WBO from USB port - also attach 5V line. Do not connect +5 from USB adapter if you are going to use +12V supply through main connector. + ![20230923_125247](https://github.com/rusefi/rusefi-hardware/assets/28624689/04b9595a-4832-4e9d-92f6-b6955232a969) 3. Download and install STM32 Flash Loader Demonstrator. (Alternative tool is stm32flash - not covered in this instruction) -5. Figure out USB to serial serial port number: +5. Figure out USB to serial serial port number: + ![device manager](https://github.com/rusefi/rusefi-hardware/assets/28624689/6bf0a0fc-8c34-4061-bd9a-e3c64491b45d) 5. Start Flash Loader Demonstrator GUI application, select correct COM port. Optional: reduce timeout to 1 second: + ![stm32 flasher](https://github.com/rusefi/rusefi-hardware/assets/28624689/b5a6767c-59d1-41b7-a17b-9218185aa7b0) -6. Press and hold BOOT0 button on the bottom of PCB. Or short BOOT0 PCB jumper if button is not populated on your board. +7. Press and hold BOOT0 button on the bottom of PCB. Or short BOOT0 PCB jumper if button is not populated on your board. Also see "DFU mode/floating PB2" in "Known Issues" section 8. Apply power (while holding BOOT0 button) to board and press Next in application. After app detects chip you should see something similar to: + ![stm32 flasher 2](https://github.com/rusefi/rusefi-hardware/assets/28624689/bc78d3d1-68d1-4648-b5f3-19e4711ce60b) 8. Press next, select "Download to device", select wideband.bin file. Select "Jump to user application" and "Verify after download" + ![stm32 flasher 3](https://github.com/rusefi/rusefi-hardware/assets/28624689/aa6137e8-ad5c-4747-9fae-2e42df8d1ff3) -9. Press Next and wait for flash/verification ends. - ![stm32 flasher 4](https://github.com/rusefi/rusefi-hardware/assets/28624689/329a686d-6a6e-42fe-9674-fb4d2ad88d72) +10. Press Next and wait for flash/verification ends. + +![stm32 flasher 4](https://github.com/rusefi/rusefi-hardware/assets/28624689/329a686d-6a6e-42fe-9674-fb4d2ad88d72) ## Updating using JTAG DBD. -## Update using OpenBLT +## Update using OpenBLT (over serial port) OpenBLT https://www.feaser.com/openblt/doku.php @@ -147,6 +149,14 @@ OpenBLT https://www.feaser.com/openblt/doku.php 3. Open BootCommander, select correct serial port, select wideband_update.srec file. +## Update using OpenBLT (over CAN) + +TBD + +## Update using OpenBLT (over Bluetooth) + +TBD + # Changelog ## rev 1