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

Error: cannot find run section .cli_sorted_cmd_ptrs_run referenced in cli_sorted_cmd_ptrs

I'm editing the Github example [ble_app_uart__saadc_timer_driven__scan_mode]. I'm using:

- nRF52 DK (nRF52832)

- SoftDevice: s132_nrf52_7.2.0_softdevice.hex

- SDK: nRF5_SDK_17.0.2_d674dde

I have changed RAM to RAM1 in flash_placement.xml. When I upload the code to nRF52 DK, I saw this error

cannot find run section .cli_sorted_cmd_ptrs_run referenced in cli_sorted_cmd_ptrs

please help, thanks! 

Parents
  • Hello,

    What changes did you do in the flash_placement.xml, and why? Please note that adding white spaces may corrupt this file.

    Did you also do the same changes in your project settings? There are a few places in the Linker section that you need to change this in SES (Segger Embedded Studio), such as:

    • Linker -> Memory Segments
    • Linker -> Section Placement Macros

    Please remember to set the selection to "Common" before changing these:

    And why do you need to change the memory settings? Did you see the same issues before doing the changes? Did you try to use SDK17.0.0, which the github repository says that the example is made in/for?

    Best regards,

    Edvin

Reply
  • Hello,

    What changes did you do in the flash_placement.xml, and why? Please note that adding white spaces may corrupt this file.

    Did you also do the same changes in your project settings? There are a few places in the Linker section that you need to change this in SES (Segger Embedded Studio), such as:

    • Linker -> Memory Segments
    • Linker -> Section Placement Macros

    Please remember to set the selection to "Common" before changing these:

    And why do you need to change the memory settings? Did you see the same issues before doing the changes? Did you try to use SDK17.0.0, which the github repository says that the example is made in/for?

    Best regards,

    Edvin

Children
No Data
Related