Forum Discussion
Altera_Forum
Honored Contributor
14 years agoWell, it doesn't work - so you are trying to debug it!
If the LCD panel has it's own character generator and display hardware - so presents just an 8-bit ascii (ish) interface to the outside world, then your LCD_DATA[0-7] are presumably the 8-bit data and are connected to an Avalon slave for PIO access from the Nios cpu. In which case doing uncached writes directly to the PIO addresses would be a much better place to check things. On the other hand, the 8 data bits might be raw pixel data (for multiple pixels), and you'll need some logic to repeatedy copy the frame image out to the LCD panel. In this case you'll need your own character generator (etc). In either case I wouldn't consider using printf().