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.

Booting From CFI FLASH

Altera_Forum
Honored Contributor II
819 Views

I have Cyclone 1C20 board , and nios2 standard design (attached). i have use Flash Programmer to write sof and elf to board.  

 

my C-Code Collect the Data From Serial Port and process them (Calculate the range between to GPS points) 

my C -Code Work like 

 

1. initilize Variables 

2. Open the Serial Port 

3. Receive Serial Data 

4. Calculate the range between received GPS data and Prestored GPS data. 

 

5. After Flash programming i press the cpu reset .......it work fine --> it calculate the Range between two point. 

6. But when i press The power on reset---> it Display up to "open serial port" and stuck at that point 

 

one more finding : 

 

if download some sample code like "Hello World" and after porting if i press the CPU reset it display my GPS Range , which is otherwise stuck at point 2 (open serial port) 

 

how do i make sure that my Flash should configure my FPGA for proper functioning even if i press power on reset

 

Regards 

 

kaushal
0 Kudos
0 Replies
Reply