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

nRF52840 PDK programming trouble

Hi, I have serious troubles when trying to program the board with softdevice (s140).

  1. nRFGo Studio: nRFGo Studio installed and running fine. When I connected the board I received a notification to update jlink firmware. Update procedure ended with a board which is not programmable. I got the following error message: No device detected or readback protection may be set. I haven't found any info about that on PDK user guide. I tried the recovery procedure without any results. The nRF5x programming link is always grayed.
  2. GCC makefile: where is the 'flash_softdevice' file called by 'make flash_softdevice' I cannot find it.

Hope to have not bricked the board. Anybody could help?

thanks in advance F

Parents
  • @fguerzoni:

    1. I would recommend that you download the latest version of nRF5x toolset from the product page, and try to use nrfjprog to recover your device.
    2. Which makefile / project is this?
  • run_ar - would you please explain how to use nrfjprog to recover a bricked nRF52840 preview development kit? Because I obediently updated the jlink firmware like the nRFgo Studio recommended and bricked the brand new dev kit out of the bag.

    I had to muddle around (it does not show up in Windows 10 as an installed program) and finally found nrfjprog here: C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin

    Then I used the help messages to piece together this with trial and error: nrfjprog --family NRF52 --recover

    And this is what I got: Recovering device. This operation might take 30s. Erasing user code and UICR flash areas.

    I went back to nRFgo Studio to program the soft device and the nRF52840 is still bricked. Obviously using the 'Recover' button in nRFgo Studio also fails to unbrick the device. Too bad I cannot attach a .jpeg screen shot from nRFgo Studio.

Reply
  • run_ar - would you please explain how to use nrfjprog to recover a bricked nRF52840 preview development kit? Because I obediently updated the jlink firmware like the nRFgo Studio recommended and bricked the brand new dev kit out of the bag.

    I had to muddle around (it does not show up in Windows 10 as an installed program) and finally found nrfjprog here: C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin

    Then I used the help messages to piece together this with trial and error: nrfjprog --family NRF52 --recover

    And this is what I got: Recovering device. This operation might take 30s. Erasing user code and UICR flash areas.

    I went back to nRFgo Studio to program the soft device and the nRF52840 is still bricked. Obviously using the 'Recover' button in nRFgo Studio also fails to unbrick the device. Too bad I cannot attach a .jpeg screen shot from nRFgo Studio.

Children
No Data
Related