No Connected Deivce for Thingy:53 board

Hello,

So, as per the requirement for my project I need to program the Thing:53 using Visual Studio code programmer following the instruction as provided in the below link:

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_thingy53.html#thingy53-compatible-applications

As I am new to thingy:53, I tried to run the sample code for theThingy as provided on the link:

I have tried to set the build configuration as mentioned for the desired sample (Bluetooth: Peripheral LBS):

changes for the build are as mentioned below:

After finishing up the build configuration I tried to connect my device to the laptop but even after the build the software is not able to detect Thingy:53 in the connected device section

So, I have a query that do you know why am I not able to find out the device?

It would be highly appreciable if you can help me out to solve this problem.

Regards,

Divya

  • Hello Elfving,

    As mentioned in your first answer I have used the Jlink programmer to program a sample on my device.

    To check the functionality of Thingy I have used Bluetooth: Peripheral LBS sample code to check the functionality and I have followed the steps mentioned here:

    https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_lbs/README.html

    I am using ios phone to check the functionality but somehow I am not able to check the behavior from step 5 onwards. Also, I am using visual studio to build the device and code.

    So, my question is :

    1. Is there any other way to check if it is working correctly or not?
    2. Also, I have noticed that there are many print commands in the sample code but when I am testing the sample I can not find any print command on the terminal. So, is there any way if I can see these print commands on the terminal, and then I can check where my code is throwing the error?
    3. My whole purpose is to test the sample for now and check if it is working perfectly or not and then try with my own code. So, in both the cases I need to print and check the messages to verify the error/state of my code

    Please help me to resolve this issue.

    Regards,

    Divya

  • Hello Divya!

    I see.

    So these print commands, along with just basic information like "Zephyr starting up" should get printed on the COM port. To read that you need a serial terminal, eg. the one you get with the VSC extention, or something like Putty. Are you using any of those? And if so, are you finding the COM port that is used by the Thingy:53?

    Regards,

    Elfving

  • Hello Elfving, 

    I have tried the serial monitor terminal provided by the VSC extension and also the COM port connection.

    But now there is another issue I am facing right now when I tried to build and flash the Thingy again using JLink programmer. 

    It is showing an error like:

    FATAL ERROR: command exited with status 1: 'c:\ncs\toolchains\v2.0.2\opt\bin\cmake.EXE' --build 'c:\Users\DIVYA\ncs\samples\bluetooth\peripheral_lbs\build'

    Initially, I updated the firmware for the peripheral lbs code using a nRF programmer. However, I am currently attempting to update the code using the build and flash feature of the VSC, but I am unable to do so since the problem indicated above is appearing.

    Can you please help me now to resolve the issue?

    Thank you in advance.

    Regards,

    Divya

     

      

  • Hi!

    Divya_uni_ulm said:

    FATAL ERROR: command exited with status 1: 'c:\ncs\toolchains\v2.0.2\opt\bin\cmake.EXE' --build 'c:\Users\DIVYA\ncs\samples\bluetooth\peripheral_lbs\build'

    Is there any more to this error message besides this?

    And is this the first time you've used the VSC for flashing the Thingy? And are you able to simply build the project in VSC? It seems to be complaining about the building.

    Regards,

    Elfving

  • Hello Elfving,

    No, I do not have DK, is it a compulsion to use DK? Using Thingy and Jlink debugger will not be enough to program and debug?

    Regards,

    Divya

Related