Thingy:53: Programming

Requesting help on Thingy:53.
I have couple of boards. I was able to program all of them. For programming I use VSCode or prgrammer with precompiled firmware.
Now, scene enters Thingy:53. I have tried all methods of programming. VSCode & Programmer (hex) & Programmer (MCU bootloader).
None of them ever did start BLE module. I seem to have device connected, just not able to program it.
I can see device when I connect via cable & nRF52DK. Meaning Updating through external debug probe. Meaning using 10-pin 2x5 socket-socket 1.27 mm IDC Serial Wire Debug (SWD).
I cannot see bootloader in programmer, as described Bootloader Thingy:53.
I carefully followed instructions from developer.nordicsemi.com/.../thingy53_gs.html
Screens show I tried using precompiled downloadable firmware.
None helped.
What I might be doing wrong?
Using nrfutil-device version: 2.0.3
Using nrf-device-lib version: 0.17.3
Using nrfjprog DLL version: 10.23.1
Using JLink version: JLink_V7.88j
Parents Reply Children
  • I did try to use precompiled Peripheral_LBS -> peripheral_lbs_2.5.0_thingy53_nrf5340.zip

    I also tried to program via VS different samples like bliky and peripheral.

    Not sure what you mean by 

    Programmer whether the bootloader is present?

    If that :

    In the Programmer navigation bar, click SELECT DEVICE.
    A drop-down menu appears.
    In the drop-down menu, select Bootloader Thingy:53.

    Than no, I do not see Bootloader Thingy:53.

    I do not see any output in Serial Terminal in nRF Connect for Desktop.

  • Hi Yuri,

    As you have an external programmer, could you try programming the device from the command line directly, using nrfjprog? I can provide detals on Monday.

  • Yes, please provide how to do that. I will try using precompiled FW from nordic.

  • Sorry for the delay.

    Please see Programming SoCs with nrfjprog.

    Try nrfjprog --program zephyr.hex

    Also try using --chiperase, as described in the link. However, you will then need to change family as described.

  • Thank you for commands. I did execute 2 of them.

    Appears I was able to program. Device still would not blink or advertise.

    Do I do something in wrong order?

    Try #1

    ```

    yuriiboiko@Yuriis-Mac thingy53_nrf5340_cpuapp_ns % nrfjprog -f NRF53 --program thingy_blinky_500_ms.hex –-chiperase --recover --verify
    [ ###### ] 0.000s | Erase file - Check image [ #################### ] 1.172s | Erase file - Done erasing
    [ ###### ] 0.000s | Program file - Checking imag[ ##### ] 0.000s | Check image validity - Initi[ ########## ] 0.000s | Check image validity - Check[ ############### ] 0.000s | Check image validity - block[ #################### ] 0.004s | Check image validity - Finis[ ############# ] 0.000s | Program file - Programming [ ########## ] 0.000s | Programming image - block 1 [ #################### ] 0.000s | Programming image - Write su[ #################### ] 0.333s | Program file - Done programming
    [ ###### ] 0.000s | Verify file - Check image [ ##### ] 0.000s | Check image validity - Initi[ ########## ] 0.000s | Check image validity - Check[ ############### ] 0.138s | Check image validity - block[ #################### ] 0.004s | Check image validity - Finis[ ############# ] 0.000s | Verify file - Verifying [ ########## ] 0.000s | Verifying image - block 1 of[ #################### ] 0.000s | Verifying image - Verify suc[ #################### ] 0.311s | Verify file - Done verifying

    ```

    Try #2

    ```

    yuriiboiko@Yuriis-Mac zephyr % nrfjprog -f NRF53 --program merged_CPUAPP.hex –-chiperase --recover --verify
    [ ###### ] 0.000s | Erase file - Check image [ #################### ] 1.175s | Erase file - Done erasing
    [ ###### ] 0.000s | Program file - Checking imag[ #### ] 0.000s | Check image validity - Initi[ ######## ] 0.000s | Check image validity - Check[ ############ ] 0.000s | Check image validity - block[ ################ ] 0.001s | Check image validity - block[ #################### ] 0.012s | Check image validity - Finis[ ############# ] 0.000s | Program file - Programming [ ###### ] 0.000s | Programming image - block 1 [ ############# ] 0.233s | Programming image - block 2 [ #################### ] 0.000s | Programming image - Write su[ #################### ] 1.718s | Program file - Done programming
    [ ###### ] 0.000s | Verify file - Check image [ #### ] 0.000s | Check image validity - Initi[ ######## ] 0.000s | Check image validity - Check[ ############ ] 1.221s | Check image validity - block[ ################ ] 0.459s | Check image validity - block[ #################### ] 0.011s | Check image validity - Finis[ ############# ] 0.000s | Verify file - Verifying [ ###### ] 0.000s | Verifying image - block 1 of[ ############# ] 0.227s | Verifying image - block 2 of[ #################### ] 0.000s | Verifying image - Verify suc[ #################### ] 1.727s | Verify file - Done verifying

    ```

Related