Hi guys
I'm trying to load the ble_app_beacon project on a custom board. I am able to flash the softdevice and the application, but the chip is not advertising. So, I started debugging the chip using Eclipse and I noticed that it fails after calling sd_softdevice_enable, but I am unable to read error code.
Important information:
Chip: NRF51822 QFABC0
SDK: v10.0.0
Softdevice: : v8.0
ble_app_beacon_gecc_nrf51.dl :
/* Linker script to configure memory regions. */
SEARCH_DIR(.)
GROUP(-lgcc -lc -lnosys)
MEMORY
{
FLASH (rx) : ORIGIN = 0x00018000, LENGTH = 0x20000
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x4000
}
SECTIONS
{
. fs_data_out ALIGN(4):
{
PROVIDE( __start_fs_data = .);
KEEP(*(fs_data))
PROVIDE( __stop_fs_data = .);
} = 0
}
INCLUDE "nrf5x_common.ld"
Based on this post Why does the softdevice initialization hang?
I figured out that I had to change the clock source to:
SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION, NULL);
because my custom board does not have an external 32 kHz crystal.
Unfortunately, the issue continues.
Any idea what could be happening?
Thanks in Advance