cwespressif opened a new pull request, #11340:
URL: https://github.com/apache/nuttx/pull/11340

   ## Summary
   
   Tasks use PSRAM as stack can do SPI flash read/write/erase/map/unmap.
   
   The root cause is as following:
   
   1. When operating SPI flash, cache is also disable, then software can't 
access PSRAM by data cache.
   2. SPI flash read/write/erase functions have instruction like stack-pop and 
stack-push which may use stack buffer which is PSRAM space or load/store temp 
variables which locate in PSRAM space too.
   3. Once operation in step 2 triggers, CPU will trigger exception.
   
   So related SPI flash functions should be sent and run in tasks which use 
SRAM as task stack.
   
   ## Impact
   
   ## Testing
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to