Flashing prealigner firmware #
1. Download #
Download installer for STM32CubeProgrammer from here.
2. Run installer #
Step 1 of 8 #
- Click Next

Step 2 of 8 #
- Click Next

Step 3 of 8 #
- Click I accept the terms of the ….
- Click Next

Step 4 of 8 #
- Click Next

- Click OK

Step 5 of 8 #
- Click Next

Step 6 of 8 #
- Click Next

- If this Windows Security warning appears: Click Install this driver software anyway ..

- Check off on Always trust software … & Click Install

- Repeat this for all drivers from STMICROELECTRONICS

- Click Finish

- Click Next

Step 7 of 8 #
- Click Next

Step 8 of 8 #
- Click Done

3. Connect programmer #
Connect ST-Link programmer USB PC

4. Flash device #
Flash with STM32CubeProgrammer
-
Run STM32CubeProgrammer*
-
Select STLINK
Click reload button

-
If device is found serial number will be displayed

-
Click Connect

If error “No debug probe detected.” pops up,
click Ok and check Connect ST-Link programmer USB PC
-
Successful connection will display Connected and Target information

-
Switch to Erasing & Programming panel

-
Click on Browse and select firmware file

-
Put a mark on Skip flash erase before programming
Put a mark on Verify programming
Click on Start Programming and wait

-
Successful verification will display this message click OK

-
Download complete click OK

-
Disconnect from ST-LINK click Disconnect

-
Close STM32CubeProgrammer
-
Power cycle (restart) Prealigner controller
5. Prepare PuTTY connection #
-
Power cycle (restart) Prealigner controller
-
Connect Prealigner controller to PC
-
Expand Ports (COM & LPT)

-
Disconnect Prealigner controller from PC and memorize which port disappear

-
Connect Prealigner controller to PC and verify that (COM ) port will be listed again*
-
Run PuTTY
-
Select Connection type Serial

-
Enter memorized Serial line COMx and Speed 115200

-
Select Terminal panel

-
Put check as shown on the picture

-
Select Session panel

-
Type prealigner in Saved Sessions and click Save

-
Click Open to establish Connection with Prealigner

-
Verify connection type
VERin terminal
