Debugger goes to 0x00000A60, then stuck at 0x00025F54

Hello,

I am developing a custom board using NRF52820 and I am trying run the Blinky example on it with no success. 

I am trying to adapt the blinky example for PCA10056_S140 and have changed the preprocessor definitions to:

APP_TIMER_V2
APP_TIMER_V2_RTC1_ENABLED
BOARD_PCA10100
CONFIG_GPIO_AS_PINRESET
FLOAT_ABI_HARD
INITIALIZE_USER_SECTIONS
NO_VTOR_CONFIG
NRF52820_XXAA
NRF_SD_BLE_API_VERSION=7
S140
SOFTDEVICE_PRESENT

The code compiles but when I try to program the chip with my JLink the debugger first reaches 'unknown function 0xA60' and then gets stuck at 'unknown function' 0x00025F54. Any ideas? Thanks.

Oskar

Parents Reply Children
  • Hi,

    I've seen that thread already, I have configured my project for PCA10100 as far as I understand:

    - I have changed the preprocessor definitions

    - I have replaced the files "ses_startup_nrf52840.s" and "system_nrf52840.c" with "ses_startup_nrf52820.s" and "system_nrf52820.c" 

    - I have changed the target device to NRF52820

    - I have replaced "../modules/nrfx/mdk/nrf52840.svd" with "../modules/nrfx/mdk/nrf52820.svd"

    Is there anything missing? 

Related