Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,597 Views

DE2 Internet and LCD

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 I
75 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
Altera_Forum
Honored Contributor I
75 Views

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

Altera_Forum
Honored Contributor I
75 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
Altera_Forum
Honored Contributor I
75 Views

does nios2-linux have support for the lcd?

Altera_Forum
Honored Contributor I
75 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)

Altera_Forum
Honored Contributor I
75 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?
Altera_Forum
Honored Contributor I
75 Views

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

Reply