Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

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

7 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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