Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
716 Views

Rebooting from Flash unreliable

Hi, 

 

My system is designed with cyclone III 3C40. Booting from Parallel Flash. Flash is 128 MBits, Intel P30 flash chip. I had booter loader customized for our application. The bootloader is running from on-chip memory. it validates the signiture and validates the application content using CRC32. The problem is that it can not successfully rebooting every time. I found it seems to reboot everytime when the board is cold (such as every morning, it is able to reboot everytime). But under normal running conditions, it can fail 5 rebooting in a row. It can also reboot successfully 5 in a row. When it boots, it can read/write flash without problem. When it fails, it fails the CRC32 of the application. But signiture is good.  

The bootloader copies the data from flash into DDR RAM using memcpy, which is from the Altera example bootloader.  

 

did I miss something? any hints or ideas that may help to resolve the problem? 

Thank you, 

David
0 Kudos
1 Reply
Highlighted
Valued Contributor III
6 Views

First thing that can cause these kind of problems is signal integrity in PCB and other thing is timings inside FPGA. 

 

Is Cyclone III running hot? 

I mean if it's bare PCB then can you touch it without pain?
0 Kudos