How do I update a firmware?

How do I update a firmware?

 

  1. Download STM32CubeProgrammer here (free software but requires free registration)
  2. Install and open STM32CubeProgrammer
  3. Connect
    your STG-8xx / DMA-15 / DMA-20 to the programming adaptor (STLink V2 or
    VK-46, the VK-16 does not work for this) and a power supply
  4. Click on [Connect]

    image
  5. Click on [OB] in the menu to the left
    image
     
  6. Select [Read Out Protection] and select level [AA] in the dropdown menu
    image
     
  7. Click on [Apply] and acknowledge the dialogue
  8. Click on the [Download Symbol]
    image
     
  9. Use [Browse] to choose the correct firmware file for your device (please find it attached) and click on [Start Programm...]
    image
     
  10. Acknowledge
    all dialogues. These error messages appear because the firmware 
    download can not be verified due re-enabling the readout protection. 
    Everything should be fine regardless.
  11. Disconnect the PLC from power supply and programmer for approximately 10 seconds
  12. You have successfully updated the firmware on your device. Well done!