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

Programming nRF52810 Custom Board

Hi Everyone,

I have problem about debugging program which for my nRF52810 custom board. I am using SEGGER IDE. I changed ses_nrf52810_Vectors.s and system_nrf52810.c files. I can not create Output and Dependecies files. Ok. How can i simple_timer example for nrf52810 SoC whith SEGGER IDE. Keil is more usefull than SEGGER i dont know?! If anyone has knowladge about this topic please explane where are my mistakes?

Parents
  • HI Omer, 

    which SDK version are you using? 

    I managed to get the simple_timer example from SDK  v15.0.0 to run on a nRF52810 board by modifing the following settings. Make sure you select the Common configuration under  Project 'simple_timer_pca10040' settings

    Code > Linker > Section Placement Macros = FLASH_PH_START=0x0;FLASH_PH_SIZE=0x30000;RAM_PH_START=0x20000000;RAM_PH_SIZE=0x6000;FLASH_START=0x0;FLASH_SIZE=0x30000;RAM_START=0x20000000;RAM_SIZE=0x6000

    Code > Code Generation > ARM FP ABI Type = Soft

    Code > Preprocessor > Preprocessor Definitions =

    BOARD_PCA10040;CONFIG_GPIO_AS_PINRESET;FLOAT_ABI_SOFT;INITIALIZE_USER_SECTIONS;NO_VTOR_CONFIG;NRF52810_XXAA;NRF52_PAN_74;SWI_DISABLE0

    You also have to replace the vetor and system files as you pointed out. 

    Best regards

    Bjørn

Reply
  • HI Omer, 

    which SDK version are you using? 

    I managed to get the simple_timer example from SDK  v15.0.0 to run on a nRF52810 board by modifing the following settings. Make sure you select the Common configuration under  Project 'simple_timer_pca10040' settings

    Code > Linker > Section Placement Macros = FLASH_PH_START=0x0;FLASH_PH_SIZE=0x30000;RAM_PH_START=0x20000000;RAM_PH_SIZE=0x6000;FLASH_START=0x0;FLASH_SIZE=0x30000;RAM_START=0x20000000;RAM_SIZE=0x6000

    Code > Code Generation > ARM FP ABI Type = Soft

    Code > Preprocessor > Preprocessor Definitions =

    BOARD_PCA10040;CONFIG_GPIO_AS_PINRESET;FLOAT_ABI_SOFT;INITIALIZE_USER_SECTIONS;NO_VTOR_CONFIG;NRF52810_XXAA;NRF52_PAN_74;SWI_DISABLE0

    You also have to replace the vetor and system files as you pointed out. 

    Best regards

    Bjørn

Children
No Data
Related