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

Unable to run the blinky example on a custom board nrf52811

I am trying to program my custom board nrf52811 by pca10056 using ses, and i was able to flash any example of nrf_SDK, however the LED does not blink. even though i added this code on custom_board.h : 

// Low frequency clock source to be used by the SoftDevice
#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_RC,              \
                                 .rc_ctiv       = 16,                               \
                                 .rc_temp_ctiv  = 2,                                \
                                 .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}
but still nothing change. Also, I attached the sch of my board. nRF52811.schIn the end, i want to make this board work as a transmitter, but first i cannot get it to blink. i wish i could get help ASAP.  

Parents Reply Children
  • I'm sorry but it's still not clear to me what to change exactly on Common -> Linker-> Section Placement Macros. can you please be more clear with each step on how to do it on Segger Embedded because I really cannot find these instruction on Segger Embedded. 

    • In the project settings, change to device "NordicSemiconductor->nRF52811_xxaa".
    • In the C/C++ preprocessor settings, remove the defines "NRF52" and "NRF52840_XXAA".
    • Add the preprocessor define "NRF52811_XXAA".
    • In the linker script settings, adjust the linker script to match the maximum RAM and Flash size of nRF52811 (ROM END: 0x2FFFF and RAM END: 0x20005FFF.
    • Remove the following files from the project: <compiler>_startup_nrf52.s and system_nrf52.c.
    • Add the following files to the project: <compiler>_startup_nrf52811.s and system_nrf52811.c

    I really appreciate your help.  

Related