Skip to content
Discussion options

You must be logged in to vote

Apologies for the very late reply.

Good news — you can drop the run-from-SRAM workaround. We root-caused the hang and fixed it; NVS now runs from flash (XIP) normally.

Cause: the FlexSPI NOR driver reinstalls the MX25U51245G read with a 10 dummy-cycle 0xEC quad read during init, but the board's FCB had the flash set to a shorter read latency. The mismatch corrupted XIP fetches once the flash driver came up, so the CPU locked up before main() — which is why hello_world/blinky worked but NVS didn't.

Fix: the board FCB now matches the latency the driver expects (board-only change). Verified on the AUD-EVK: NVS and LittleFS both reach main(), read/write, and persist across reboots; hello_worl…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@anubiradar-adi
Comment options

@anubiradar-adi
Comment options

@lucien-nxp
Comment options

@anubiradar-adi
Comment options

Comment options

You must be logged in to vote
1 reply
@lucien-nxp
Comment options

Answer selected by lucien-nxp
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants