Why local variables in a SPIM R/W function ( access to / from a NOR flash ) fails read / write to SPIM bus.
However, Accessing to/from NOR flash using global variables with the same SPIM R/W function results with no error.
What can be the problem? By the way, the project uses no RTOS.
Regards.
Looks like a software issue, is the optimization too high? Please try a lower level and check if it works.
Hope that helps,
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------