Showing results for 
Search instead for 
Did you mean: 
Honored Contributor I

epcs programmed,little code ok, large code have problemes

Quartus 11.1, Cyclone IV 55E, design 


My design includes a 1.8V Mobile DDR (which seems to be working fine), a Serial Flash,Micron 256Mbit, UART.  

NIOS reset vector: epcs Controller , 

exception vector: DDR controller, 



the whole project be working fine with jatg. 

SOF and ELF file create JIC file, serial flash program OK. 

Reboot,power up, FPGA configuration be fine. 

But elf code once in a while be running OK, many times not running. 

After simplification of Project code ,including 'mem' ,'printf',pointer variable instruction, etc., cause of obvious hindering EPCS running, and many available codes, NIOS be running fine. 

If project have any 'mem' ,'printf',pointer variable instruction, 'write_flash', 'read_flash',open Uart file, etc., the elf code does not work! 


Any suggestions? 

Thanks a lot, 


0 Kudos
0 Replies