Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHi,
I also have a DE2 and have been trying to get the LCD working. I followed the wiki. (I had no missing files.) The kernel compiled with the driver ok but I could not see the boot message (hello!). I tried the writef example and the lcd16207 example. Neither worked. I had to make the following modification to bypass the cache in the driver code in lcd_16207.h: # define ADR_LCD_COMMAND na_lcd_16207_0 + 0x80000000# define ADR_LCD_READY (na_lcd_16207_0 + 0x80000000 +4)# define ADR_LCD_DATA (na_lcd_16207_0 + 0x80000000 + 8)# define ADR_LCD_READ (na_lcd_16207_0 + 0x80000000 + 12) Now, after the kernel boots, I see the "hello!" message on the LCD. ( I had the driver built into the kernel, not a module) The writef example works and the lcd16207 example works. For the second example, the string to be displayed is entered on the command line (and not 1234... as I first thought) >lcd16207 abcdefg Your symptoms seem a bit different but I hope this can help anyway. Jeanne