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

How do I get output (print functions) from app running on Thingy:91 that is connected via cable to nrf9160 DK

Where do I get the output (from the main apps printf/printk etc) from the Thingy:91 once it's connected via 10-pin swd-cable to my nrf9160 DK?

I don't think there's anything wrong with the connections since I can progam the Thingy via the cable (flash the asset_tracker for example).

The output of the DK is streamed via /dev/ttyACM0 (i'm on Ubuntu 18.04) and the /dev/ttyACM1 prints the output from the nRF52. 
I'd assume that the external device output would be /dev/ttyACM2 (or perhaps ttyACM0 when connected).

Is there some configuration I need to do (baud rate on ttyACM*, app config or similar) to enable this?

Parents Reply
  • Hi Martin,

    I unchecked the "Auto device/port filter" checkbox and I could then choose any of the /dev/ttyACM(0-2) ports (see screenshot below).

    Which one would be the Thingy (or other cable-connected device)?

    ttyACM0 still shows the output from the DK and on both ttyACM1 and ttyACM2 I get the "NRF52840 board control... uptime..."-message every 10 seconds.

    I did program the at_client.hex onto the Thingy by the way, and the modem firmware (if related at all) is 1.0.0.

    Best regards

    Jesper

Children
No Data
Related