- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ? ++- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!~- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page