SiRad Simple v4

From Silicon Radar Wiki
Jump to navigation Jump to search


Logo small.png

1 SiRad Simple® v4

Requirements:

1.1 Use a terminal program to set the device into programming mode

The device needs to be booted into the programming mode prior to flashing. You can use any terminal program to achieve what is described below, however, we use Realterm as an example to describe the process.

Connect to the device using the following UART settings:

  • 230400 baud / 1 Mbaud (depending on firmware)
  • COM port number of your device
  • Parity: None
  • Data bits: 8
  • Stop bits: 1
  • Flow control: None

Switch to the Port tab and chose the settings, then click on Open. You should see the communication of the device flowing over the UART. Now switch to the Send tab and put in !W\r\n into the first send line. Click Send ASCII to send the programming command to the device. The communication flow should stop and the LED should stop blinking. Do not power cycle the device now until the flash process was finished.

Important: Switch back to the Port tab and release the Open button to be able to connect with the flash tool.

Trouble shooting: If an error message appears in Realterm just click it away and try a few more times to click the button until it was released without an error message.

1.2 Use STM32CubeProgrammer to flash the firmware

The firmware can be flashed after the device has been set to programming mode.

Connect to the device using the following UART settings:

  • COM port number of your device
  • 115200 baud
  • Parity: Even
  • Data bits: 8
  • Stop bits: 1.0
  • Flow control: Off

Switch to the Open file tab and chose the firmware file you want to flash. Then click the Download button to flash the firmware to the device. It should take some minutes. The flash progress can be observed with the green progress bar in the bottom of the tool. Just close the tool after the finished flash progress.

Trouble shooting: If STM32CubeProgrammer does not want to connect to the device, please check that the port is closed in the terminal program.

Trouble shooting 2: If STM32CubeProgrammer does not want to flash, please check the baud rate setting as described above.

1.3 Power cycle the device

The device now needs to be power cycled to get back into standard operation mode. You can now use the device as usual.