Forum Discussion
Altera_Forum
Honored Contributor
22 years agoModifying Nios II Device Drivers?
Hello all... I would like to create a new version of the altera_avalon_lcd_16207 device driver. I have a 20 character x 4 line display that I would like to use instead of the 16 character x 2 l...
Altera_Forum
Honored Contributor
22 years agoHello BigGuiness.
Try this: 1. go to your components folder 2. make a new folder called altera_avalon_lcd_20x4 and copy the contents of the altera_avalon_lcd_16207 to the new folder. 3 edit the file called class.ptf in your new directory and change all instances of altera_avalon_lcd_16207 with altera_avalon_lcd_20x4. 4. save the file and start NIOS II IDE. You should now have a new component called altera_avalon_lcd_20x4. (if it doesn't work make sure the name of the new directory is EXACTLY the same as the new name in the class.ptf). Now all you need to do is modify the driver ... Let me know if it works :-)