How do i print to Console from the Core code?

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

How do i print to Console from the Core code?

Postby etim » Tue Sep 29, 2015 2:41 pm

Using `printf("Running on eCore...");` hangs the program. I searched, but cannot figure out how to print to the console for debugging purposes.
etim
 
Posts: 22
Joined: Sat Jun 27, 2015 6:08 pm

Re: How do i print to Console from the Core code?

Postby sebraa » Tue Sep 29, 2015 7:19 pm

The Epiphany cores are not connected to a console. You cannot use printf() and expect it to work.

However, the Epiphany simulator (e-gdb) implements the syscall interface, so printf() should work.
sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm


Return to Programming Q & A

Who is online

Users browsing this forum: No registered users and 9 guests

cron