Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
20563 Discussions

NIOS Code not running from compressed internal Flash

DBarn22
Novice
612 Views

I have a FPGA design in Quartus Prime 18.1, including a NIOS II processor.

The original design used a 10M25DAF and I could program the design to internal Flash and it would run the code on power up - using Option 2 from AN730 (copying application from UFM to RAM).

Due to chip availability, we have moved to a 10M25DCF.  This has insufficient UFM for the code to fit uncompressed, so I have moved to Compressed - changing it in the on-chip flash IP and the device configuration.

All still builds and programs without error.  However, on start up the code simply does not run.  Can anyone give pointers as to how I go about diagnosing why not?

0 Kudos
6 Replies
DBarn22
Novice
554 Views

Addendum:

I have returned to basics.  Still with Compressed image I have tried the following.

1) Simple hello world.  Generated a simple bare metal Hello World application, that prints a counting result.  Programmed this into flash.  Rebooted.  This runs on start up.
2) MicroCOS hello world.  Multi-task Hello World example.  Prints counting number.  This also runs from flash on start up.
3) Simple Socket Server example.  Standard example.  tse_my_system changed to match my FPGA.  LED stuff removed.  Fixed IP, hard coded MAC.
Everything seems to program okay, but the app does not run.

0 Kudos
IntelSupport
Community Manager
514 Views

Hello DBarn22,

 

We’d like to confirm your sample programs.

Don't all 3 examples work fine?

Thanks


0 Kudos
DBarn22
Novice
500 Views

Example 1&2 run fine.
Example 3 (SSS) runs from JTAG, but does not execute when programmed into flash.

0 Kudos
IntelSupport
Community Manager
418 Views

Hello DBarn22,


Do you still have the problem?

We are trying to duplicate the problem.


Thanks 


0 Kudos
IntelSupport
Community Manager
375 Views

Hello DBarn22,

 

We tried to duplicate the issue on Max 10 Dev Kit and Quartus 18.1. But SSS design works fine.

Thanks


0 Kudos
IntelSupport
Community Manager
360 Views

We do not receive any response from you to the previous question/reply/answer that I have provided.This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


0 Kudos
Reply