Altera_Forum
Honored Contributor
10 years agoNios/e prints only in eclipse debug mode on jtag-uart, not in eclipse 'normal' mode
Hi,
I'm using the C5 Soc Kit from terasic. http://www.terasic.com.tw/cgi-bin/page/archive.pl?language=english&categoryno=205&no=816 I have created a Nios system with qsys in q13.1 (on windows 7). See attachement qsys.png The clock is connect ok, because parallel to the nios a counter is running on the same clock and that is displayed on some leds. I create a hello world small project with the following code# include "sys/alt_stdio.h"
int main()
{
/* Event loop never exits. */
while (1)
{
alt_putstr("Hello from Nios II!\n");
alt_putstr(" Hello from Nios II!\n");
alt_putstr(" Hello from Nios II!\n");
alt_putstr(" Hello from Nios II!\n");
alt_putstr(" Hello from Nios II!\n");
alt_putstr(" Hello from Nios II!\n");
}
return 0;
} When I run this in the c-perspective I see in the console that the processor is started. see attached c-cpp_perspectief-console-window.png In the jtag uart nios console I don't see anything. See c-cpp_perspectief-jtag-uart-console.png When I start the debugger, then suddenly I see what I expect. See debug-perspective.png Any idea why it is running in debug mode and not in "normal" mode? Should there be a pll involved in qsys? Rgds, Kimberley