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

Environment setting of SEGGER embedded studio for ARM V 3.34a

Windows7 , nRF5_SDK_15.0.0_a53641a-ble_app_uart,,

Environment setting of SEGGER embedded studio for ARM V 3.34a

I am preparing to develop ble_app_uart using [SEGGER Embedded Studio for ARM V3.34a], but will you encounter an error, can you tell me the reason?

(First display)
[Error reported]
Failed to set startup completion breakpoint: main symbol not found
Press[OK]

(2nd display)
[Error reported]
Failed to set initial breakpoint: main symbol not found
Press[OK]

Parents
  • Could you please upload some screenshots of the errors you are receiving? Could you please check what the optimization level of your project is? If it is not set to None, could you please set it to None & try rebuilding? Right click on the Project -> Edit Options ... -> & follow the screenshot below.

    You may want to try rebuilding instead of just building:

  • As I taught, I changed the settings, but the situation does not change.

    Run debugging

    An error occurs.

    Even if you press OK, an error occurs again.

  • From your first picture, I see that you have modified options on your main.c file. What changes have you made in the settings for main.c? Did you remember to press on the Project & right click the Project file before you pressed Edit Options? If not, you will edit the options for the main.c file instead, which is most likely why you received a "modified options" text next to your main.c file. See below:

    Are you able to build the code & run the code without debugging & setting a breakpoint? 

    Also, which settings do you have in Project Settings -> Common Configuration -> Debugger -> Start from entry point symbol? This value should be set to No. See below:

    ...

Reply
  • From your first picture, I see that you have modified options on your main.c file. What changes have you made in the settings for main.c? Did you remember to press on the Project & right click the Project file before you pressed Edit Options? If not, you will edit the options for the main.c file instead, which is most likely why you received a "modified options" text next to your main.c file. See below:

    Are you able to build the code & run the code without debugging & setting a breakpoint? 

    Also, which settings do you have in Project Settings -> Common Configuration -> Debugger -> Start from entry point symbol? This value should be set to No. See below:

    ...

Children
Related