Hello,
My group has developed a board using the nRF52840 SoC and we are in the process of transitioning our firmware from the development kit to the custom board. Our firmware code is based on examples meant for the pca10056 board configuration. We have changed the board in the preprocessor definitions to BOARD_CUSTOM and created the appropriate .h file with the specifications of the custom board based on the pca10056.h file. When testing out the bluetooth capabilities of the custom board, we are using the ble_blinky example in the nRF5 SDK to see if the board is capable of advertising.
The debugger gets caught in a while loop in some assembly code occurring after this line:
ble_stack_init();
SVCALL(SD_SOFTDEVICE_ENABLE, uint32_t, sd_softdevice_enable(nrf_clock_lf_cfg_t const * p_clock_lf_cfg, nrf_fault_handler_t fault_handler));
Is there more that needs to be done besides changing the preprocessor definition to the custom board? We are unsure about how to begin debugging this issue and if it is related to software or hardware.
Thank you.