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

Nios II not responding in POF mode for some commands

Hello  

 

In our system we have connected two ICs over SPI bus to NIOS II processor and USB to FIFO connected to PIO core for communication with HOST system.  

We have developed firmware which receives commands over USB – FIFO and writes data into the ICs connected over SPI bus. 

 

We have tested the firmware in run mode and debug mode and everything works fine. We do not see any issue in these modes. 

We don’t have external flash memory, so we are fusing the firmware with POF by converting elf file to hex file and compile it to produce POF file.  

On power up FPGA gets configured with the POF from configuration device and initially firmware works fine. 

 

But at some point of time firmware stops responding which was not happening when we run in run mode or debug mode. 

 

Can someone please give suggestions for this problem. We are using Quartus 14.0 Version.  

 

Thank you
0 Kudos
1 Reply
Highlighted
Valued Contributor III
4 Views

Check the exception and interrupt vectors. I had a similar problem and it turned out that they weren't being initialized when the code was in a pof file but they were when loaded directly. Of course this might not have anything to do with your issue.

0 Kudos