cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX 4.3.0 FW1.2 Known Issues

joe
Associate II
Posted on June 24, 2014 at 00:54

With the new version of MX I will try to consolidate all issue here:

USB CDC bug in the new STM32Cube FW_F4 V1.2.0 library

[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/USB%20CDC%20bug%20in%20the%20new%20STM32Cube%20FW_F4%20V1.2.0%20library&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21&TopicsView=https%3a//my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/AllItems.aspx&currentviews=56]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTM32Java%2fUSB%20CDC%20bug%20in%20the%20new%20STM32Cube%20FW_F4%20V1%2e2%2e0%20library&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21&TopicsView=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM32Java%2FAllItems%2Easpx¤tviews=56

Workaround available ( see thread )

*NOT* FIXED IN FW_1.3.0

STM32Cube SDHC capacity bug

[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/STM32Cube%20SDHC%20capacity%20bug%20%28solved%29&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21&TopicsView=https%3a//my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/AllItems.aspx&currentviews=102]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/STM32Cube%20SDHC%20capacity%20bug%20%28solved%29&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21&TopicsView=https%3a//my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/AllItems.aspx¤tviews=102

Workaround available ( see thread )

*NOT* FIXED IN FW_1.3.0

STM32CubeMX wrong pin label

 

[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/STM32CubeMX%20wrong%20pin%20label&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21&TopicsView=https%3a//my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/AllItems.aspx&currentviews=2]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTM32Java%2fSTM32CubeMX%20wrong%20pin%20label&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21&TopicsView=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM32Java%2FAllItems%2Easpx¤tviews=2

STm32CubeMX bug: CAN2 wrong configuration

[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/STm32CubeMX%20bug%20CAN2%20wrong%20configuration&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21&TopicsView=https%3a//my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/AllItems.aspx&currentviews=6]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTM32Java%2fSTm32CubeMX%20bug%20CAN2%20wrong%20configuration&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21&TopicsView=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM32Java%2FAllItems%2Easpx¤tviews=6

Various

See 

jkatajai submissions below

I really like

jkatajai's 

idea of having user defined regions in generated code, perhaps with some sort of # comment. ST developers please make this an option, it would really enhance the tool.

2 REPLIES 2
Posted on June 24, 2014 at 10:35

Hi,

Thank you for your interest in our STM32Cube solution!

With regards.

jarno
Associate III
Posted on June 24, 2014 at 18:49

Here's few possible bugs i've experienced (using Keil uVision 5 IDE):

1) since updated to Cube MX 4.3, startup_stm32f407xx.s file is occasionally lost (or not included) when re-generating project code.

2) since Cube MX 4.1 Debug settings are cleared, i don't mean adapter settings but also Trace and Flash download settings are reseted.

3) since Cube MX 4.2 I2C does not work without adding

__I2C2_FORCE_RESET()

and

__I2C2_RELEASE_RESET()

right after

HAL_GPIO_Init()

call at generated i2c.c module

4) since Cube 4.1. C/C++ include paths sometimes doubled, and Inc path bottomed causing lwip fail to build

Any chance implementing possibility to add user defined sections to generated modules?