Hi,
We just recently received our (custom) board with the nrf51822. To program and debug the nRF I use the pca10028 and the debug out header. I wrote a very basic program based on the blinky example to check if I can communicate with the chip at all. I can successfully program the nRF via the nrfGo Studio. I can also ready back the hex file with success. However, the LED do not toggle and the chip seems to be "dead" after programming. I double and triple-checked the pin assignment and that the LEDs are mounted correctly etc (I also cannot see a change on the pin with an oscilloscope).
Does anyone have any idea what could be wrong? The program-code works fine on the pca10028. For the custom board I just change some defines because of the different pins we use for the LEDs. Do I have to do something special for factory devices? I tried with and without the softdevice, with no difference.
Any suggestions?
includes... int main(void) { nrf_gpio_cfg_output(LED_1); nrf_gpio_pin_set(LED_1); }