5. Firmware update

Last modified by Admin on 2025/02/17 15:00

Firmware update

Introduction

This document describes the steps for updating the BMS Main 3 / BMS Main 3X firmware.

Updating the BMS Main 3 / BMS Main 3X firmware can be done in the following ways:

  • via bootloader (available via USB only);
  • via device configuration interface (available via USB, CAN and TCP).

The following hardware and software are required:

  • ElectricDeviceMonitor application for Windows OS which is used for configuring the BMS Main 3 / BMS Main 3X;
  • Communication device:
    • USB/CAN adapter — for updating via CAN bus;
    • USB-mini cable — for updating via USB;
    • BMS Wi-Fi or BMS LANmodule installed on BMS Main 3 — for update via TCP;
  • SD card — for updating via configuration interface;
  • Firmware file (must be in .bin format).

Updating via bootloader

Firmware updating includes two steps:

  • starting the bootloader;
  • uploading the firmware file to the BMS Main flash memory.

1. Start the device bootloader.

  • Method 1: using the Unified monitor of the ElectricDeviceMonitor program, connect to the BMS Main 3 / BMS Main 3X device via the USB, CAN or TCP connection. Next, in the monitor program, click the "Device → Go to bootloader" menu item:

1733921869101-125.png

  • Method 2: hold the SW1 button on the device for 1 second. After the indication LEDs go out, release the button. A restart will be performed, and the device will enter bootloader mode.

Notes:
In bootloader mode, the indicator LEDs will light up and go out sequentially.
The bootloader will be active for 45 seconds. After this time, control will be transferred again to the main firmware.

2. Upload the firmware.

2.1 Launch the ElectricDeviceMonitor’s Unified bootloader module:

1735232992154-566.png

1735233018575-198.png2.2 From the drop-down menu of the Unified bootloader window, select the method of connecting to the BMS Main 3 / BMS Main 3X and configure the connection parameters (the "Settings..." button).

  • USB connection: select the connection method “Serial port transport”, click the “Settings...” button. In the window that appears, select the COM port through which the PC connects to the device (the baud rate can be set to any):

1733406142376-880.png

2.3 Click the "Browse..." button and select the *.bin file with the main firmware.

2.4 Click the “Update” button while the device is in bootloader mode. The process of loading the new firmware into the device memory will begin.

Update via configuration interface

To update the firmware from the Unified monitor, SD card must be installed into the device. Updating via the configuration interface without SD card is impossible.

1. Perform connection to the device and user authentication in the Unified monitor.

2. Select the “Device → Update firmware…” menu item. In the appeared window, click the “Browse…” button and specify the path to the file with the new main firmware (*.bin).

1733921914002-572.png

3. Click the "Update" button. The file will begin transferring to the device. Once the transfer is complete, the device will reboot, and the main firmware update will begin. The update takes approximately 2 minutes.

1733406616470-929.png