Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12659 Discussions

epcs programmed,little code ok, large code have problemes

Altera_Forum
Honored Contributor II
987 Views

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, 

 

Aaron
0 Kudos
0 Replies
Reply