AnsweredAssumed Answered

ST-link utility v. 4.0 and  STM32CubeMX v.4.20 Bug

Question asked by AntonioB on Apr 4, 2017
Latest reply on Apr 28, 2017 by Sirma Siang

hi to all, i update the firmware of my  the my stm nucleo L152RE with st-link to the version

"ST-link firmware update V2.J27.M15 STM32 Debug+Mass storage"  and

later i update STM32CubeMX to 4.20 version

 

i use the cube mx to configure the gpio, when i configure RCC and RTC i see that the system crashes
i see the compiler crashes when arrived in this point

 

 if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
  {
    Error_Handler();
  }

the system go in Error_Handler();

 


I use old example, i created it one month ago, i don't open CubeMX i use only IAR for open the project but

now this example don't work and i see the compiler crashes when arrived in this point:

 

 if (HAL_RTC_Init(&hrtc) != HAL_OK)
  {
    Error_Handler();
  }

the system go in Error_Handler();

 

if i use old firmware, ST-link firmware update V2.J20.M4 STM32 Debug+Mass storage my old example work well.

 

 

excuse me for my bad english

best regards

Antonio

Outcomes