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++
公告
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 讨论

What's next after Nios II software programming?

Altera_Forum
名誉分销商 II
1,384 次查看

I am kinda new to FPGA programming. I have DE2 as my starting board. I have already experimented of how to code VHDL (not yet tried Verilog).  

 

I wanted a UART(RS232) interfacing to provide data to hyperterminal. After SOPC builder, i successfully instantiated it with Quartus 2. Then I used the template "small hello world" on Nios II EDS just to test my SOPC build. I run the Nios II hardware and I think I am successful at this point. I modified the template c program to return back the character+1 I typed-in Hyperterminal. That is, if i typed in "A" the DE2 shall return "B"...  

 

And so at this point i can say I am successful with my experiments... 

 

My query is, how will i load the software to the board? Is it possible for the DE2 board to work alone without the help of Nios II EDS. 

 

I by the way used, Quartus II 9.1SP1 and Nios II EDS 9.1. 

 

Thank you very much.:)
0 项奖励
5 回复数
Altera_Forum
名誉分销商 II
524 次查看

Hi, you can use the flash memory to make a boot copy of your program. So, when the system is started the program is loaded to the onchip memory or the external SRAM, depends on your design. You should configure the reset vectors of the NIOS II processor. 

 

My advice is to go through the Altera's online trainings. 

 

Good luck. 

 

Best regards, 

VT
0 项奖励
Altera_Forum
名誉分销商 II
524 次查看

^ Thank you for the reply victor.  

 

Honestly, I did NOT read much about the design processes. - guilty! :D 

However improper, this is how I study stuff - I should be able to run something first. This makes me more interested. 

 

I look up to it... 

 

Regards... :)
0 项奖励
Altera_Forum
名誉分销商 II
524 次查看

The online trainings are more practical and show examples with the features of the NIOS system and the Quartus IDE. Otherwise you should read the Quartus and NIOS documentation which is kind of boring for a beginning :).

0 项奖励
Altera_Forum
名誉分销商 II
524 次查看

You have to use the Flash memory. This means that you have to download (programm) your application to the Flash to create a boot copy and then every time you turn on your board, your application will be stored there. 

 

Regard, 

 

Zodrax
0 项奖励
Altera_Forum
名誉分销商 II
524 次查看

Thank you very much for the replies... I am actually doing those stuff. I have already added ECPS flash on the SOPC builder. And I was successful. 

 

I already found the problem... 

 

"I did not set the reset vector 0x00 to ECPS flash." I instead set it on the on-chip memory. 

(this is being set inside the nios II processor interface)
0 项奖励
回复