nRF5340 DK and PPK2 not working

Hi,

I am using the PPK2 to evaluate the nRF5340. Neither of these devices is currently working properly, I think the underlying cause has something to do with USB that's why I created only one issue. 

  • PPK2

It works the first time after restarting my computer. If I then close Power Profiler and select the device again it hangs at 'Opening device with s/n EAA9B4F32C15'. After that it will not be usable. I have tried unplugging/replugging the USB, using with a powered USB hub, without a USB hub, nothing works except restarting my PC. It's identical to this issue but it never got a solution unfortunately: https://devzone.nordicsemi.com/f/nordic-q-a/76900/cant-open-power-profiler-kit-2-on-windows-pc

  • nRF5340 DK

It can connect fine. When I press the 'read' button to read the memory I get:

15:04:19.393 Failed to get device memory map: async task failure for id: 1865463227 msg: JLINKARM_DLL_TIME_OUT_ERROR (Origin: "Error when running fw program.")
15:04:19.393 Error when reading device

I tried the same with nrfjprog command line utility and it gave the same result. I have attached the log here for reference:
 
Furthermore I have tried:
  • Using a personal laptop. Both devices work fine on this machine, no issues whatsoever. This makes me sure that it's something with my installation. 
  • Reinstalling. I just did a clean install of all software involved, including windows drivers. Unfortunately it made no difference. 
Parents
  • Hi Stefan

    We're not able to reproduce this on our end, so can you try recovering your PPK2 as follows (even though it works as is on another computer I think it's worth the try):

    • Disconnect all other nordic devices from the computer, turn off the kit and remove it from the plastic by removing the four screws.
    • Insert USB to J2 (USB DATA/POWER).
    • Short a connection between GND (e.g on the four pin power output header) to TP34 on the PPK2.
    • While holding the jumper cable, turn the kit on and remove the jumper. Now the PPK2 should be in bootloader again.
    • Open the PPK app, and select the device which is now just a serial number.
    • When selecting it, the user will be prompted to program the application and it should now be working again.

    Best regards,

    Simon

Reply
  • Hi Stefan

    We're not able to reproduce this on our end, so can you try recovering your PPK2 as follows (even though it works as is on another computer I think it's worth the try):

    • Disconnect all other nordic devices from the computer, turn off the kit and remove it from the plastic by removing the four screws.
    • Insert USB to J2 (USB DATA/POWER).
    • Short a connection between GND (e.g on the four pin power output header) to TP34 on the PPK2.
    • While holding the jumper cable, turn the kit on and remove the jumper. Now the PPK2 should be in bootloader again.
    • Open the PPK app, and select the device which is now just a serial number.
    • When selecting it, the user will be prompted to program the application and it should now be working again.

    Best regards,

    Simon

Children
  • Hi, I was able to follow the steps and put the device into the correct mode (LED slowly flashing red). Unfortunately I am then unable to program the PPK2 on my windows PC. I get the following error:

    Failed to write to the target device: async task failure for id: 3579147264 msg: serialport could not be opened

    I then tried the same on my linux laptop, it programmed the board without any issues. I then reconnected the board to my windows pc, I get the same issues again.

    From the error it seems that something is blocking the COM port. I have also tried opening the COM port using a few other tools and all give more or less the same error message, so something is indeed blocking the COM port. I have no clue what it could be.

Related