- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I built a SOPC with NIOS II/f, on-chip RAM, pll, and sysid. NIOS II/f operates at 100MHz. And when I trying to run hello world as NIOS II Hardware, the following messages show in the console window: Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Pausing target processor: OK Reading System ID at address 0x00081020: verified Initializing CPU cache (if present) OK Downloading 00040000 ( 0%) Downloaded 42KB in 0.7s (60.0KB/s) Verifying 00040000 ( 0%) Verified OK Leaving target processor paused the "Hello from Nios II!" is not appeared. Is it normal? What should I do to fix this problem? Thanks for every trying to help me! PS. No error or warning occurs in building & runing the hello world projectLink Copied
10 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have a jtag uart and is it defined as standard output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to define the jtag uart as a standard output?
I've include a jtag uart in my system.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Daixiwen:
I also check the jtag_uart_input_stream.dat and output_stream.dat There are only 00000000 in input_stream.dat and nothing in output_stream.dat Thanks for reply!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- #define ALT_SYSTEM_NAME "unnamed"# define ALT_CPU_NAME "cpu"# define ALT_CPU_ARCHITECTURE "altera_nios2"# define ALT_DEVICE_FAMILY "STRATIXIII"# define ALT_STDIN "/dev/jtag_uart_0"# define ALT_STDIN_TYPE "altera_avalon_jtag_uart"# define ALT_STDIN_BASE 0x00081018# define ALT_STDIN_DEV jtag_uart_0# define ALT_STDIN_PRESENT# define ALT_STDOUT "/dev/jtag_uart_0"# define ALT_STDOUT_TYPE "altera_avalon_jtag_uart"# define ALT_STDOUT_BASE 0x00081018# define ALT_STDOUT_DEV jtag_uart_0# define ALT_STDOUT_PRESENT# define ALT_STDERR "/dev/jtag_uart_0"# define ALT_STDERR_TYPE "altera_avalon_jtag_uart"# define ALT_STDERR_BASE 0x00081018# define ALT_STDERR_DEV jtag_uart_0# define ALT_STDERR_PRESENT# define ALT_CPU_FREQ 100000000# define ALT_IRQ_BASE NULL# define ALT_LEGACY_INTERRUPT_API_PRESENT --- Quote End --- I've reference other project. And modify the system.h based on the corresponding parameter. And pass compilation, runing well.But still no "Hello XXXX" in console window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have any idea, please tell me!
Thanks again everyone!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem is fixed now!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How did you fix it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just rename the jtag_uart_0 to jtag_uart and rebuild the system.
Set N2 terminal communication device. After these steps, the hello world fully works. Sorry for wasting your time in this stupid bug.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It isn't time wasted, civing the solution could help others that have the same problem.
I find it strange though, from the system.h extract that you gave, it seems that the tools identified correctly the name of your uart... Anyway I'm glad it is working now!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- It isn't time wasted, civing the solution could help others that have the same problem. I find it strange though, from the system.h extract that you gave, it seems that the tools identified correctly the name of your uart... Anyway I'm glad it is working now! --- Quote End --- hi everyone I met this problem,can any one give me some advice?
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