Altera_Forum
Honored Contributor
21 years agoNios II LCD Driver
Greetings. Quite simply my LCD doesn't "work" with Nios II. It has and does work with Nios I.
From the simple "web server" default reference design where the display should show something like: "Nios II, IP address: xxx.xxx.xxx.xxx" (or equivalent), to the count_binary reference design, to writing my own (quick) code: FILE *fp_LCD=0;
fp_LCD = fopen(LCD_DISPLAY_NAME,"w"); // open LCD for write
if(fp_LCD==0)
printf("\nError Opening %s\n\n",LCD_DISPLAY_NAME);
else
{
printf("LCD opened, ready for access!\n");
fprintf(fp_LCD,"Hello LCD");
fclose(fp_LCD);
} Does anyone have their LCD working? Any special tricks? FYI, I have the Nios-devkit-1C20, and I have upgraded the FLASH to use the factory_recovery for Nios II... Thanks, -Terry