Hi, I have problem with nRF51822. I've bought cheap China miniboard with this chip. I can program some examples (precompiled HEXes) with J-LINK and they works correct, but when comile myself (gcc 4.9q3 SD130) same examples without any modifications it doesn't work.
Same HEXes compiled by me works correct on dev board PCA10028.
GDB debugging also doesn't work on miniboard - doesn't break at "main", instead hangs on eclipse disassembly view, (snippet):
fffffffa: movs r0, r0 fffffffc: movs r0, r0 fffffffe: Unable to retrieve disassembly data from backend. ffffffff: Unable to retrieve disassembly data from backend. 100000000: Unable to retrieve disassembly data from backend.
(same thing works correct with PCA10028).
Examples used by me are: "ble_app_beacon" and "blinky".
My host system is windows 10 x64, but also confirmed same behavior on Ubuntu 16.
Tested two such miniboards. Signature of one is "N51822 QFAAH1 1634GK"
I'm out of ideas, have you got any?