CRITICAL BUG: eDesignStudio Vienna Rectifier project fails after CubeMX "Migrate" – Incorrect Phase A switch control (Safety Warning)
Hello Community,
I am writing to report a highly critical issue regarding the Vienna Rectifier reference project generated and downloaded via eDesignStudio / Digital Power Workbench (targeting the STM32G474 MCU).
The Issue & Context:
Upon downloading the automatically generated project package from the eDesignStudio platform and opening the .ioc configuration file locally, STM32CubeMX flags that the template is outdated and prompts the user to either maintain legacy libraries or migrate.
- The downloaded template from eDesignStudio was built with legacy STM32CubeMX V6.14.0 and STM32Cube FW_G4 V1.6.1.
- Modern local environments prompt for a migration to STM32Cube FW_G4 V1.6.3.
The Critical Hardware/Firmware Bug:
If a developer chooses the "Migrate" path to align the project with modern libraries, the automatic code generation introduces a catastrophic control bug:
- After completing the migration, generating the code, and flashing the MCU, HTRIM2/Timer A output generates incorrect PWM switching signal.
The Solution / Workaround:
To avoid this critical bug and ensure the firmware operates safely and normally, you MUST select <Continue> to keep original project settings and library versions.
By choosing <Continue> , the toolchain maintains absolute compatibility with the legacy configuration framework and the original FW_G4 V1.6.1 firmware bundle. This bypasses the buggy migration scripts completely, keeping your Phase A PWM timer registers intact and safe for hardware execution.
Best regards,
k_nedelchev
