Altera_Forum
Honored Contributor
15 years agofail to boot from norflash to sdram?
hi~~~everyone~~
I have a problem,I use the tool quartus 9.0(sp2)+ IDE9.0(sp2) to embed a nios system on my board. The Fpga device is CycloneIII.cpu clock is 100Mhz, sdram clock is 100Mhz,and phase offset is -67 degree to cpu clock. i use quartus 8.0+ IDE8.0 instead, it do not works for me. When i use "run as",it can run at sdram,but when i download the .elf to the norflash and the .pof to the epcs,after power on,the c program can not run at sdram,it seems it not copy the code from the norflash to the sdram to run at sdram.if i put the .text in the onchip_ram or cfi_controller instead,it works. In additon , the chip of sdram is very hot when i touch it with my fingers. I also want to know the function of printf whether or not there is a bug in it. it often prints the thing which is not wanted. it often prints unreasonable things. I really don't know what happened.please helps,thank you all!!!!