cancel
Showing results for 
Search instead for 
Did you mean: 

Impossible to load or migrate project in STM32CubeMX v6.2.1

davhak
Associate II

This is an everlasting bug of STM32CubeMX since v6.x release. After installing the latest v6.2.1 and trying to open IOC file (STM32H745BI MCU) creaded with previous version v5.x of CubeMX one gets unknown error window shown in the attachment.

It does not matter if I try to open the project right away after running CubeMX or after creating a dummy project. This problem happens both in Ubuntu 18.04 as well as in Windows 7 professional.

Does the ST team ever plan to fix this? CubeMX v6.x seems useless.

Thanks for any feedback

9 REPLIES 9
Khouloud ZEMMELI
ST Employee

Hello @davhak​ 

Thanks for your post,

Could you please share your ioc file to check the problem?

Khouloud

davhak
Associate II

The IOC file is attached.

Thanks for the help.

MM..1
Chief II

Too my migrated project 5x to 6.2.0 report in MX

Loading: C:\TouchGFXProjects\testLCD\testLCD.ioc project
Initializing: STM32F469ZITx
 LogicalParser: syntax error detected in expression for DSIHOST orignal expression: !Semaphore_BURSTVIDEODSIHOST & (MOD(HorizontalActiveDuration_LTDC_noparam,PacketSize) = 0) parser evaluation: !1 & (MOD(0.0,0) = 0)
 LogicalParser: syntax error detected in expression for DSIHOST orignal expression: !Semaphore_BURSTVIDEODSIHOST & !(MOD(HorizontalActiveDuration_LTDC_noparam,PacketSize) = 0) parser evaluation: !1 & !(MOD(0.0,0) = 0)

but work ok... part of my ioc

#MicroXplorer Configuration settings - do not modify
DSIHOST.SWAP_DATA_LANE1_State=__NULL
SH.FMC_D0_DA0.ConfNb=1
QUADSPI.DualFlash=QSPI_DUALFLASH_DISABLE
SH.FMC_A8.ConfNb=1
SH.FMC_A0.ConfNb=1
SH.FMC_D6_DA6.ConfNb=1
FMC.SDClockPeriod2=FMC_SDRAM_CLOCK_PERIOD_2
SH.FMC_D9_DA9.ConfNb=1
SH.FMC_A0.0=FMC_A0,12b-sda2
NVIC.TIM6_DAC_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:true
I2C3.DutyCycle=I2C_DUTYCYCLE_2
PG8.Signal=FMC_SDCLK
DSIHOST_D0N.Mode=DSIHost_Video
RCC.PLLQCLKFreq_Value=90000000
PG0.Signal=FMC_A10
RCC.RTCFreq_Value=32000
RCC.PLLDSIFreq_Value=480000000
DSIHOST.AutomaticClockLaneControl=DSI_AUTO_CLK_LANE_CTRL_DISABLE
SH.FMC_SDNWE.ConfNb=1
USART1.IPParameters=BaudRate,WordLength,Parity,StopBits,Mode,OverSampling,VirtualMode
SH.FMC_D5_DA5.0=FMC_D5,sd-16b-d2
DSIHOST.TimingPHY_TLPX_CLK_Enable=__NULL
SPI2.NSS=SPI_NSS_SOFT
SH.FMC_D9_DA9.0=FMC_D9,sd-16b-d2
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:false\:false\:false\:false
DSIHOST_D0P.Signal=DSIHOST_D0P
FREERTOS.configENABLE_FPU=0
FREERTOS.INCLUDE_pcTaskGetTaskName=0
USART1.StopBits=STOPBITS_1
I2C3.AddressingMode=I2C_ADDRESSINGMODE_7BIT
NVIC.DMA2D_IRQn=true\:5\:0\:false\:false\:true\:true\:true\:true
SH.FMC_SDNWE.0=FMC_SDNWE,12b-sda2
SH.FMC_D11_DA11.0=FMC_D11,sd-16b-d2
RCC.APB2TimFreq_Value=180000000
PB6.Signal=FMC_SDNE1
PB12.PinState=GPIO_PIN_SET
I2C1.AddressingMode=I2C_ADDRESSINGMODE_7BIT
PD0.Signal=FMC_D2_DA2
PD8.Signal=FMC_D13_DA13
PE1.Signal=FMC_NBL1
QUADSPI.FlashSize=1
FREERTOS.configMINIMAL_STACK_SIZE=128
NVIC.EXTI15_10_IRQn=true\:5\:0\:false\:false\:true\:true\:true\:true
RCC.PLLSAIRCLKFreq_Value=66000000
ProjectManager.ProjectBuild=false
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
PC1.GPIO_PuPd=GPIO_PULLUP
DSIHOST.HorizontalLine=((HBPD+HFPD+HSPW+WDTH)*KKDD)
SH.GPXTI12.0=GPIO_EXTI12
PB12.GPIO_Label=SPI_CS
FMC.SelfRefreshTime2=5
ProjectManager.FirmwarePackage=STM32Cube FW_F4 V1.26.0
LTDC.IPParameters=HSync,HBP,ActiveW,HFP,VSync,VBP,ActiveH,VFP,HSPolarity,VSPolarity,DEPolarity,PCPolarity,Red,Green,Blue,Layers,WindowX0_L0,WindowX1_L0,WindowY0_L0,WindowY1_L0,PixelFormat_L0,Alpha_L0,Alpha0_L0,BlendingFactor1_L0,BlendingFactor2_L0,FBStartAdress_L0,ImageWidth_L0,ImageHeight_L0,Blue_L0,Green_L0,Red_L0,PixelFormat_L1,WindowX0_L1,WindowX1_L1,WindowY0_L1,WindowY1_L1,Alpha_L1,FBStartAdress_L1,ImageWidth_L1,ImageHeight_L1
LTDC.PixelFormat_L0=LTDC_PIXEL_FORMAT_L8
I2C1.NoStretchMode=I2C_NOSTRETCH_DISABLE
ProjectManager.BackupPrevious=false
LTDC.PixelFormat_L1=LTDC_PIXEL_FORMAT_L8
PE9.Signal=FMC_D6_DA6
PG12.GPIOParameters=GPIO_Label
DSIHOST_D1N.Signal=DSIHOST_D1N
SH.FMC_A2.0=FMC_A2,12b-sda2
PB14.Mode=Full_Duplex_Master
FREERTOS.HEAP_NUMBER=4
PE4.GPIO_Label=SW2
PC9.Mode=I2C
DSIHOST.ETTX_FlowControl=__NULL
PA8.Signal=I2C3_SCL
RCC.PLLRCLKFreq_Value=180000000
SH.FMC_D1_DA1.0=FMC_D1,sd-16b-d2
DSIHOST.SLEW_RATE_HSTX_DATA_LANES_Value=0
PC15/OSC32_OUT.Locked=true
VP_FREERTOS_VS_CMSIS_V1.Mode=CMSIS_V1
LTDC.HSync=HSPW
FMC.WriteProtection2=FMC_SDRAM_WRITE_PROTECTION_DISABLE
ProjectManager.HalAssertFull=false
Mcu.Package=LQFP144
PB9.Signal=I2C1_SDA
TIM2.Prescaler=22
FREERTOS.configUSE_NEWLIB_REENTRANT=0
NVIC.TimeBase=TIM6_DAC_IRQn
SPI2.Mode=SPI_MODE_MASTER
FREERTOS.INCLUDE_vTaskSuspend=1
SH.GPXTI8.0=GPIO_EXTI8
PD12.Signal=QUADSPI_BK1_IO1
I2C3.NoStretchMode=I2C_NOSTRETCH_DISABLE
SH.FMC_SDNCAS.ConfNb=1
SH.FMC_A11.ConfNb=1
NVIC.TimeBaseIP=TIM6
PA10.Signal=USART1_RX
FREERTOS.FootprintOK=true
FMC.WriteRecoveryTime2=3
RCC.APB2CLKDivider=RCC_HCLK_DIV2
LTDC.VSync=2
RCC.APB1TimFreq_Value=90000000
FREERTOS.configGENERATE_RUN_TIME_STATS=0
DSIHOST.HorizontalBackPorch=HBPD*KKDD
FMC.RowCycleDelay2=1
PF10.Mode=Single Bank 1
PB13.Mode=Full_Duplex_Master
PE6.Locked=true
PE6.GPIO_PuPd=GPIO_PULLUP
PD5.Locked=true
PD15.Signal=FMC_D1_DA1
RCC.PLLSAIQCLKFreq_Value=33000000
SH.FMC_D3_DA3.ConfNb=1
PG12.Signal=GPIO_Output
Mcu.Pin80=PG11
Mcu.Pin81=PG12
SH.FMC_A4.0=FMC_A4,12b-sda2
ProjectManager.ProjectFileName=testLCD.ioc
SH.FMC_A5.ConfNb=1
FREERTOS.configIDLE_SHOULD_YIELD=1
FREERTOS.Tasks01=defaultTask,0,4096,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL
Mcu.Pin79=PG9
Mcu.PinsNb=99
Mcu.Pin73=PA15
PC11.Locked=true
Mcu.Pin74=PC11
Mcu.Pin71=PA13
Mcu.Pin72=PA14
Mcu.Pin77=PD1
PC13.Locked=true
DMA2D.AlphaModeForeground=DMA2D_NO_MODIF_ALPHA
TIM1.CounterMode=TIM_COUNTERMODE_UP
PG5.Signal=FMC_A15_BA1
Mcu.Pin78=PD5
FREERTOS.configLIBRARY_LOWEST_INTERRUPT_PRIORITY=15
Mcu.Pin75=PC12
PG3.Locked=true
SH.FMC_D10_DA10.0=FMC_D10,sd-16b-d2
PC13.Signal=GPXTI13
Mcu.Pin76=PD0
FREERTOS.INCLUDE_vTaskDelayUntil=0
Mcu.Pin70=PA12
Mcu.Pin68=PA10
Mcu.Pin69=PA11
DSIHOST.SLEW_RATE_LPTX_DATA_LANES_Value=0
PB14.Locked=true
Mcu.Pin62=PG5
Mcu.Pin63=PG8
DSIHOST.HS_DELAY_DATA_LANES_Value=0
Mcu.Pin60=PG3
Mcu.Pin61=PG4
Mcu.Pin66=PA8
RCC.PWR_Regulator_Voltage_Scale=PWR_REGULATOR_VOLTAGE_SCALE1
Mcu.Pin67=PA9
Mcu.Pin64=PC8
Mcu.Pin65=PC9
LTDC.ImageWidth_L1=320
DSIHOST.Mode=DSI_VID_MODE_BURST
LTDC.ImageWidth_L0=480
PC3.GPIOParameters=GPIO_PuPd
DSIHOST.TimingPHY_TLPX_DATA_Enable=__NULL
PD10.Signal=FMC_D15_DA15
TIM1.AutoReloadPreload=TIM_AUTORELOAD_PRELOAD_DISABLE
PA15.Locked=true
Mcu.Pin59=PG2
Mcu.Pin57=DSIHOST_D1P
Mcu.Pin58=DSIHOST_D1N
Mcu.Pin51=PD14
Mcu.Pin52=PD15
I2C1.I2C_Mode=I2C_Standard
Mcu.Pin50=PD12
RCC.PLLDSIVCOFreq_Value=960000000
Mcu.Pin55=DSIHOST_CKP
Mcu.Pin56=DSIHOST_CKN
Mcu.Pin53=DSIHOST_D0P
Mcu.Pin54=DSIHOST_D0N
VP_TIM1_VS_ClockSourceINT.Signal=TIM1_VS_ClockSourceINT
FMC.SDBank2=FMC_SDRAM_BANK2
Mcu.Pin48=PD10
Mcu.Pin49=PD11
Mcu.Pin46=PD8
Mcu.Pin47=PD9
DSIHOST.Frequency=10000
PB14.Signal=SPI2_MISO
Mcu.Pin40=PB10
FREERTOS.configUSE_POSIX_ERRNO=0
Mcu.Pin41=PB11
Mcu.Pin44=PB14
DSIHOST.EOTPEIE=HAL_DSI_ERROR_NONE
Mcu.Pin45=PB15
Mcu.Pin42=PB12
Mcu.Pin43=PB13
VP_LTDC_DSIMode.Signal=LTDC_DSIMode
TIM1.TIM_MasterOutputTrigger=TIM_TRGO_RESET
SH.FMC_A6.0=FMC_A6,12b-sda2
FMC.ReadBurst2=FMC_SDRAM_RBURST_ENABLE
PE14.Signal=FMC_D11_DA11
LTDC.Blue_L0=0
Mcu.Pin37=PE13
Mcu.Pin38=PE14
Mcu.Pin35=PE11
Mcu.Pin36=PE12
SH.FMC_D14_DA14.ConfNb=1
Mcu.Pin39=PE15
Mcu.Pin30=PG1
Mcu.Pin33=PE9
Mcu.Pin34=PE10
PE3.GPIO_PuPd=GPIO_PULLUP
Mcu.Pin31=PE7
Mcu.Pin32=PE8
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
FREERTOS.configUSE_MUTEXES=1
QUADSPI.FifoThreshold=1
PF13.Signal=FMC_A7
TIM2.Period=8000
FREERTOS.configMAX_CO_ROUTINE_PRIORITIES=2
RCC.PLLI2SQCLKFreq_Value=96000000
Mcu.Pin26=PF13
Mcu.Pin27=PF14
Mcu.Pin24=PF11
FREERTOS.INCLUDE_uxTaskGetStackHighWaterMark2=0
Mcu.Pin25=PF12
Mcu.Pin28=PF15
Mcu.Pin29=PG0
Mcu.Pin22=PC4
Mcu.Pin23=PC5
Mcu.Pin20=PA1
Mcu.Pin21=PA7
NVIC.ForceEnableDMAVector=true
PC14/OSC32_IN.Locked=true
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
PE5.GPIO_Label=SW3
PC12.GPIO_Label=XMOS_IRQ
SH.FMC_SDNRAS.ConfNb=1
ProjectManager.HeapSize=0x200
Mcu.Pin15=PH1/OSC_OUT
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
Mcu.Pin16=PC0
Mcu.Pin13=PF10
Mcu.Pin14=PH0/OSC_IN
FREERTOS.configUSE_RECURSIVE_MUTEXES=1
Mcu.Pin19=PA0/WKUP
Mcu.Pin17=PC1
Mcu.Pin18=PC3
DSIHOST.TimingPHY_THS_TRAIL_Enable=__NULL
DSIHOST.FrameBTAAcknowledgeEnable=DSI_FBTAA_DISABLE
DSIHOST.LowPowerReceptionTimeout=0
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
Mcu.Pin11=PF4
Mcu.Pin12=PF5
NVIC.I2C3_ER_IRQn=true\:5\:0\:false\:false\:true\:true\:true\:true
Mcu.Pin10=PF3
TIM2.TIM_MasterSlaveMode=TIM_MASTERSLAVEMODE_DISABLE
PE3.Signal=GPIO_Input
PC15/OSC32_OUT.Signal=GPIO_Input
PF4.Signal=FMC_A4
DSIHOST.LPVerticalSyncActiveEnable=DSI_LP_VSYNC_ENABLE
STMicroelectronics.X-CUBE-TOUCHGFX.4.16.1.tgfx_pixel_format=ARGB2222\:8
Mcu.Family=STM32F4

davhak
Associate II

@MM..1 your answer is irrelevant to the posted problem. Please do not spam the thread.

Rather open a new one.

MM..1
Chief II

Maybe yes maybe not, i only explain, that every version of Wizard CubeMX creates sometimes not working miracles. And community support cant repair ST products , for this is BUGREPORTING. Then sorry when i spam your ...

Hello @davhak​ 

Thanks for sharing your project, I'll give you an update as soon as possible.

Thanks for your contribution, Khouloud

I look forward to your resolution as I cannot revert back to older CubeMX versions due to latest package incompatibility with older CubeMX version.

Hi @davhak​ 

I can reproduce the issue, it's now under analysis and it will be fixed.

Sorry for any inconvenience this may have caused.

Khouloud

Hi @davhak​ 

Attached is your ioc with some updates that fix your issue, you can use the latest CubeMX version available on site :)

Khouloud