Skip to main content
tarzan2
Associate III
April 12, 2016
Question

cubeMX 4.14 does not work with IAR

  • April 12, 2016
  • 9 replies
  • 1285 views
Posted on April 12, 2016 at 17:18

Hello

Compiling a test project for IAR:

Could not open file: 'E:\temp\cube4.14\test\EWARM\E:\Prog\STM32CubeMX_repo\STM32Cube_FW_F4_V1.11.0\Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f439xx.s' 

useless strcat...

Resulting in a 1/2 lost day... I hope that this new version of cubeMX will solve my problem, this morning I was searching why the I2C module sometime brings SDA low. The afternoon I can't compile anymore...
    This topic has been closed for replies.

    9 replies

    slimen
    Visitor II
    April 13, 2016
    Posted on April 13, 2016 at 10:03

    Hi bonelli,

    I think your path is not properly set up: 'E:\temp\....\E:\Prog' !

    I have checked from my side and successfully open the file startup_stm32f439xx.s

    To have more idea about I2C module and SDA, you can refer to the

    http://www2.st.com/content/ccc/resource/technical/document/reference_manual/3d/6d/5a/66/b4/99/40/d4/DM00031020.pdf/files/DM00031020.pdf/jcr:content/translations/en.DM00031020.pdf

    -ForumSTM32-

    tarzan2
    tarzan2Author
    Associate III
    April 13, 2016
    slimen
    Visitor II
    April 13, 2016
    Posted on April 13, 2016 at 12:44

    Hi bonelli,

    Please share your .ioc file to have more details about your problem.

    Regards

    -ForumSTM32-

    tarzan2
    tarzan2Author
    Associate III
    April 13, 2016
    slimen
    Visitor II
    April 13, 2016
    Posted on April 13, 2016 at 23:16

    Hi,

    I have also the wrong path when I copy the .ioc in other repository and re-generate it (concatenate previous/original .ioc location with new one) !

    Maybe you can try to generate your project in new and clean repository (without copy .ioc or generating in old path)

    Regards

    tarzan2
    tarzan2Author
    Associate III
    April 14, 2016
    Posted on April 14, 2016 at 10:53

    This is what I do with the previous test folder.

    I retried 2 times (STM32F4 & STM32L4), always in a clean folder, the problem is the same.

    tarzan2
    tarzan2Author
    Associate III
    April 14, 2016
    Posted on April 14, 2016 at 14:20

    Please note that I tryed with an other computer, fresh installation of cubeMX => same results, paths are corrupted.

    COULD ST PROVIDES OLDER VERSIONS OF CUBEMX ?

    Because this one is NOT working with professional tools such IAR. So ALL my projects are waiting and as a professional this is NOT acceptable.

    stm32cube-t
    ST Employee
    April 15, 2016
    Posted on April 15, 2016 at 10:07

    Dear user,

    This problem is under investigation. As a workaround, perform a ''Save Project as'' then generation is ok.

    Best regards

    stm32cube-t
    ST Employee
    October 6, 2016
    Posted on October 06, 2016 at 17:31

    Dear user,

    This issue has been solve in STM32CubeMX 4.16.

    Best regards