Forum Discussion
Altera_Forum
Honored Contributor
14 years agohelp me please
i'm a student working for the first time with altera DE2 board .i'm using the NIOSII soft processor with the altera monitor program (using C language) i've some troubles with the program i wrote.i...
Altera_Forum
Honored Contributor
14 years agoHave you checked your displaying on seven segments only ?
For displaying, I expected printf() or IOWR... or user function. your# define hex_base_address 0x00021000 may be wrong : it depends of your generated SOPC (I think you are using Altera example for DE2 board). In system.h (generated by sopc builder for quartus version <= 9.1) (or equivalent) you should look at, there are already# DEFINE for hardware. You should use IO_WR... functions : I think it takes care of wait time, delay, time hold... (I am not sure at 100%) Printf() your "list1" so as to see its value. The same "list1" doesn't change within you superloop (while(1))++