Forum Discussion
Altera_Forum
Honored Contributor
15 years agoProblems with 16-bit DDR2-SDRAM connected to Nios
Hi, I am trying to implement a nios system(cyclone III) with 16-bit DDR2 SDRAM and 16-bit Flash device. While try to erase the flash device using the routine listed below unsigned in...
Altera_Forum
Honored Contributor
15 years agoTry adding -Wall (and maybe -Werror) to the compiler options - it might show something that is wrong.
I normally use -O2 -pipe -Wall -Wshadow -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wwrite-strings -fmessage-length=0 -Werror The only troublesome one is -Wsign-compare (migth be included by -Wall) since 'fixing' things is difficult without a cast, and I try to limit the number of casts since they can hide bigger problems.