This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Tooling for custom nRF52811 PCB based on ARM-GCC and PCA10040

Hi,

Intention:

I want to build and run a sample application without suggested IDE on my custom nRF52811 PCB.

Previous steps:

Based on a tutorial [1] I found I was able to make the ARM-GCC toolchain running. I tested it with PCA10040 and onboard target nRF52832.

Problem:

Now I want to build the ble_app_hrs and flash it on my custom PCB with nRF52811 QFN32.

Before that I connected the PCB10040 with my custom PCB like in [2].

Now I go to nRF5_SDK_15.3.0_59ac345/examples/ble_peripheral/ble_app_hrs/pca10056e/s112/armgcc and processed the steps as explained in the infocenter [3] under "Transferring emulated project". Which means I commented out the DEVELOP_IN_NRF52840 and NRFX_COREDEP_DELAY_US_LOOP_CYCLES defines in the Makefile.

After that I run make flash_softdevice && make flash and the custom PCB seems to be flashed because I do not get any errors and some GPIO connected LEDs which were dark are now a little shining.

The problem is I can not find any bluetooth device named "Nordic *" with nRF Connect.

If I run nrfjprog -e the custom PCB gets erased and the LEDs are dark again.

Questions:

Does anyone have a clue what I am doing wrong?

Is it that I am using the PCB10040 as a programmer but building the binary inside the pca10056e directory?

Are there any other steps regarding to [3] which I am missing?

Best regards

51M00N

Links:

[1] https://store.makerdiary.com/blogs/tutorials/how-to-use-nrf5-sdk-with-arm-gcc

[2] https://devzone.nordicsemi.com/f/nordic-q-a/14058/external-programming-using-nrf52-dk

[3] infocenter.nordicsemi.com/index.jsp

Parents Reply Children
No Data
Related