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++
12643 Discussions

write to qspi hangs when application boots from qspi flash

Altera_Forum
Honored Contributor II
1,354 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
554 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
554 Views

good sharing... thanks.

0 Kudos
Reply