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

nrf52 DK board + custom prog board + nrf52 device - Odd behavior, hekp?

Hi

I have been developing a 'custom' firmware to be used in a nrf52 based device. The idea is to replace the original firmaware (too limited) and burn my own.

Hence, I developed my custom firware using nrf52 DK + SES + SDK15 + ubuntu. The firmware is finished and tested on nRF52. Now it is time to burn it in the final board.

In order to burn the custom firmware in the final nRF52 based board I have acquired a special programming board (which needs nRF52 DK) which is tailored to flash the nRF52 device. Here is the link:

https://lab.ruuvi.com/devshield/

When I try to flash the device, everything looks fine but it seems that always remain the standard firmware that comes with the device.

The steps I am using are these (ubuntu cmd line):

ERASE:

nrfjprog --family NRF52 --program ~/nRF5_SDK_15.3.0_59ac345/s132nrf52611/s132_nrf52_6.1.1_softdevice.hex --chiperase --verify

BURN SD:

nrfjprog --family NRF52 --program ~/nRF5_SDK_15.3.0_59ac345/examples/ble_peripheral/my/pca10040/s132/ses/Output/Debug/Exe/ble_app_template_pca10040_s132.hex --verify

RESTART:

nrfjprog --family NRF52 --reset

I got success in all these commands. I have also executed these steps using SES.

When I connect to the device using smartphone nRF connect or any other BLE app 'inspector' I can just see 3 services:

Nordic UART Service
Experimental Buttonless DFU Service
Device Information

As my firmware is based on ble nrf_sample_template why it is not visible and available?

I also tried to burn the ble HRS sample and the result is always the same. I can just see those 3 services.

If I use just the nRF52 DK everything works fine and I can see the right services.

I know that this is an issue related with a commercial product plugged into nrf52 dk but the forum of that commercial product have not helped me on these so I am trying to get some insights here.

Thanks in advance

Alex

Related