Hello Kyle Yang,
I need more details to understand your issue.
- Are you using an NXP evaluation board or custom board?
You mentioned:
But when I pressed the button and try to erase/program QSPI flash, it will failed after program access.
- Exactly what button are you pressing?
- What do you mean with "failed after program access"?
If possible please also share your LED example project.
Regards!
Jorge Gonzalez