Skip to main content
CSime.1
Visitor II
March 23, 2021
Question

Flash programming while MC Workbench program is running

  • March 23, 2021
  • 1 reply
  • 567 views

Hi, I'm going to write a parameter tabe into the last page of the flash in my MC Workbench project running on STM32F302R8. I made some tests and seems that programming the flash while the motor is in IDLE state is working fine. If I program the flash while motor il running I get a bad transient in motor drive. I'd like to know if it is safe programming the flash while the motor is stopped or if it's mandatory to reset the MCU after flash programming to avoid any problem or illegal/corrupted state. Thank you in advance Claudio Simeone

This topic has been closed for replies.

1 reply

Laurent Ca...
Senior III
May 25, 2021

Dear  @CSime.1​ 

Welcome to the STM32 Community

Could you give more details to the STM32 Community about your setup -the material you use- ?

(HW and SW, CPU(s), tools and versions, board(s), motor(s) and so on)

And more especially did you use STM MC tools (such as MC_suite, MC-Motor Profile, MC-SDK, MC-workbench, and so on)?

Best regards

Laurent Ca...