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++
12589 Discussions

Graphical interface using NIOSII

Altera_Forum
Honored Contributor II
977 Views

Hi, 

i want to implement a software to control some buttons and leds via Graphical interface. 

Can some one tell how to do this with NIOS. 

 

thank you.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
210 Views

Hello  

 

NIOS II is a softcore (cpu, 32 Bit). If you want to add a display with touch interface you need additional ip cores and software drivers which support your display and touch. You could also do an Software application which runs on your desktop and then communicates with your FPGA application. I would implement a telnet server or a tcp/ip server. 

 

brunjak
0 Kudos
Altera_Forum
Honored Contributor II
210 Views

Another way to do this is using the Altera Web Server demo application. It comes with some sample HTML pages that you can modify to do what you need. Fairly easy to implement buttons that send commands through Web forms (HTML Post commands). A little Googling will get you the info you need to get started. 

 

The tricky part is modifying the example code to do what you want with the form data it receives. As with everything Altera, there is a steep learning curve, but it's all there if you are willing to dig for it. 

 

The payoff is that once you master the Web Server you have lots of flexibility for designing your GUI in HTML format. 

 

http://www.altera.com/support/examples/nios2/exm-micro_tutorial.html?gsa_pos=3&wt.oss_r=1&wt.oss=web%20server (http://www.altera.com/support/examples/nios2/exm-micro_tutorial.html?gsa_pos=3&wt.oss_r=1&wt.oss=web%20server)
0 Kudos
Reply