Duplicate RTT output from Thingy:91 X

I'm developing code to run on the nRF5340 SoC in a Thingy:91 X and I am seeing duplicate RTT output.  For example, if I look at the RTT output from the default 'Connectivity Bridge' application, I see the following in VSCode and the same in RTT Viewer.  What is causing this, and how do I prevent it?

Thanks.

PS.  It's also a bit concerning to see that the only sample app that is listed as compatible with the nRF5340 SoC in a Thingy:91 X generates run-time errors out of the box.  I believe the error indicates that the USB subsystem is being enabled twice.  Should this just be a warning?

Parents
  • Hello, 

    That is a very odd outcome. Are you able to share what exactly your code does i.e. what steps do I need to replicate the issue? 

    It's also a bit concerning to see that the only sample app that is listed as compatible with the nRF5340 SoC in a Thingy:91 X generates run-time errors out of the box

    What sample are you referring to? Do you mean the Connectivity Bridge? The Connectivity Bridge acts as a USB composite device allowing users to connect to the nRF9151 using USB only, instead of RTT, exposing two UART interfaces to a USB host as two CDC ACM devices

    I believe the error indicates that the USB subsystem is being enabled twice.  Should this just be a warning?
    #define NRF_EALREADY 120        /**< Connection already in progress */
    From the looks of the provided logs it seems that you have logging activated twice in some way. 

    Kind regards,
    Øyvind
Reply
  • Hello, 

    That is a very odd outcome. Are you able to share what exactly your code does i.e. what steps do I need to replicate the issue? 

    It's also a bit concerning to see that the only sample app that is listed as compatible with the nRF5340 SoC in a Thingy:91 X generates run-time errors out of the box

    What sample are you referring to? Do you mean the Connectivity Bridge? The Connectivity Bridge acts as a USB composite device allowing users to connect to the nRF9151 using USB only, instead of RTT, exposing two UART interfaces to a USB host as two CDC ACM devices

    I believe the error indicates that the USB subsystem is being enabled twice.  Should this just be a warning?
    #define NRF_EALREADY 120        /**< Connection already in progress */
    From the looks of the provided logs it seems that you have logging activated twice in some way. 

    Kind regards,
    Øyvind
Children
Related