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

Thingy 91 debug using J link Edu

Hi,

I tried to burn the hello world sample code into thingy 91 using segger and J link Edu.
After configuring Termite it did not show anything.
And now LEDs are not blinking and nothing happening.
can you guide, what to do? or how to reset thingy 91?
while connecting again to segger showing below issue
Also, it is not going under the MCU boot mode.
With Regards,
Rahul kidecha
Parents Reply Children
  • Hi again, Rahul!

    It seems like the bootloader may have been deleted. Could you try to follow the steps below closely:

    1. Download and unzip the newest Thingy:91 firmware
    2. Connect your Thingy:91 to your JLINK Edu and turn it on. Make sure SW2 is at the nRF91-position. 
    3. Open the nRF Connect programmer app and select the debugger.
    4. Update modem firmware: press the "update modem" button and navigate to the folder you extracted in step 1. Select the file "mfwnrf9160122.zip". Press "Write" in the following dialog and let the program finish.
    5. Update application firmware: press the "add hexfile" button in the Programmer app and the press "browse". Navigate to the folder you extracted in step 1. and then enter the folder img_app_bl. This folder contains application hex files that also includes the bootloader. For the asset tracker choose one of the following hex files:
      1. For LTE-M select: thingy91_ltem_2020-10-30_5522ca2b.hex  
      2. For NB-IoT select: thingy91_nbiot_2020-10-30_5522ca2b.hex 
    6. Observer that the "Memory Layout" now shows the occupied memory of the selected hex-file.
    7. Press "Erase & write" and let the programming finish.

    You should now have the asset_tracker including MCUBoot flashed to your Thingy:91. When programming applications in the future with the JLINK Edu make sure that they have MCUBoot enabled by having "CONFIG_BOOTLOADER_MCUBOOT=y" in prj.conf, or else the bootloader will be overwritten.

    When it comes to your issues with opening a project in Segger Embedded Studio do the following:

    1. Make sure that there are no "space" characters in the path of the SDK. I see that you have "DARK HORSE" as a part of your path, which will result in errors because of the space character.

    2. Program the application for the correct board name: thingy91_nrf9160ns

    Hope this works!

    Best regards,
    Carl Richard

Related