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

cannot find entry symbol reset_handler

Hi all , I used SEGGER Embedded Studio v3.10 , and import a ble_app_uart keil project , but now build warnning as follow:

create .elf file have a warning "cannot find entry symbol reset_handler;defaulting to 0x0001c000" I added nRF_Startup.s this file and modified MemoryMap.xml file flash start address and size ,Ram start address and size .

How to slove this problem ? Thanks for your help .

Best Regards

Parents
  • Hey,

    It looks like there are some good changes in Embedded Studio v3.10! But I think I will need to make a tutorial for this version integrating in all the feedback from the two previous blog posts.

    However, the answer to you're question:

    • In Options -> Linker -> Linker set Entry Point to reset_handler.
    • In Options -> Debugger make sure Start From Entry Point Symbol is set to No.

    This is how I was able to reproduce/fix the problem you described. If I set Entry Point to UNDEFINED then the build fails with a warning cannot find entry symbol UNDEFINED; defaulting to 0001c274. I would think Embedded Studio would ignore Entry Point if Start From Entry Point Symbol is No, but I guess not.., or it's used somewhere else?

    However, when I opened Embedded Studio v3.10 for first time and imported a fresh ble_app_uart Keil project, the build worked out of the box without this error (after I had to add some directories to the pre-processor includes).

  • Did you install the nRF Pack? You shouldn't have to manually replace the startup files. Make sure you are following the most recent blog post on Embedded Studio as it has important updates: devzone.nordicsemi.com/.../.

Reply Children
No Data
Related