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

Using soft device on custom board with nRF52840

Hello guys,

I am using SDK15.3.0 and BL654 modules containing nRF52840 on my custom board. In addition to that, I have both nRF52-DK and nRF52840-DK boards. I can program my custom boards through P19 connector, there is no issue with that. When I program my custom board with the code which does not contain SoftDevice but only uses some peripherals (e.g. I2S, timers...), everything goes smooth. I am able to program it through P19 connnector and to debug it with Segger Embedded Studio (to read NRF_LOG_INFO prints on Debug Terminal).

The problem arrives when I want to use SoftDevice. I started with examples/ble_peripheral/ble_app_template example on nRF52840-DK board. By following your great tutorials, I was able to create some custom services and characteristics as well as to connect with nRF Connect tool through nRF52840 dongle and exchange data. When I download the same code on my custom board and start debugging with Segger Embedded Studio, everything freeze and I can't see my custom board on nRF Connect. Call Stack is empty! I am loading SoftDevice S140 v6.1.1 together with my application through Segger Embedded Studio, like described here. Using nRF Connect Programmer tool, I was able to see memory layout of nRF52840 on my custom board and I can withness SoftDevice is there.

I am wondering from where comes this issue? What I am missing here?  Did someone of you guys run into the same issue?

Thank you very much for your time and effort.

Sincerely,

Bojan.

Related