Wiki source code of 5. Firmware update

Version 12.1 by Admin on 2025/02/28 11:25

Hide last authors
Admin 8.1 1 (% data-numbered-headings-start="5" style="--numbered-headings-start: 4;font-size: 0px;color: rgba(0, 0, 0, 0.0);margin-bottom: 0px; margin-top: 0px;" %)
Admin 1.1 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 11.1 11 * BMS USB-CAN – a device to power up and communicate with the BMS Display;
Admin 7.1 12 ** Also Systec, PEAK and Marathon USB-CAN adapters are supported, but external power supply for BMS Display is needed;
Admin 1.1 13 * [[ElectricDeviceMonitor>>https://movicomelectric.com/wa-data/public/site/app/ElectricDeviceMonitorSETUP.exe]] – a software to monitor and configure devices by Movicom Electric;
Admin 1.2 14 * Firmware (*.srec) – a new firmware for the BMS Display.
Admin 1.1 15
16 == Updating process ==
17
18 Follow the steps below:
19
Admin 11.1 20 ~1. Connect the BMS Display to the BMS USB-CAN.
Admin 1.1 21
Admin 10.1 22 2. Move switches of the BMS USB-CAN to the following positions:
Admin 6.5 23
Admin 1.1 24 * 120 Ohm – “I”;
Admin 1.5 25 * +5V – “0”.
Admin 1.1 26
Admin 6.5 27 3. Connect the USB-CAN adapter to a PC.
Admin 1.1 28
Admin 6.5 29 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 30
31 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):
32
Admin 1.5 33 [[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 34
35 6. Install and launch the ElectricDeviceMonitor.
36
37 7. Click the “Updater” button:
38
Admin 1.5 39 [[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 40
Admin 11.1 41 8. Select the "CAN transport (BMS USB-CAN) (1.0.0)" in a drop-down list and click the “Settings” button to configure the adapter:
Admin 1.1 42
Admin 11.1 43 * select port name that corresponds to the BMS USB-CAN;
Admin 9.1 44 * set 250 kbit/s baud rate.
45
Admin 2.2 46 [[image:1740738923079-336.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true"]]
Admin 1.1 47
Admin 2.2 48 9. Click the “Browse…” button and open the new firmware file in .srec format.
Admin 1.1 49
50 **10. Boot the device to go into the bootloader mode.**
51
Admin 3.2 52 * In the ElectricDeviceMonitor, select the menu “Tasks – Monitor - BMS Display 1.x”:
Admin 1.1 53
Admin 4.3 54 [[image:1740739041707-667.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="295" width="300"]]
Admin 1.1 55
56 * Set the following connection settings and click the “Launch” button:
Admin 11.1 57 ** port name that corresponds to the BMS USB-CAN;
Admin 4.14 58 ** baud rate: 250 kbit/s;
Admin 5.2 59 ** BMS Display Node ID (20 by default).
Admin 1.1 60
Admin 5.2 61 [[image:1740739961052-896.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="237" width="450"]]
Admin 1.1 62
Admin 6.2 63 * 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 64
Admin 6.2 65 [[image:1740740038720-603.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="553" width="600"]]
Admin 1.1 66
67 * **Select the menu “Monitor - Stop” or click the “Stop” button to release the serial port and allow to use it for updating the firmware.**
68
69 ~11. Return to the “Updater” window and click the “Update” button. The updating process will start.
70
Admin 11.1 71 12. Wait the updating process is finished. Move the “+5V” switch to the “0” position. and disconnect the BMS Display device from the BMS USB-CAN.