Hi Jay,
I'm not using a kit, but a custom-designed PCB based on the nordic reference design. It works fine in general, including with older mbed-compiled firmwares. The notable difference in this board is that it doesn't have a 32kHz crystal.
I did compile the program in the online IDE so the softdevice should be included, right?
Also, I am not able to run even the "blinky" program which doesn't use the softdevice at all!
I am programming the firmware through the mini Segger that comes with nordic developer kit.
I have a feeling it's got something to do with LF clock. Is the "btle.cpp" file the only place where the LFCLK is initialised? I did a project-wide search and did not find another place to modify. Nordic have also told me that even without clock init the chip should at least work for GPIO toggling.
Hi all,
I am unable to get my firmware working on non-mkit hardware. Up until September 17 it was working on this same hardware. If I load the .hex file from then, it works. But firmware compiled today doesn't work. Earlier, all I had to change was the LF clock source as my custom board doesn't have a 32k crystal. Unfortunately I am unable to revert my project to Sept 17 because it somehow links to a non-existent changeset of the nRF51822 library - perhaps I forgot to commit?
To isolate the problem I've tried creating a new project and copy-pasting my code. -> no success. Next I tried creating a fresh BLE_HeartRate project, and only changed the LFCLK source to synthesized from HF CLK (nRF51822 library code). -> no success. Finally I tried running just mbed_blinky with the appropriate LED pin for my board. Even that did not work.
All of this works fine when running on the mkit. I'm out of ideas!
Thanks.