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

nRF52 DK boot problem after press IF BOOT/RESET button

Dear all.

I just got nRF52 DK and testing blinky based on KEIL and it works well. I tried one test, IF BOOT/Reset, and nRF52 PDK is not working after below sequence.

  • Power off nRF52 PDK
  • press IF BOOT/RESET Button and power on
  • PC pop ups disk and could see bootloader relates files
  • I tried to connect KEIL with JLINK but failed, PC couldn't recognized nRF52 PDK EVM
  • power off nRF PDK and power on without press IF BOOT/RESET button
  • there is no any LED blinking and if I try to connect JLINK with KEIL, couldn't connected due to couldn't recognized PDK
  • so I pressed IF BOOT/RESET button and power on again and could see pop ups and some files inside disk so PDK is not damaged and it works
  • I tried again without press button and there is no response, PC couldn't recognize PDK EVM and also KEIL couldn't recognize

nRF52 PDK EVM is working, PC pop ups when power on with button press, but looks not working with normal mode(without press reset button).

I have tried to find information but couldn't find something helpful so could someone help on this problem?

Many thanks. Louiey. : )

Parents
  • Hello,

    If you enter the bootloader mode by holding IF BOOT/RESET while you power on the device, the programming chip is the one that enters bootloader mode, and hence, there is no contact to the nRF.

    When you are in bootloader mode, just drag'n'drop the latest Segger file, found here, and power cycle the board when it is done copying. After this, you should be able to connect with nRF Connect or Keil. Note that it is probably the same firmware on the nRF that was installed before the reboot happened. Try erasing it using nRFgo Studio, or "nrfjprog -e" before trying to open the port in nRF Connect.

    BR,

    Edvin

  • Hi, I entered boot loader mode, and I can come out of that, after following steps : 1) plug in the board with pressing if boot/reset button. And then downloading the file (suggested by you) in boot loader folder. I can connect nrf as it shows JLINK as gdrive on my computer. Then I tried to upload the ble and simple blinky code to my board, keil shows that the code is been uploaded but the board shows no rsponce. Please help.

Reply
  • Hi, I entered boot loader mode, and I can come out of that, after following steps : 1) plug in the board with pressing if boot/reset button. And then downloading the file (suggested by you) in boot loader folder. I can connect nrf as it shows JLINK as gdrive on my computer. Then I tried to upload the ble and simple blinky code to my board, keil shows that the code is been uploaded but the board shows no rsponce. Please help.

Children
  • You don't need to enter bootloader mode frequently. It is only if something happens, and the debugger chip becomes unresponsive. 

     

    Smriti said:
    Then I tried to upload the ble and simple blinky code to my board, keil shows that the code is been uploaded but the board shows no rsponce. Please help.

     Perhaps you didn't program the softdevice? I am not sure exactly what example you refer to, but perhaps it is SDK17.0.0\examples\ble_peripheral\ble_app_blinky?

    If so, you need to program the softdevice matching your DK. What DK do you use? And what Keil project did you open?

    The project and softdevice that you should use depends on what nRF you are using.

    nRF52832: Softdevice: S132, example: ble_app_blinky\pca10040\s132\arm5_no_packs\*.uvprojx

    nRF52840: Softdevice: S140, example: ble_app_blinky\pca10056\s140\arm5_no_packs\*.uvprojx

    The softdevice hex files are found in SDK\components\softdevice\[s132/s140]\hex\*.hex

    You can program the softdevice using either "nrfjprog --program <path to softdevice.hex> --verify" or the nRF Connect for Desktop -> Programmer application.

    Best regards,

    Edvin

Related