Wiki source code of 5. Firmware update
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | (% data-numbered-headings-start="4" style="--numbered-headings-start: 3;font-size: 0px;color: rgba(0, 0, 0, 0.0);margin-bottom: 0px; margin-top: 0px;" %) |
2 | = Firmware update = | ||
3 | |||
4 | == Introduction == | ||
5 | |||
6 | The document describes the steps to update the BMS Display firmware. | ||
7 | |||
8 | Required hardware and software: | ||
9 | |||
10 | * PC or laptop with Windows 10 or newer; | ||
![]() |
6.4 | 11 | * USB-CAN adapter – a device to communicate with the BMS Display; |
![]() |
1.1 | 12 | * [[ElectricDeviceMonitor>>https://movicomelectric.com/wa-data/public/site/app/ElectricDeviceMonitorSETUP.exe]] – a software to monitor and configure devices by Movicom Electric; |
![]() |
1.2 | 13 | * Firmware (*.srec) – a new firmware for the BMS Display. |
![]() |
1.1 | 14 | |
15 | == Updating process == | ||
16 | |||
17 | Follow the steps below: | ||
18 | |||
![]() |
6.4 | 19 | ~1. Connect the BMS Display to the USB-CAN adapter. If BMS USB-CAN used, move switches of the to the following positions: |
![]() |
1.1 | 20 | |
21 | * 120 Ohm – “I”; | ||
![]() |
1.5 | 22 | * +5V – “0”. |
![]() |
1.1 | 23 | |
![]() |
6.4 | 24 | 2. Connect the USB-CAN adapter to a PC. |
![]() |
1.1 | 25 | |
![]() |
4.9 | 26 | 4. If BMS USB-CAN used, move the switch “+5V” of the BMS USB-CAN to “I”. Otherwise power up the BMS Display. Check that the led of the BMS Display is blinking. |
![]() |
1.1 | 27 | |
28 | 5. Open the Device Manager* and determine a name of an appeared serial port (Click the right mouse button on the Start menu and select the “Device Manager” item): | ||
29 | |||
![]() |
1.5 | 30 | [[image:Battery management systems.BMS Logic 12.4\. Firmware update.WebHome@1733156153285-215.png||data-xwiki-image-style-alignment="center" height="377" width="382"]] |
![]() |
1.1 | 31 | |
32 | 6. Install and launch the ElectricDeviceMonitor. | ||
33 | |||
34 | 7. Click the “Updater” button: | ||
35 | |||
![]() |
1.5 | 36 | [[image:Battery management systems.BMS Logic 12.4\. Firmware update.WebHome@1733156153290-392.png||data-xwiki-image-style-alignment="center" height="320" width="296"]] |
![]() |
1.1 | 37 | |
![]() |
4.13 | 38 | 8. Select the corresponding CAN transport and click the “Settings” button to configure the adapter: select device or port name that corresponds to the USB-CAN adapter and 250 kbit/s baud rate. |
![]() |
1.1 | 39 | |
![]() |
2.2 | 40 | [[image:1740738923079-336.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true"]] |
![]() |
1.1 | 41 | |
![]() |
2.2 | 42 | 9. Click the “Browse…” button and open the new firmware file in .srec format. |
![]() |
1.1 | 43 | |
44 | **10. Boot the device to go into the bootloader mode.** | ||
45 | |||
![]() |
3.2 | 46 | * In the ElectricDeviceMonitor, select the menu “Tasks – Monitor - BMS Display 1.x”: |
![]() |
1.1 | 47 | |
![]() |
4.3 | 48 | [[image:1740739041707-667.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="295" width="300"]] |
![]() |
1.1 | 49 | |
50 | * Set the following connection settings and click the “Launch” button: | ||
![]() |
4.14 | 51 | ** device or port name that corresponds to the USB-CAN adapter; |
52 | ** baud rate: 250 kbit/s; | ||
![]() |
5.2 | 53 | ** BMS Display Node ID (20 by default). |
![]() |
1.1 | 54 | |
![]() |
5.2 | 55 | [[image:1740739961052-896.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="237" width="450"]] |
![]() |
1.1 | 56 | |
![]() |
6.2 | 57 | * In the opened window, click the “Send” button under "Reset and start bootloader" section. The device will reboot and will be waiting commands to update the firmware. |
![]() |
1.1 | 58 | |
![]() |
6.2 | 59 | [[image:1740740038720-603.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="553" width="600"]] |
![]() |
1.1 | 60 | |
61 | * **Select the menu “Monitor - Stop” or click the “Stop” button to release the serial port and allow to use it for updating the firmware.** | ||
62 | |||
63 | ~11. Return to the “Updater” window and click the “Update” button. The updating process will start. | ||
64 | |||
![]() |
6.4 | 65 | 12. Wait the updating process is finished. If using BMS USB-CAN, move the “+5V” switch to the “0” position. Disconnect the BMS Display device from the USB-CAN adapter. |