Steps to Update the PLC [STM32] Kernel

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

Steps to Update the PLC [STM32] Kernel

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

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

6. Exit Bootloader Mode

After programming is complete, release the download button, power off and restart the device.

Leave a Comment