Wiki source code of 5. Firmware update

Version 14.1 by Admin on 2025/02/28 11:37

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
Admin 13.2 6 The document describes the steps to update the BMS IMD firmware.
Admin 1.1 7
8 Required hardware and software:
9
10 * PC or laptop with Windows 10 or newer;
Admin 13.2 11 * BMS USB-CAN – a device to power up and communicate with the BMS IMD;
12 ** Also Systec, PEAK and Marathon USB-CAN adapters are supported;
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 13.2 14 * Firmware (*.srec) – a new firmware for the BMS IMD.
Admin 1.1 15
16 == Updating process ==
17
18 Follow the steps below:
19
Admin 13.2 20 ~1. Connect the BMS IMD to the USB-CAN adapter.
Admin 1.1 21
Admin 13.3 22 2. If BMS USB-CAN used, move switches of the  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 13.3 29 4. Power up the BMS IMD device. Check that the led of the BMS IMD is blinking.
Admin 1.1 30
Admin 13.3 31 5. If BMS USB-CAN used, 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):
Admin 1.1 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 13.5 41 8. Select the corresponding USB-CAN adapter in a drop-down list and click the “Settings” button to configure the adapter:
Admin 1.1 42
Admin 13.5 43 * select device or port name that corresponds to the USB-CAN adapter;
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 13.2 52 * In the ElectricDeviceMonitor, select the menu “Tasks – Monitor - BMS IMD 1.x”:
Admin 1.1 53
Admin 13.5 54 [[image:Battery management systems.BMS Main 3.3\. Configuration.3\.1 General information.WebHome@1735233230234-960.png||alt="I1735233230234-960.png" data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="340" width="450"]]
Admin 1.1 55
Admin 13.7 56 * Select the corresponding USB-CAN apater and set the following connection settings and click the “Launch” button:
57 ** device or port name that corresponds to the USB-CAN adapter;
Admin 4.14 58 ** baud rate: 250 kbit/s;
Admin 13.7 59 ** BMS IMD address (22 by default).
Admin 1.1 60
Admin 13.7 61 [[image:1740741924108-471.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="247" 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 13.7 65 [[image:1740742073165-496.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="397" 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 14.1 71 12. Wait the updating process is finished. Disconnect the BMS IMD device from the USB-CAN adapter.