- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am really new in sopc builder and quartus, I have a bloc with (cpu, onchip memory, sys id, pio, onchip memory 2), I created a small code C in eclipse and I try to compile my nios 2 in modelsim, I load the project without any problem and I have the jtag uart console by typing jtag_uart_console but I dont have any thing there, and I don't know what write on the console to drive the nios 2.
please if someone can help me, I am really new in all this ... pleaaaaaaaaase help I am using quartus 10.1 and modelsim 6.6c I tried to define the properties of psb. Thank you :)Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you add the jtag uart component to your SOPC builder project? It isn't in the list.
The standard C functions like printf() and scanf() can be used to interact with the console.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for your replay, yes I have a jtag uart, and I am able to open the jtag_uart_drive console. but I don't know what write on the console and how can I know that I am executing the code.c writen in sopc builder.
thank you again- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
pleaaase if someone can help me :):):)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if in your software you add printf() calls, it will display something in the nios console. For the other way round, what you have to type in the console really depends on your software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want just to display the "hello word", I run the simulation for 800 us bu noting was displayed on my console :s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
may be the simulation takes more time than 800 us to enter to my main and do the printf "hello word"
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page