Forum Discussion

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

altera_avalon_lcd_16207 (DE2-70)

Is there anyone who can drive the altera_avalon_lcd_16207 on DE2-70?

If the answer is yes; can you help me about how to do it.

I spend days to do it. I will be appreciated for replies.

Thanks.

5 Replies

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

    uClinux

    Copy the kernel driver (lcd_16207.c, lcd_16207.h) to uClinux-dist/linux-2.6.x/drivers/char.

    Edit the file Kconfig in uClinux-dist/linux-2.6.x/drivers/char to contain a section for the lcd module like the following part.

    config LCD_16207 # note: in the patched tree this seems to be called NIOS_LCD_16207, watch out.

    tristate "Nios LCD 16207 device support"

    depends on NIOS || NIOS2

    help

    This driver supports the Nios LCD 16207 device.

    And add in the Makefile in the same directory one line.

    obj-$(CONFIG_LCD_16207) += lcd_16207.o

    Then recompile the uClinux kernel. If you use a module then you have to do modprobe lcd_16207.

    If you successfully loaded by the kernel then you should see this message: "Device /dev/lcd16207 registered".

    Create device file: mknod /dev/lcd16207 c 250 0

    you will success !!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I compile uclinux-dist20070130 package at vmware6.0 +ubuntu 8.10 IDE in window xp!

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

    Thanks for replies, zanghongjaio and dsl.

    I think nobody used optrex 12607 LCD on DE2-70. it is funny, isn't it?