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

How to develop for nRF51822 using SDK 10?

I'm just getting started with some Nordic development. This is on Linux (Ubuntu 12.04LTS) using nRF51 SDK 10.0 and gcc arm embedded toolchain. I have a PCA10031 and a PCA10000.

Using the PCA10031, I can go to nRF51_SDK_10.0.0_dc26b5e/examples/ble_peripheral/ble_app_hrs/pca10031/s110/armgcc and run "make ; make flash_softdevice ; make flash nrf51422_xxac_s110", and that works. In other words I can see the "Nordic_HRM" in a bluetooth scan, connect to it, and get data.

Using the PCA10000 (with nRF51822 instead of nRF51422), if I run the same commands, that apparently flashes ok (it verifies with nrfgprog --verify) but it doesn't run (nothing visible on bluetooth, nothing on debug UART). I tried changing -DBOARD_PCA10031 to -DBOARD_PCA10000 everywhere in the Makefile, and rebuilding, same result.

How can I get the ble_app_hrs example to run on the PCA10000? (or any other example eg ble_app_uart, on any other dev board using nRF51822)

I need to know this since even if I develop on PCA10031 now, eventually I will have to move my custom code to a module based on nRF51822.

Related