Can not reset Thingy 53 back to its original Edge Impulse FW.

Hi, Last week I received a Thingy 53 in addition to an nRF7002 DK and nRF52840 dongle from Nordic, first let me thank the Nordic team for that.

Let me summarize the issue I'm having with my Thing 53:

As I received my device I registered to Edge Impluse web site and created a new project. Using nRF Edge Impulse Mobile App, I easily added my Thingy 53 to my project and started recording 10 sec samples from the light sensor (I was thinking of making classification based on the RGB values received). I setup my training and test sets, created my Impulse with success and managed to go to the end of the process to deployment, chose Nordic Thingy 53 from the 'Build Firmware' section and built my FW, then I set my device in DFU mode by pressing sw2 and turning it on, in the Programmer Tool, I saw and chose the Thingy 53 in MCU boot mode, I 'wrote' the .zip file created by Edge Impulse, successfully finished. Turned my device off and on and tried to connect to it with the Edge Impulse Mobile App, the device was discoverable, however never managed to connect to it.

That's why I tried to go to "factory settings" for the Thingy 53 (with Edge Impulse FW on it for sure), lloked up the internet tried several builds which failed (From Edge Impulse) , finally after reading the recent tickets about similar topic about Thingy 53 in this platform, I saw that the supposed FW was "edge_impulse_1.0.0_thingy53_nrf5340.zip" which was included in the "2022-08-03-precompiled-application-firmware" included in the device's page in Nordic (https://www.nordicsemi.com/Products/Development-hardware/Nordic-Thingy-53/Downloads?lang=en#infotabs)

So i "wrote" this zip file using the same process (DFU mode & Programmer tool). After writing the fw, I can again see the device from the nRF Edge Impulse Mobile App, however when I try to connect to it, the RGB LED turns 'RED' and the connection times out. 

I tried several other things without success and I see from the tickets that similar issue is reported by others 

  • Case ID: 302592

To summarize I need the the correct procedure & FW to set the Thingy 53 to its original state as it was shipped to me. 

Thank you for your time.

Selim Gullulu

  • Hello Selim, 

    Turned my device off and on and tried to connect to it with the Edge Impulse Mobile App, the device was discoverable, however never managed to connect to it.

    I tried the same on my side and see that the RGB LED turns RED as well. I will ask our developers, however, the edge impulse FW delivered through our precompiled package is developed by Edge Impulse themselves. More information can be found here in the Edge Impulse Thingy:53 documentation.

    In order to get out of the "RED LED", I found that you can go to Inferencing and then click on Start. Now your device should respond and you will be able to test the current model/impulse i.e. idle, snake, up-down, and wave. 

    Turned my device off and on and tried to connect to it with the Edge Impulse Mobile App, the device was discoverable, however never managed to connect to it.

    I'm not sure if the nRF Edge Impulse app is usable with any other app than the Edge Impulse FW. Did you try the Deploy button in the app itself?

    Kind regards,
    Øyvind

  • Hello Oyvind, thank you for the fast response. 

    As I mentioned, after "writing" the 'edge_impulse_1.0.0_thingy53_nrf5340.zip' on the device, I can not connect to the thingy 53 from the Edge Impulse App, and as I try to connect the RED LED is on and the connection always times out. 

    Is my understanding correct: you managed to connect to the Thingy via the edge impulse app (after programming the device with the programmer tool with edge_impulse_1.0.0_thingy53_nrf5340.zip) even though the RGB LED turns RED as soon as you tap to connect? and after that you could go to inferencing tab and tap on 'start' since, in my case, the 'start' icon is inactive since I'm not connected to the Thingy at the first place. 

    nRF app should be usable for such classification purposes, there's already a similar example here which uses the microphone as input and makes classification (4 classes):

    https://docs.edgeimpulse.com/experts/prototype-and-concept-projects/environmental-noise-classification

    To conclude, I'm still stuck at the stage where I 'write' the edge_impulse_1.0.0_thingy53_nrf5340.zip file via programmer and not able to connect to the Thingy 53 via the edge impulse app.

    Thank you.

    Selim

  • drselim said:

    nRF app should be usable for such classification purposes, there's already a similar example here which uses the microphone as input and makes classification (4 classes):

    https://docs.edgeimpulse.com/experts/prototype-and-concept-projects/environmental-noise-classification

    Thank you for pointing out the project on Edge Impulse, I was not aware of these. 


    Øyvind said:
    I'm not sure if the nRF Edge Impulse app is usable with any other app than the Edge Impulse FW. Did you try the Deploy button in the app itself?

    I think I misread what you meant, what I meant was that the nRF Edge Impulse app does not work with e.g. nRF Machine Learning, possibly a project downloaded from Edge Impulse such as a "deployed project" built for i.e. Thingy:53. But will need to verify. 

    drselim said:
    ou managed to connect to the Thingy via the edge impulse app (after programming the device with the programmer tool with edge_impulse_1.0.0_thingy53_nrf5340.zip) even though the RGB LED turns RED as soon as you tap to connect?

    I programmed the edge_impulse_1.0.0_thingy53_nrf5340.zip from the precompiled package using the Programmer app in nRF Connect for Desktop, with the device in USB Bootloader. (Power on the device while holding SW2 (smallest button)). Before that the device was programmed with the Blinky applicaiton for testing. 

    Afterwards I was able to connect to Thingy:53 using nRF Edge Impulse app, and the nRF Programmer for Thingy:53 app, and switch between different FW in nRF Programmer for Thingy:53. I was not able to deploy a project from nRF Edge Impulse but will retry later today.

    The LED did turn RED when connecting to the Thingy:53 running Edge Impulse FW,  using the nRF Edge Impulse. Not sure why it does this, but as soon as I moved over to inferensing the LED would change and turn completely off when done. 

  • Thank you for pointing out the project on Edge Impulse, I was not aware of these. 

    You're welcome, I was just trying to find similar examples.

    Before that the device was programmed with the Blinky applicaiton for testing. 

    Could you attach the hex/zip file for the blinky in this post? I'd like to follow the exact scenario with yours. I just tried to create a new build for the blinky example in Visual Studio Code by choosing thingy53_nrf5340_cpuapp_ns ( I tried it with thingy53_nrf5340_cpuapp as well, same result happening) 

    Then I tried to write the mcuboot_primary_app.hex : 

    But this is the result I get in the programmer:

  • I also attached the screenshots from nRF Programmer: as soon as I choose the device (edge impulse) after tapping install, the LED turns RED again and the log is also attached:

Related