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

Can't get ble_app_uart working on nRF51822 with GCC

I'm having trouble building the ble_app_uart example in: SDK11/examples/ble_peripheral

My build environment is: Ubuntu 15.04 SDK 11.0 GCC S130 PCA10000 nRF51822_xxaa - Rev 2 silicon

I can load and run the pre-built hex file: ble_app_uart_s130_pca10028.hex using JLinkExe. I can also successfully make the armgcc example.

My application doesn't run like the pre-built example when I do the following:

make make_flash_softdevice make flash

I have tried copying the PCA10028 folder and renaming it to PCA10000. I have edited Makefile and changed any references for PCA10028 and nrf51422_xxac to PCA10000 and nrf51822_xxaa respectively. I have tried various changes to the FLASH and RAM sections of ble_app_uart_gcc_nrf51.ld. However, I am not exactly sure what these should be as no combination seems to work.

I have tried using mergehex, but this doesn't work either.

I think my problem is related to the FLASH and RAM settings.

Can anyone point me in the right direction to resolving this issue.

Thanks Lee

Related