• sales

    +86-0755-88291180

Modbus-Series-BootLoader-Description User Guide

Modbus Series BootLoader Description

Version Description

  • From September 2024, the BootLoader program will be added to the Modbus series products, which supports reading and restoring device parameters, and supports updating user programs.
  • The latest products that support this function will be labeled "V03 QC".

BootLoader Functions Introduction

The BootLoader program refers to the first program that is executed after the device is powered on. The program will detect the SWDIO pin. If SWDIO and GND are shorted at boot time, it will enter boot mode. In this mode, you can read and restore device parameters and update user programs. If SWDIO is not pulled low when the device boots, skip boot mode and enter user mode to start normal functionality.

BootLoader Operation Description

The program starts with LED always on to detect SWDIO pins. Short-circuiting the SWDIO/SWIO/SWD and GND pins will enter Boot mode, causing the LED to stay on. Without short-circuiting, it jumps to the user program, and the LED will slowly blink. If the user program has issues and the jump fails, the LED will rapidly blink, requiring a re-download of the user program.
(The picture takes the Modbus RTU IO 8CH module as an example. If you use the network port series module, you need to connect to the computer through the network cable, and convert the TCP connection to a virtual serial port to continue the operation.)

Use SecureCRT to connect to the serial port, the default serial port is 115200 N 8 1 format, and make sure not to check XON/XOFF.

If you need to update the user program, select 1024 bytes for the Ymodem package size.

When booting up, short connect SWDIO and GND to enter the bootloader program. After the bootloader program runs, the following interface will be displayed.

1. Download the program; 2. Restore device parameters; 3. Read device parameters; 4. Exit bootloader to run user program.
Enter 3 to read the device parameters, enter 2 to restore the default device parameters, the default serial port is in 9600 N 8 1 format, and the device address is 0x01.

Enter 1 to enter the upgrade user program mode, and the interface is displayed as follows

In the SecureCRT menu, select Transfer->Send Ymodem... Select to update Bin program, select Add, and select OK to start sending.

The program is downloaded as shown below.

Enter 4 to exit the bootloader program and enter the user program.

TAG: Jetson Orin 4G/3G/2G expansion board GNSS GPS SIM7600G-H-M.2 Raspberry Pi Display ESP32-P4 Module Core Board PSRAM 32MB Flash 16MB N16R32 Onboard ESP32-C6 Black Sipeed MaixCAM SG2002 RISC-V AI Camera Kit with Screen Audio WIFI6 Linux Board Raspberry Pi 13.3 inch DSI MIPI Display 13.3inch LCD Capacitive TouchScreen 1920x1080 Sipeed NanoCluster Mini Cluster Board mini data center For Raspberry Pi CM45 / Computer /LM3H /M4N ESP32 C3 Round LCD Development Board Electronic EYE 0.71 inch Display Watch Screen GC9A01 160x160 DeepSeek XiaoZhi AI Voice Chat Robot BOX ESP32-S3 Development Board 3.5 inch LCD N16R8 Touchscreen Display 6-Axis /Camera /SD RS485 to RJ45 Vertical Drag Instructions SpotPear Sipeed-Lichee-Tang-Nano-FPGA-Series-IDE-Install Jetson Orin Uninterruptible Power C For Simultaneously Charging and Discharging Raspberry Pi Milk-V Duo Camera Tutorial Industrial grade isolated USB to RS232/485 converter supports USB to 2-way RS232 + 2-way RS232/485 original FT4232HL Raspberry Pi 5 POE + PCIe to M.2 NVMe SSD Board HAT+ Pi5 2242/2230 Power over Ethernet Raspberry Pi5 OLED-LCD-HAT-A user guide