This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SES cant find "arm_mpu_v8_internal.h" and other includes

I have been trying ti debug with SES and re-installed everything trying to get it to work, for a while it did, but then it began showing this message:

also, it asks me to locate "fw_info.h" and sometimes some other files.

After this, I cant set breakpoints in main.c and makes it impossible to debug.

Parents Reply Children
  • Hi,

     

    I see the exact same issue when trying to open up and set a breakpoint in main.c:

     

    This is unfortunately a issue with SES v4.42a, where entering debug mode can be problematic.

    To be able to debug multi image, you also need to change the ordering of the .elf symbols in SES options, by right-clicking on "Project 'zephyr/merged.hex" and changing the order of the multi-build elf loading:

     

    The "$(ProjectDir)/zephyr/zephyr.elf" should be last. So if you have spm + application, the application .elf file should be the second loaded one, like in this screenshot:

    My apologies for the inconvenience this is causing. We have reported this back to segger, and this shall be fixed in future versions.

     

    Kind regards,

    Håkon

Related