cancel
Showing results for 
Search instead for 
Did you mean: 

I Migrate my project , But not work

askari.nima
Associate II
Posted on March 11, 2017 at 06:05

I migrate my stm32f103ve project from 4.19 to 4.20. but after migrate my project dosen't work.

1 ACCEPTED SOLUTION

Accepted Solutions
Jeanne Joly
Senior III
Posted on April 28, 2017 at 09:43

Hello

askari.nima

and

doe.john.016

I would inform you that anew patch

http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-configurators-and-code-generators/stm32cubemx.html

V 4.1is available to fix this issue.

Sorry for any inconvenience this may cause you.

BR. Eric

View solution in original post

5 REPLIES 5
john doe
Lead
Posted on March 11, 2017 at 07:03

check the clock settings specifically RCC_OscInitStruct.OscillatorType

you dont want two clocks ORed, you just want one

askari.nima
Associate II
Posted on March 11, 2017 at 07:10

Project gererator dosn't work. after migrate .

askari.nima
Associate II
Posted on March 11, 2017 at 07:17

and another one. i create new project . 

now i can gereate code. but there is a problem

*/

RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI|RCC_OSCILLATORTYPE_HSE;

RCC_OscInitStruct.HSEState = RCC_HSE_ON;

RCC_OscInitStruct.HSEPredivValue = RCC_HSE_PREDIV_DIV1;

RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;

RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;

RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL9;

if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)

{

Error_Handler();

}

must be change 

RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;

Posted on March 14, 2017 at 11:15

Hi

askari.nima

‌,

This issue is already

https://community.st.com/0D50X00009XkYY4SAN

and confirmed from our side. This will be fixed in the next version of CubeMX.

Sorry forany inconvenience this may have caused.

Khouloud.

Jeanne Joly
Senior III
Posted on April 28, 2017 at 09:43

Hello

askari.nima

and

doe.john.016

I would inform you that anew patch

http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-configurators-and-code-generators/stm32cubemx.html

V 4.1is available to fix this issue.

Sorry for any inconvenience this may cause you.

BR. Eric