Steps to Update the PLC Kernel
Using a serial cable, the steps are as follows:
1. Install STM32CubeProgrammer
Download and install the latest version of STM32CubeProgrammer from the ST official website. After installation, open the software.
2. Hardware Connection: After connecting the USB download cable; press and hold the download button near the serial port, power off and restart the device to enter download mode.
3. Configure Serial Port Parameters:
In the STM32CubeProgrammer interface, click the UART icon on the left.
Configure the serial port parameters:
Baud rate: usually 230400 Data bits: 8 bits.
Stop bits: 1 bit. Parity: Even. Flow control: None.
![Steps to Update the PLC [STM32] Kernel](https://boardor.com/wp-content/uploads/2025/11/0b37541a-830f-4513-a28f-1c5b4b12fd5e.png)
![Steps to Update the PLC [STM32] Kernel](https://boardor.com/wp-content/uploads/2025/11/412e8463-c5db-410d-9535-f9fca0e62953.png)
Click the Connect button to connect the device. If the connection is successful, device information (such as chip model) will be displayed on the right.
4. Select the Kernel to be Programmed
In the left menu, select the Erasing & Programming tab.
Click the Browse button to select the kernel file to be programmed.
![Steps to Update the PLC [STM32] Kernel](https://boardor.com/wp-content/uploads/2025/11/e0bea104-c43a-4e03-93f5-ab52c2939ec1.png)
5. Start Programming
Click the Start Programming button to begin programming.
Wait for the progress bar to complete; the interface will display Operation Completed indicating that programming was successful.
![Steps to Update the PLC [STM32] Kernel](https://boardor.com/wp-content/uploads/2025/11/031ee0b4-51d4-4999-8113-1c3b8e7dcb4f.png)
6. Exit Bootloader Mode
After programming is complete, release the download button, power off and restart the device.