Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

write to qspi hangs when application boots from qspi flash

Altera_Forum
Honored Contributor II
1,555 Views

Altera's DevKit board with EDS 14.0 

 

bare-metal application reads and writes to/from qspi flash. 

the application works good while loaded from jtag. 

 

While booted it from qspi flash the application hangs on indirect write. 

 

Write protection disabled. Any idea?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
755 Views

Update. 

The write fails due to wrong allocation of SRAM for write. 

It happened only when boot from QSPI flash. 

Use of alt_qspi_sram_partition_set() fixes it.
0 Kudos
Altera_Forum
Honored Contributor II
755 Views

good sharing... thanks.

0 Kudos
Reply