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

Doing the custom service tutorial for the NRF52 DK

So I'm kinda new to micro controllers and I followed the steps for the custom service tutorial (https://github.com/bjornspockeli/custom_ble_service_example), however when I got to the end of Step 3, the LED 1 doesn't flash on my NRF52 DK nor does it advertise anything when trying to find it using NRF connect mobile.

I don't know if its the Disconnected Jlink that's making this problem occur and would appreciate help. As the Jlink does show up in windows device manager.

Parents
  • Hi,

    J-Link status of "Disconnected" is nothing to be worried about. The J-Link connection is only active during programming and when in a debug session. After programming it will disconnect and this is normal.

    There are a couple of things you can try:

    • Reset the board.
    • Run a debug session (F5 in SES).
    • Check the log output from the board. From SES it is easiest to use RTT for logging. Check in sdk_config.h that NRF_BACKEND_RTT_ENABLED is 1, that NRF_BACKEND_UART_ENABLED is 0, and that NRF_LOG_ENABLED is 1. You will get the RTT log automatically from within SES when in a debug session.

    Regards,
    Terje

Reply
  • Hi,

    J-Link status of "Disconnected" is nothing to be worried about. The J-Link connection is only active during programming and when in a debug session. After programming it will disconnect and this is normal.

    There are a couple of things you can try:

    • Reset the board.
    • Run a debug session (F5 in SES).
    • Check the log output from the board. From SES it is easiest to use RTT for logging. Check in sdk_config.h that NRF_BACKEND_RTT_ENABLED is 1, that NRF_BACKEND_UART_ENABLED is 0, and that NRF_LOG_ENABLED is 1. You will get the RTT log automatically from within SES when in a debug session.

    Regards,
    Terje

Children
Related