How do I to attach to the XScope printf output from console? Topic is solved

Technical questions regarding the XTC tools and programming with XMOS.
User avatar
dsteinwe
XCore Addict
Posts: 144
Joined: Wed Jun 29, 2016 8:59 am

How do I to attach to the XScope printf output from console?

Post by dsteinwe »

Hi,

I want to see in my bash console the printf output from my program that is loaded from the flash. In principle, the xn-File and config.xscope are configured correctly, because starting the program from the IDE, the output works fine.

My question is: How can I attach from the bash console to the output from a running instance?


View Solution
User avatar
CousinItt
Respected Member
Posts: 365
Joined: Wed May 31, 2017 6:55 pm

Post by CousinItt »

User avatar
dsteinwe
XCore Addict
Posts: 144
Joined: Wed Jun 29, 2016 8:59 am

Post by dsteinwe »

Excellent!

Have a merry Xmas.
User avatar
CousinItt
Respected Member
Posts: 365
Joined: Wed May 31, 2017 6:55 pm

Post by CousinItt »

Thanks, and Merry Xmas to all.
User avatar
dsteinwe
XCore Addict
Posts: 144
Joined: Wed Jun 29, 2016 8:59 am

Post by dsteinwe »

I can receive the output when I start the binary with xrun --io <binary.xe>. When I start the program without "--io" or I start it from the flash, is it possible to receive the output with xdbg? If it is possible, can you give me an example?