I am using Windows 10, 64-bit
I am using gcc tools 7 2018-q2-update (arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 7-2018-q2-update) 7.3.1 20180622 (release))I am using the nRF5 SDK 15.2.0 (nRF5_SDK_15.2.0_9412b96)
I am trying to get the ble_app_blinky to work (SDK_DIR\examples\ble_central\ble_app_blinky_c\pca10040\s132\armgcc)
I run make, everything compiles
I run make erase (just to be safe)
I run make flash_softdevice
I run make flash
The LED next to the PCA10040 lights up, then the LED1 lights up, and shortly after the LED next to the PCA10040 blinks quickly about every second.Using the nRF Blinky App from the apple store on my iPhone 6s, the blinky example does not show up.
Is there something I am missing, or is there a known issue with this configuration?
I was not able to reproduce this on my side, so I have a few questions:
I do not have another device to test on nearby, and I only have one development board.
I did not modify the project in any way.I am getting the same problem when flashing with the pre-compiled example:
programmed using the following commands:
nrfjprog -f nrf52 --program ble_app_blinky_c_pca10040_s132.hex --chiperase
I did not spot this earlier, but the reason this is not working is that you are using the central example. That is intended to be used to control another peripheral which is using the peripheral example. The correct example for your case, where you want to control the LED on a BLE peripheral from the phone, is found under <SDK>/examples/ble_peripheral/ble_app_blinky/.
I feel rather silly. Thank you for that. It works now!