9 years, 2 months ago.

How to debug export from mbed to gcc for NRF51-DK?

After export to gcc fro NRF51-DK, I am able to run "$ make" successfully, however after loading the hex file onto the chip, the program does not appear to work.

The same program compiled on mbed, downloading the hex file and programming onto the chip, works great.

Does anyone know how to get offline gcc arm compiling to work, or how to further debug? I am specifically using the "BLE_LoopbackUART" example program and new to ARM programming.

In particular, in the root folder the "GettingStarted.htm" has this rather amusing line

    Linux
        Need to install xxxx 

Does anyone know what this "xxxx" is?

I am running Ubuntu 14.04 with the NRF51-DK.

Question relating to:

Ah! I needed to run $ make merge

and copy over the "combined.hex" file instead. And it works, hurrah!

posted by Nancy Ouyang 30 Aug 2015

1 Answer

9 years, 2 months ago.

+1 for sharing the solution, make merged.