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

nRF Connect v3.2.0 issue for nFR9160

 Hi, 

I am new to Nordic Thingy91.


I have tried to connect Nordic Thingy91 (nRF9160) device using "nRF connect v3.2.0", via USB.
But I am facing, below issue.

Issue 1: "unsupported device: the detected device could not be recognized as neither jlink device nor nordic USB device for windows 10"

Tried: I have tried installing different versions of J-Link from below:
www.segger.com/.../
(Tried with: 6.22g,e 6.50e, etc.,)

But no luck, and below issue is seen,

Issue 2: "unsupported device with serial number PCA_20035_d081421f4d65 and trails ["serialport"]"

Is JTAG necessary to flash/program the "nRF9160" and "nRF52840"..?

Host Machine Details (Where I am trying to flash/Program the nRF9160):
Windows 10
nRF Connect v3.2.0

NOTE: Apart from nRF Connect v3.2.0, I didn't installed any tools in windows 10 machine.
I have a Nordic Thingy91 development environment (including SEGGER) in a different machine. Planing to use windows 10 to flash/program the nRF9160 remotely.


I was able to successfully compile and generate the binary (Ex: Asset tracking) in the development environment.

Please direct me to the correct path, whether I am missing anything on Windows 10 machine to flash/program the nRF9160.


Thank you for your help.

Parents Reply Children
  • Dheeraj said:
    what is the appropriate Image for nRF52840 SoC .? 

    The nRF52840 on the Thingy:91 is programmed with this sample: https://github.com/NordicPlayground/fw-nrfconnect-nrf/tree/master/samples/usb/usb_uart_bridge

    As it does not use MCUBoot, you will have to use a debugger to be able to program the nRF52840.

    The nRF9160 Development Kit (DK) comes with a programmer, and have all the pins of the nRF9160 SiP exposed. It also has multiple buttons and LEDs. It is the most convenient platform for development on the nRF9160.

    The Thingy:91 has several sensors, and therefore it might be better suited for prototyping and demos.

  • Hi, 

    Any recommendations on "debugger" (to be able to program the nRF52840)   ..? 

    Or 

    nRF connect DK (PCA10090) is sufficient to flash both nRF9160 and nRF52840 on the Thingy91 device..? 

  • Yes, the nRF91 DK (pca10090) can be used to flash both the nRF9160 and the nRF42840 in the Thingy:91.

    You can also use any Jlink debugger/programmer that is ARMv8 compatible (for the nRF52840, ARMv7 is enough, but it must be ARMv8 compatible to program the nRF91).

    On a second read-through of the MCUBoot guide I sent you earlier, it looks like you can use MCUBoot to program the nRF52840 on the Thingy:91 as well. I'll try to confirm this on Monday.

  • Yes...!! You are correct, As per the instructions are given in the MCUboot ref document, we can flash both nRF9160 and nRF58240 on Thingy91 device by following the below steps: 

    Updating FW: 
    Before trying to update your Thingy:91 FW make sure its connected to your computer using USB.

    Put your Thingy:91 into application serial recovery mode either by pushing the main button (SW3) while turning on power to update the nRF9160 SiP or the small button (SW4) while turning on power to update the nRF52840 SoC.
    Then update the FW by using the below mcumgr image upload command:

    This is why I got confused and asked the above questions for further clarification.  Please clarify as soon as possible as our development activity will kick start very soon. 

    ****************************************************************************************************************

    Please clarify on suitable Images as well, like:

    Correct Image for nRF9160(pca_20035) is:  /build/zephyr/app_update.bin

     

    Which Image we have to flash on nRF52840(pca_20035):........?? 

    After the build was a success, I can see that there are so many images that are getting generated like below, in different folders.

    in /build/zephry:

    /build/zephry/app_moved_test_update.hex

    /build/zephry/app_signed.hex

    /build/zephry/app_test_update.hex

    /build/zephry/app_to_sign.bin

    /build/zephry/app_update.bin         ==> This we are flashing on nRF9160(PCA20035)

    /build/zephry/mcuboot_primary.hex

    /build/zephry/mcuboot_primary_app.hex

    /build/zephry/merged.hex

    /build/zephry/zephyr.bin

    /build/zephry/zephyr.elf

    /build/zephry/zephyr.hex

    /build/zephry/zephyr.lst/.map/.stat

    /build/zephry/zephyr_prebuilt.elf/.map

    in /build/mcuboot:

    /build/mcuboot/zephyr.bin

    /build/mcuboot/zephyr.hex

    /build/mcuboot/zephyr.elf

    /build/mcuboot/zephyr.lst

    /build/mcuboot/zephyr.map

    /build/mcuboot/zephyr.stat

    Which one to use for nRF52840 (PCA20035)..? If you have any references to understand about the above images and their uses please share. 

    Thank You. Slight smile

Related