Skip to main content
askari.nima
Associate III
Mar 11, 2017 5:05 AM UTC
Solved

I Migrate my project , But not work

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.

    This topic has been closed for replies.
    Jeanne Joly
    Jeanne JolyBest answer
    Associate
    Apr 28, 2017 7:43 AM UTC
    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

    5 replies

    john doe
    Senior III
    Mar 11, 2017 6:03 AM UTC
    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 III
    Mar 11, 2017 6:10 AM UTC
    Posted on March 11, 2017 at 07:10

    Project gererator dosn't work. after migrate .

    askari.nima
    Associate III
    Mar 11, 2017 6:17 AM UTC
    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;

    Khouloud GARSI
    ST Employee
    Mar 14, 2017 11:15 AM UTC
    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
    Jeanne JolyBest answer
    Associate
    Apr 28, 2017 7:43 AM UTC
    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