FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits

DE2 Internet and LCD

Altera_Forum
Honored Contributor II
1,853 Views

Hello i would like to make a program that uses the LCD and the Ethernet interface that comes with the DE2, anybody have an exemple on how to do that? I lost my DE2 CD :( 

 

Also i would like to write in the LCD, is it hard? Can i send a *char from nios to the LCD? 

 

Thanks
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
331 Views

create a sopc system with lcd ip given in components. 

 

add in in project attached lcd.h and lcd.c file in nios software project 

 

used the functions 

 

 

bool LCD_Open(void); 

bool LCD_TextOut(char *pText); 

bool LCD_Clear(void); 

void LCD_Close(void); 

 

the operate lcd
0 Kudos
Altera_Forum
Honored Contributor II
331 Views

Thanks a lot! What about ethernet? I think that the interface is a DM9000 and i don't see it in SOPC builder

0 Kudos
Altera_Forum
Honored Contributor II
331 Views

well i am struggling to find a tcp/ip solution on de2 due to unsupported dm9000a controller. 

 

i think the best one is to install uclinux is the best solution. 

 

if u find a better way pm me 

 

thanks
0 Kudos
Altera_Forum
Honored Contributor II
331 Views

does nios2-linux have support for the lcd?

0 Kudos
Altera_Forum
Honored Contributor II
331 Views

You need to build a driver for the dm9000a. I'm working on this as well, but currently having no success. Look in the SOPC builder manuals, they talk about building custom ethernet drivers for the NicheStack interface (iniche)

0 Kudos
Altera_Forum
Honored Contributor II
331 Views

I am trying to port DM9000a from the version in the CD to the 10.0sp1 quartus version but i am having some trouble while doing this! Some signals dont match. 

 

Incase i dont port anything, just open as classic and throw a linux in it, will i have any trouble?
0 Kudos
Altera_Forum
Honored Contributor II
331 Views

It works out of the box if i use the CD version without upgrading. (uClinux)

0 Kudos
Reply