Instructions 

Flashing prealigner firmware

Flashing prealigner firmware #

1. Download #

Download installer for STM32CubeProgrammer from here.

2. Run installer #

Step 1 of 8 #

  • Click Next image

Step 2 of 8 #

  • Click Next image

Step 3 of 8 #

  • Click I accept the terms of the ….
  • Click Next image

Step 4 of 8 #

  • Click Next image
  • Click OK
    image

Step 5 of 8 #

  • Click Next image

Step 6 of 8 #

  • Click Next
    image
  • If this Windows Security warning appears: Click Install this driver software anyway .. image
  • Check off on Always trust software … & Click Install image
  • Repeat this for all drivers from STMICROELECTRONICS image
  • Click Finish
    image
  • Click Next image

Step 7 of 8 #

  • Click Next
    image

Step 8 of 8 #

  • Click Done
    image

3. Connect programmer #

Connect ST-Link programmer USB PC image

4. Flash device #

Flash with STM32CubeProgrammer

  1. Run STM32CubeProgrammer*

  2. Select STLINK
    Click reload button image
    image

  3. If device is found serial number will be displayed
    image

  4. Click Connect
    image

    If error “No debug probe detected.” pops up,
    click Ok and check Connect ST-Link programmer USB PC

  5. Successful connection will display Connected and Target information
    image

  6. Switch to Erasing & Programming panel
    image

  7. Click on Browse and select firmware file
    image

  8. Put a mark on Skip flash erase before programming
    Put a mark on Verify programming
    Click on Start Programming and wait
    image

  9. Successful verification will display this message click OK
    image

  10. Download complete click OK
    image

  11. Disconnect from ST-LINK click Disconnect
    image

  12. Close STM32CubeProgrammer

  13. Power cycle (restart) Prealigner controller

5. Prepare PuTTY connection #

  1. Power cycle (restart) Prealigner controller

  2. Connect Prealigner controller to PC

  3. Open Windows Device Manager

  4. Expand Ports (COM & LPT)
    image

  5. Disconnect Prealigner controller from PC and memorize which port disappear
    image

  6. Connect Prealigner controller to PC and verify that (COM ) port will be listed again*

  7. Run PuTTY

  8. Select Connection type Serial
    image

  9. Enter memorized Serial line COMx and Speed 115200
    image

  10. Select Terminal panel
    image

  11. Put check as shown on the picture
    image

  12. Select Session panel
    image

  13. Type prealigner in Saved Sessions and click Save
    image

  14. Click Open to establish Connection with Prealigner
    image

  15. Verify connection type VER in terminal
    image

Note: If prealigner replies with ?, type ver again in terminal.