Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

printf problem in ubuntu

Altera_Forum
Honored Contributor II
1,114 Views

Hello, 

I am facing with a problem when using eclipse-Nios2 on ubuntu. I have 10.1 version of nios2. even within the simplest hello world software i cannot get anything out of the "printf" function. I tried adding a line of "fflush(stdout);" after printf as suggested in some forums. But it didn't help.  

Does anyone know what would be the problem and how to solve it? 

By the way, I tried with alt_printf, alt_putstr and many others, none of them worked :(
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
336 Views

This forum is for running Linux on the Nios II, not for Nios II development on Linux. It sounds like you are using Atlera HAL and not Linux for Nios II, so you will probably get better answers in a different part of the forum.

0 Kudos
Reply