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

nrf Connect erases the code when connected to device.

Hello,

I am using a nrf52840 DK and I have no issues connecting to nrf connect. However, when it's connected all LEDs turn off and whatever code that was inside stops functioning. When scanning, it does not detect the app that was programed in the board and the UUID definition file cannot be opened. Do I need a second board in order to test some of the examples? like the ble_blinky, ble_alert_notification. In the document, it says that only one board is required along with nrf connect, but I just can't figure out how that would work.

Thank you,

Parents Reply Children
  • I know there is a nRF Connect mobile app and I have tried it with the ble_blinky, but the issues occur when I use the pc version. Whenever the nRF Connect establishes COM with the DK, it suppresses the application that was already in the board, and the programs stops functioning. For instance, the LED that indicates advertising turns off and the device name can no longer be discovered by other Bluetooth device. (the board can still scan other devices)

  • The nRF Connect Bluetooth low energy app for desktop requires a connection to a local development kit through a serial port connection. So when you connect your board to the PC it will promp a message asking if you want to reprogram your board to setup the serial port connection with the app, and this will erase whatever application that was already programmed on the board. You can then scan for other boards or bluetooth devices and establish a connection with them. If you want to advertise with your local device you can set up advertising by clicking the Device options icon (the gear icon next to the local device name). For more information and step by step guide take a look at the nRF Connect Bluetooh low energy user guide.

    - Marjeris

  • Thank you, this answers my question. Another question is that how do I connect with other blue tooth device such as my phone and computer using nRF Connect. They all listed as unknown and any attempt to connect with them resulted in failure.

Related