Skip to main content
Andrei Chichak
Lead
November 28, 2016
Question

CubeMX 4.18.0 compatible processor conversion bug

  • November 28, 2016
  • 2 replies
  • 1109 views
Posted on November 28, 2016 at 23:27

I converted my project from using a '407VGT6 to using a '405VGT6 (very painless), BUT I lost all of my DMA settings and all of my interrupt priorities.

Version control is my friend.

Andrei from The Great White North.

#cubemx-bug
This topic has been closed for replies.

2 replies

Technical Moderator
November 29, 2016
Posted on November 29, 2016 at 08:50

Dear Andrei,

Your issue is reported internally to our CubeMx team for checking.

Could you please provide more details on your setting project option (code generator screenshot) and if possible attach your .ioc file.

We apologize for any inconvenience this may cause and thank you for your understanding.

Best Regards

STM32.forum

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Andrei Chichak
Lead
November 29, 2016
Posted on November 29, 2016 at 18:57

Due to customer security concerns, I'd rather not post the ioc file.

Please contact me at groups at chichak dot ca and I can send it to an ST rep.
Jeanne Joly
Associate
December 8, 2016
Posted on December 08, 2016 at 16:26

Dear chichak.andrei,

I tested on my side the conversion from 

'407VGTx' to  '405VGTx' with DMA set for different IPs (I2C1, I2C2, USART1, ADC1, TIM6 and TIM7)... with MemToMem as well and Interrupt priorities set in NVIC.

All those parameters were set in STM32F407VGTx. 

The, I opened a new project of STM32F405VGTx and did a File/Import Project and all DAM settings and interrupt priorities were as set in STM32407VGTx project and it was not painfull.

Did you first set all your parameters in STM32F407VGTx, save your project, then open a new project (with STM32F405VGTx) and do an import of your previous project?

Hope it will help you.

Eric Dampierre

Andrei Chichak
Lead
December 8, 2016
Posted on December 08, 2016 at 23:12

I set all of my parameters in '407, yes. This is a pre-existing project that I have been working on for about a year.

What I did was open my existing project, chose List Pinout Compatible MCUs, chose the 405VGTx, told it to import.

Go into Configuration/DMA2 and my settings are gone. Went into NVIC and my settings are gone.  (I just did it again)

I'll take a look at the new project/import method. Although the processors are compatible enough that it just doesn't matter.

Andrei