Skip to main content
Dub Bartolec
Associate III
Jul 28, 2020 1:44 PM UTC
Solved

Serious Bug In STM32Cube Version 6.0.0.0 When Migrating Projects

We have project for STM32F405 configured and code generated with STM32Cube 5.x.x.x.

After installing Version 6.0.0.0 and when project was migrated to STM32Cube Version 6.0.0.0 and code regenerated, all IRQ priorities for peripherals (UART, SPIs, I2C, USB, etc) were set to 0 instead to 5. Firmware compiled but it was crashing in various parts.

Details from IOC file:

Original File:

MxCube.Version=5.6.1

MxDb.Version=DB.5.0.60

Migrated File:

MxCube.Version=6.0.0

MxDb.Version=DB.6.0.0

All IRQ priorities set to 0. Had to manually change them to 5 in order to get firmware running again.

We also have project for STM32L072 and on that MCU Version 6.0.0.0 also migrates all IRQ priorites to 0. Had to be fixed manually.

This seems to be fairly serious fault that is pretty much show stopper for us.

This topic has been closed for replies.
Nesrine.JLASSI
Nesrine.JLASSIBest answer
Visitor II
Jul 30, 2020 3:02 PM UTC

Hello,

A new STM32CubeMX release will delivered to correct this issue as soon as possible.

Best regards,

Nesrine

14 replies

lchi.1
Visitor II
Apr 13, 2022 3:44 AM UTC

hi, now i'm using cube 6.5 and this bug get again, i tried to fix with all method i can find, but it still not work, any idea can help me?