FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

cannot printf "hello world"

Altera_Forum
Honored Contributor II
815 Views

hi: 

In niosII eclipse,We always bug our software using "printf" command,I make the SOPC system using CPU,SDRAM,JTAG_UART,other components,sometimes according to the requirment of project,I delete or add the "other component ",the base project is the altera demo. 

maybe the NiosII eclipse BUG, or maybe I overlook something,sometimes will generate puzzled results,though I have set stdin/stdout/stderr to JTAG_UART. 

the sad problem is "cannot printf " ,though I use the simplest NiosII temple,and there is no single warning or error in console window(as attachments),in attachment named "console.bmp",download successfully,but cannot printf "hello world" 

 

PS:the project is based on the old project which is OK,I only delect some components in SOPC.
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
137 Views

Hi, 

1. The lightweight libraries do not offer printf() function. Something like that. 

2. Are you sure you use jtag... for std_out in system library settings ? 

++
Altera_Forum
Honored Contributor II
137 Views

hi: 

thanks for your suggestion~! 

the setting I have checked,there seems no problem, 

the problem is always there,maybe I could find the reason later~ 

 

ps: may I ask you a question,that is : Have you ever used VIP demo? 

 

 

thanks a lot!~
Altera_Forum
Honored Contributor II
137 Views

 

--- Quote Start ---  

hi: 

thanks for your suggestion~! 

the setting I have checked,there seems no problem, 

the problem is always there,maybe I could find the reason later~ 

 

ps: may I ask you a question,that is : Have you ever used VIP demo? 

 

 

thanks a lot!~ 

--- Quote End ---  

 

 

No, I have never used VIP demo. 

 

For your problem, maybe the software doesn't start or doesn't boot. 

I know that after downloading to FLASH, the CPU is "paused" and I need to reboot the target board. This operation is normal.
Altera_Forum
Honored Contributor II
137 Views

yes,maybe you are right 

clear the NiosII eclipse,or build the software again ,it can print OK 

sometimes,I focus strongly on hardware !~
Reply