Skip to main content
liu yong
Associate II
January 25, 2018
Solved

CubeMX 4.24 migrate problem

  • January 25, 2018
  • 6 replies
  • 2402 views
Posted on January 25, 2018 at 05:11

OS: Win10

ico version : 4.23 / FW_F4 V1.18.0

I can't migrate my project from 4.23 to 4.24. Attach is my ico file.

Thank you.

    This topic has been closed for replies.
    Best answer by hendrikk
    Posted on January 29, 2018 at 17:25

    I play a little with your migrated *.ico file and i find out, you didn't have to change the prescaler in the CAN-IP than everything seems to work fine. If you change them and save the project you can't load it any more. 

    0690X00000604JaQAI.jpg

    Edit:

    I even play with my ico and find out any time I change the Clock Configuration or the CAN-Prescaler, CubeMx seems to hang!

    So I thing there is any problem with time or clock calculation for anything in the CAN-IP.

    6 replies

    liu yong
    liu yongAuthor
    Associate II
    January 25, 2018
    Posted on January 25, 2018 at 05:16

    When I new a project(DAU1_4.24.ioc) in 4.24 that have the same config as the attachments(DAU1.ioc), close it than open it again, cubemx have no respond.

    hendrikk
    Associate
    January 29, 2018
    Posted on January 29, 2018 at 17:19

    It seems to be a Problem with the CAN-IP! I have the same Problem an cube seems to damage my *.ioc.

    I have play a little with my ioc and find it out.

    Open your DAU1.ioc without migrating it! Then disable the CAN-IP --> save it --> migrate your project to newer version.

    But caution! The CAN-IP Module seems to be damaged... --> 

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

    ....

    So do a backup.

    Now you can enable the CAN-IP.... But if you change any settings of the CAN-IP

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

    will happen.

    So I think their is a Problem with, Time Quantum, Time for one bit or any other calculation.

    ST Technical Moderator
    January 29, 2018
    Posted on January 29, 2018 at 20:27

    Hello ,

    We will raise your issue internally to CubeMx team and keep you informed about the taken actions.

     Thank you for your contribution.

    Kind Regards,

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    stm32cube-t
    ST Employee
    February 21, 2018
    Posted on February 21, 2018 at 10:16

    Sorry for the inconvenience. This problem will be solved in next STM32CubeMX 4.25 release coming out in few weeks from now.