Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12435 Discussions

epcs programmed,little code ok, large code have problemes

Altera_Forum
Honored Contributor II
773 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