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

nRF52840 DK . What would happen if

What would happen if using the recently released Programmer app from nRF Connect v 2.6.1 for PC, you accidentally erase all de contain inside the Device Memory Layout window? Would this nRF5280 DK board boot as it was doing before, that is, with a shinning LED5 and LED1 ? Could this be the reason why suddenly my board is no longer being recognized by my PC nor leds lit when the board is connected to the USB interface (although LED5 still lits intermittently if I enter the bootloader mode)?. And finally. Should I assume that my board has gone for good, or there is a way to recover its previous functionality? Thanks for your time and comprehension with a newbie fellow.

Parents
  • Hi Andreas. No, I didn't modify the board. The only thing I've done after initial setup working fine was, installing some additional tools to the basic toolchain and by doing so, maybe some sw conflicts could have arisen (?). Let me summarize the process. I am working in a 64bit windows10 machine but since in the "Nordic Tools and Downloads link", the nRFx Command Line Tools are only offered in a 32bit version, I did install this version. The board was being recognized and all leds were working as described in Nordics documentation. Then, using nRF Connect>Programmer, I accidentally erased de device memory layout content, but at the moment, I didn't notice any problem in the board. Later on, I continue trying to install the SDK and run the Keil MDK installer thinking it was mandatory to install the SDK. Then, I tried to program S140 SoftDevice through SES but since I couldn't, I tried with nRFgo Studio. Again I couldn't. Then I entered the Segger site and loaded J-Link v635g just in case. Then I realized that SDK was a library and wasn't to be installed but simply to be declared in the windows path. Finally,  and following recommendations, I moved the SDK directory to C:>Nordic>SDK. All I remember is that installing some of those features, I got some dialogue windows stating that the installation had failed because some 32/64 bit incompatibility with already installed sw had been found. It was the next day when I reboot the PC that I noticed the board was apparently dead (although as I mentioned, LED5 intermittently lits is I enter the bootloader mode). Off course an ESD shock could have always arisen, but this would be too much unlucky. Anyhow. Before I order a new board, I would appreciate your valuable opinion. Learning on your own is a sticky road. Thanks so much.

  • Hi.

    p143 said:
    (although as I mentioned, LED5 intermittently lits is I enter the bootloader mode).

     This is because the J-link driver on your PC is not able to communicate with the Segger chip, not that the board is in bootloader mode

    p143 said:
    I am working in a 64bit windows10 machine but since in the "Nordic Tools and Downloads link", the nRFx Command Line Tools are only offered in a 32bit version, I did install this version.

     We have a 64bit version, you can find it here. Can you delete the 32 bit version you have installed, and install the 64 bit version?

    Best regards.

    Andreas

  • Hi Andreas. I installed the 64bit version and reinitiated my PC but unfortunately, nothing has changed. The Windows Device Manager does not even notice when I connect/disconnect the board to the USB interface.

  • I said LED5 only lits in bootloader mode because it only happens when I switch on  SW8 and press SW5. 

Reply Children
  • Hi.

    Sorry for the late reply, I've been quite busy today.

    When you get it in the bootloader mode, a folder named "BOOTLOADER" should pop up under "This PC"

    Download this .bin file and drag that file into that folder, and after that just reset the board.

    Also, make sure that your USB cable is not broken or something.

    This should work.

    Best regards.

    Andreas

  • Thanks very much, Andreas. My board is at life again. The only thing I've noticed is that now, after booting, LED1 does not lit. Is that important?

  • Hi.

    I'm a bit unsure what you mean, have you programmed an application which toggles LED1 or something like that?

    - Andreas

  • Hi Andreas.

    No. Is simply what the nRF52840 DK User Guide v1.2 says in paragraph 4 (see here below)  it should happen when you first connect the board to the USB interface if everything is correct:

    --------------------------------------------------------------

    4 Getting started
    Before you start developing, complete a few steps to set up the hardware and download the required
    software.
    Before you start:
    • Unpack the DK.
    • Check Minimum requirements on page 6.
    Follow the steps below to set up your kit:
    1. Connect the NFC antenna to the connector marked NFC.
    2. To power up the board:
    a) Connect a micro-USB 2.0 cable to the USB connector J2 on the nRF52840 DK and the other end to
    one of your PC's USB host port.
    In addition to providing power to the board, the USB connection supports target programming.
    b) Slide the nRF power source switch SW9 to VDD.
    c) Slide the power switch SW8 to the ON position.
    A pop-up may appear. You can ignore it.
    Check that LED1 has started pulsating. For more information, see Buttons and LEDs on page 29.
    Open Windows Explorer to check that the nRF52840 DK has appeared as a removable drive named
    "JLINK".
    This allows you to program the chip on the board.

    ------------------------------------------------------------------------

  • Hi.

    It is fine if LED1 is not pulsating now, it think that LED1 should pulsate if it is a brand new DK from the factory. What I mean is that all the DK's comes pre flashed with a firmware which makes LED1 pulsate, and since you now have uploaded the J-Link firmware, LED1 does not pulsate.

    Best regards.

    Andreas

Related