[SOLVED] Problem Importing Projects into SES

  • [SOLVED] Problem Importing Projects into SES

    Dear Segger
    I am currently having difficulties getting the project importer functioning in SES.
    I have done this so many times with Crossworks, where base projects are created for STM32 in the cube environment outputting as a Keil project which then gets imported without issue.
    When i carry out the import to SES, the project complies fine but as soon as debugging is started a hard fault occurs during the standard HAL_Init() function. I have tied importing several projects and exactly the same occurs each time.
    The gut feeling is some settings or files are not getting imported correctly.
    If i create a project from scratch within SES everything is OK. (Using STM32F429ZI) .
    Any ideas where this issue might be coming from as i am drawing a blank at the moment.
    Many Thanks
    James
  • Hello James,

    Thank you for your inquiry.
    A general guide on how to use the ES Importer with CubeMX projects is available here:
    wiki.segger.com/Import_project…CubeMX_to_Embedded_Studio

    Unfortunately CubeMX project structures and configs are constantly changing, so it is possible that the importer will not catch all defaults on the first try so manual fix ups are necessary.
    Could you check if the guide + troubleshooting steps are helpful in your case too?

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • SEGGER - Nino wrote:

    Hello James,

    Thank you for your inquiry.
    A general guide on how to use the ES Importer with CubeMX projects is available here:
    wiki.segger.com/Import_project…CubeMX_to_Embedded_Studio

    Unfortunately CubeMX project structures and configs are constantly changing, so it is possible that the importer will not catch all defaults on the first try so manual fix ups are necessary.
    Could you check if the guide + troubleshooting steps are helpful in your case too?

    Best regards,
    Nino
    Hi Nino,

    Those instructions don't actually work on macos... The .project file is there, but SES doesn't seem to "see" that folder as a project folder... I think this is related with the . (dot) files in macos are seen as hidden files...

    PS. To be clear the same exact thing works on windows... same project, same process...

    Best regards,
    Diogo
  • Hello James,

    Great to hear that you are up and running again.

    Happy Debugging!

    @Diogo The Importer has currently been only tested on Windows Platform. It is possible that for macOS or Linux additional steps are necessary.
    We will see if support can be added and update the Wiki Article accordingly.
    But as this has nothing to do with the OP this thread will be closed now to avoid off topic discussion.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.