Wiki source code of 5. Firmware update

Version 3.2 by Admin on 2025/02/28 10:36

Hide last authors
Admin 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;
Admin 1.2 11 * BMS USB-CAN – a device to power and communicate with the BMS Display;
Admin 1.1 12 * [[ElectricDeviceMonitor>>https://movicomelectric.com/wa-data/public/site/app/ElectricDeviceMonitorSETUP.exe]] – a software to monitor and configure devices by Movicom Electric;
Admin 1.2 13 * Firmware (*.srec) – a new firmware for the BMS Display.
Admin 1.1 14
15 == Updating process ==
16
17 Follow the steps below:
18
Admin 1.3 19 ~1. Connect the BMS Display to the BMS USB-CAN.
Admin 1.1 20
Admin 1.2 21 2. Move switches of the BMS USB-CAN to the following positions:
Admin 1.1 22
23 * 120 Ohm – “I”;
Admin 1.5 24 * +5V – “0”.
Admin 1.1 25
Admin 1.4 26 3. Connect the BMS USB-CAN to a PC.
Admin 1.1 27
Admin 1.5 28 4. Move the switch “+5V” of the BMS USB-CAN to “I”. Check that the led of the BMS Display is blinking.
Admin 1.1 29
30 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):
31
Admin 1.5 32 [[image:Battery management systems.BMS Logic 12.4\. Firmware update.WebHome@1733156153285-215.png||data-xwiki-image-style-alignment="center" height="377" width="382"]]
Admin 1.1 33
34 6. Install and launch the ElectricDeviceMonitor.
35
36 7. Click the “Updater” button:
37
Admin 1.5 38 [[image:Battery management systems.BMS Logic 12.4\. Firmware update.WebHome@1733156153290-392.png||data-xwiki-image-style-alignment="center" height="320" width="296"]]
Admin 1.1 39
Admin 2.2 40 8. Select the transport “CAN transport (BMS USB-CAN) (1.0.0)” and click the “Settings” button to configure the adapter: select a port name that corresponds to the BMS USB-CAN and 250 kbit/s baud rate.
Admin 1.1 41
Admin 2.2 42 [[image:1740738923079-336.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true"]]
Admin 1.1 43
Admin 2.2 44 9. Click the “Browse…” button and open the new firmware file in .srec format.
Admin 1.1 45
46 **10. Boot the device to go into the bootloader mode.**
47
Admin 3.2 48 * In the ElectricDeviceMonitor, select the menu “Tasks – Monitor - BMS Display 1.x”:
Admin 1.1 49
Admin 3.2 50 [[image:1740739018136-732.png]]
Admin 1.1 51
52 * Set the following connection settings and click the “Launch” button:
53 ** serial port name of the BMS USB-RS485
54 ** baud rate and data format: 115200 kbps, 8 bits, no parity, 1 stop bit
55 ** address – 247
56
57 [[image:1733156153293-550.png||data-xwiki-image-style-alignment="center" height="227" width="410"]]
58
59 * In the opened window, click the “Bootloader” button. The device will reboot and will be waiting commands to update the firmware.
60
61 [[image:1733156153294-767.png||data-xwiki-image-style-alignment="center" height="425" width="648"]]
62
63 * **Select the menu “Monitor - Stop” or click the “Stop” button to release the serial port and allow to use it for updating the firmware.**
64
65 ~11. Return to the “Updater” window and click the “Update” button. The updating process will start.
66
67 12. Wait the updating process is finished. Move the switches “+5V” and “Cells” to the “0” position and disconnect the BMS Logic device from the BMS USB-RS485.