Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
841 Views

write to qspi hangs when application boots from qspi flash

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 I
41 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.
Altera_Forum
Honored Contributor I
41 Views

good sharing... thanks.

Reply