Hi Hoan,
I tried to set up Eclipse following your blog but wasn't able to get anything close to what you have and I couldn't make it work. I did succeed in getting Keil set up and was able to compile a blink program but couldn't get any result when I flashed the nRF51822 mkit. Still trying to find some path forward.
I have not been able to get your boards to work for me except with the blink program you compiled.
I was able to program my custom board using the programmer that comes with the BLE Nano, so at least I have one way to program my boards.
I just ordered the nRF51 DK to try using the external J-Link programmer.
This is a lot harder than programming an Arduino!
Kris
I just received my nRF52 development kit and immediately tried the mbed compiler using the nRF51 as a target (since there doesn't seem to be a bootloader specifically for the nRF52). I was able to blink an led and get data streamed to the serial monitor from an MPU9250 connected to the I2C bus. The curious thing is that the sensor fusion rate was only 1080 Hz compared to 380 Hz for the nRF51. I would have expected at least four times the rate since the cpu speed alone is four time faster on the nRF52 not to mention the FPU. Is it possible the nRF51 compiler doesn't take advantage of the optimizations possible with a proper compiler specifically designed for the nRF52? Overall this performance was somewhat disappointing. 1 kHz is plenty fast for sensor fusion, that's OK. But I expected a factor of ten increase in speed. Why should it not be so?