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

Hello S110 World in gcc, ble_app_hrs fail

Hello Folks, I'm starting some work with the nRF51822 Evaluation Kit (PCA10001), but have very quickly run into a blocker when trying one of the ble samples. (I've previously run the led-blinky sample apps, so this should rule out more basic user errors.)

I'm working with nRF51_SDK_v4.3.0.27417. I've imported the ble_app_hr app from the PCA1001 branch, and using the Makefile from the Board\nrf6310\ble project (former doesn't have the gcc / makefile etc), i was able to build the app. With a combination of different indexers in eclipse, it's nearly a workable setup in terms of browsing code / debugging .

Unfortunately, on starting up the example (run from eclipse in GDB hardware debugging) the app fails to properly start advertising (flashing led) when I hit either button. I see the device is out of sleep mode and looping over the same set of instructions. See attachment.

I hope you might be able to provide some pointers based on the (admittedly sparse) info above. Let me know what other info I can provide to troubleshoot this (i'll include the output of build console for fun).

Thanks in advance, Mike

Capture.PNG

build_out.txt

Parents
  • @Guest, I'm using Win 8, CDT422 & various plugins described in the Nordic gcc application note. I do prefer having an actual makefile as it will allow me to easily build debug using the linux netbook (too weak to run eclipse etc) in the field.

    @Ole, not stupid at ALL. This occurred to me but I was not diligent enough to look through all the documentation, couldn't find the softdevice download from nordic site, nor any obvious instruction on how to do this. Also seeing as the linker was linking against a certain gcc_nrf51_s110_xxaa.ld (? what is it) I assume it was being built into the binary, and flashed together with the app.

    I'm certain this is the problem, now if I only new where to get the softdevice

Reply
  • @Guest, I'm using Win 8, CDT422 & various plugins described in the Nordic gcc application note. I do prefer having an actual makefile as it will allow me to easily build debug using the linux netbook (too weak to run eclipse etc) in the field.

    @Ole, not stupid at ALL. This occurred to me but I was not diligent enough to look through all the documentation, couldn't find the softdevice download from nordic site, nor any obvious instruction on how to do this. Also seeing as the linker was linking against a certain gcc_nrf51_s110_xxaa.ld (? what is it) I assume it was being built into the binary, and flashed together with the app.

    I'm certain this is the problem, now if I only new where to get the softdevice

Children
No Data
Related