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

Unable to set up nRF52840-DK

Hi I purchased nRF52840-DK board recently. I'm able to connect it to Mac OS Mojave and I see that the LED5 is blinking every second. However none of the LED1-4 are blinking and I'm not sure what to do here. I followed the steps listed out here - https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52-DK/Getting-Started

and I downloaded the latest firmware and drag-dropped the hex file into the JLINK drive that I see in the file explorer but it didn't work.

Can you please help me?

Thanks, Raghav

  • Actually I have another update. I downloaded the HRM file and copied the hex file over into the JLINK folder and I was able to connect to the board from the ToolBox app. The connection showed up as Nordic_HRM and I see values being shown in the app. The LED1 DOESN'T blink on the board. I tried holding down the button for a few seconds but that didn't work either. Could something be wrong with the circuit?

  • The same is true for the Proximity demo. None of the LEDs blink and clicking on FindMe button in the app doesn't get the LED3 going.

  • Hi Raghav

    Glad to hear you got out of the bootloader mode by yourself! I suggest you download nRFConnect for desktop, which has a programmer app where you can easily write and upload projects to your chip, and get log files to see if the program flashed correctly or not, as it is way easier to find out if something is going wrong that way. 

    Next, go here to download SDK 15.3. Then open nRFConnect and the programmer app. In the programmer app choose your device, then add a hex file, then click the erase and write button to flash the firmware to your device. You can try the led_softblink just tp confirm that all LEDs work properly. 

    Please confirm that you're able to program the board and that the LEDs pulsate.

    The next step would be to download SEGGER Embedded Studios, which is a free IDE for all developers using Nordic products, and is available for macOS, where you can create edit and upload your own projects to the nRF52840 DK.

    Best regards,

    Simon

  • Thank you Simon for your continued support. I followed your steps above and I run into this error when I try to use the Programmer app, from nRF Connect Desktop, with my nRF52840 DK board.

    Error while probing devices: Error occured when get serial numbers. Errorcode: CouldNotOpenDLL (0x7) Lowlevel error: JLINKARM_DLL_NOT_FOUND (ffffff9c)

    When I try to Select Device, (000683758172 PCA10056) I get the below error.

    Unsupported device. The detected device could not be recognized as neither JLink device nor Nordic USB device

    I tried adding a hex file from the demo (Proximity) and got the following logs. Any idea what is going on? Appreciate your help. Raghav

    11:25:39.063
    Parsing HEX file: /Users/Raghav/Downloads/proximity_demo/ble_app_proximity_s132_pca10040.hex
    11:25:39.072
    File was last modified at 3/11/2016, 9:20:48 AM
    11:25:39.238
    Data block: 0x00000000-0x00000964 (0x00000964 bytes long)
    11:25:39.238
    Data block: 0x00001000-0x0001B6B4 (0x0001A6B4 bytes long)
    11:25:39.238
    Data block: 0x0001C000-0x00024DAC (0x00008DAC bytes long)
    11:25:39.243
    SoftDevice detected, id 0x81 (S132 v2.0.0)
  • Can you try downloading and installing the J-Link Software and Documentation pack? Try with the latest version first. If that doesn't help, try version 6.22g, as there was an issue with newer versions earlier for macOS which I'm not sure if is fixed.

    Best regards,

    Simon

Related