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
  • 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

Children
Related