Wiki source code of 5. Firmware update

Version 6.3 by Admin on 2025/02/28 10:54

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 4.4 19 ~1. Connect the BMS Display to the USB-CAN adapter.
Admin 1.1 20
Admin 4.5 21 2. If BMS USB-CAN used, move switches of the to the following positions:
Admin 1.1 22
23 * 120 Ohm – “I”;
Admin 1.5 24 * +5V – “0”.
Admin 1.1 25
Admin 4.5 26 3. Connect the USB-CAN adapter to a PC.
Admin 1.1 27
Admin 4.9 28 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.
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 4.13 40 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.
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 4.3 50 [[image:1740739041707-667.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="295" width="300"]]
Admin 1.1 51
52 * Set the following connection settings and click the “Launch” button:
Admin 4.14 53 ** device or port name that corresponds to the USB-CAN adapter;
54 ** baud rate: 250 kbit/s;
Admin 5.2 55 ** BMS Display Node ID (20 by default).
Admin 1.1 56
Admin 5.2 57 [[image:1740739961052-896.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="237" width="450"]]
Admin 1.1 58
Admin 6.2 59 * 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.
Admin 1.1 60
Admin 6.2 61 [[image:1740740038720-603.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="553" width="600"]]
Admin 1.1 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
Admin 6.3 67 12. Wait the updating process is finished. If using BMS USB-CAN, move the “+5V” switch to the “0” position and disconnect the BMS Display device from the BMS USB-RS485.