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

Can I program Thingy91 with nRF52 DK?

Can I program Thingy91 with nRF52 DK? Or the external programming interface is different in DK for 9160?

Parents
  • You can program it over USB if you don't have the 9160DK. It's a good idea to get a proper debug/programmer, but if you're waiting and stuck at the moment this is how you can flash it via USB:

    1. Delete any existing build dir.
    2. Using west from command line build with the flag for DFU and specify the board
      1. west build -d build-dfu -b nrf9160_pca20035ns
    3. Now you'll have a build dir named build-dfu.
    4. Open the programmer application from nRF Connect.
    5. Power your Thingy91 into MCUBOOT mode by holding down SW3 (middle button) while turning the device on.
    6. In the programmer app, make sure Enable MCUBoot is checked and select your device from the device drop down.
    7. Now click Add HEX File and navigate to your build-dfu/zephyr directory.
    8. Select app_signed.hex as your HEX file. It HAS to be the signed hex.
    9. Write to flash and reboot the device if you don't have it auto rebooting upon flashing.
    10. You can open LTE Link Monitor to view any console output for verification.

Reply
  • You can program it over USB if you don't have the 9160DK. It's a good idea to get a proper debug/programmer, but if you're waiting and stuck at the moment this is how you can flash it via USB:

    1. Delete any existing build dir.
    2. Using west from command line build with the flag for DFU and specify the board
      1. west build -d build-dfu -b nrf9160_pca20035ns
    3. Now you'll have a build dir named build-dfu.
    4. Open the programmer application from nRF Connect.
    5. Power your Thingy91 into MCUBOOT mode by holding down SW3 (middle button) while turning the device on.
    6. In the programmer app, make sure Enable MCUBoot is checked and select your device from the device drop down.
    7. Now click Add HEX File and navigate to your build-dfu/zephyr directory.
    8. Select app_signed.hex as your HEX file. It HAS to be the signed hex.
    9. Write to flash and reboot the device if you don't have it auto rebooting upon flashing.
    10. You can open LTE Link Monitor to view any console output for verification.

Children
No Data
Related