Actually, I want to know how to update my new firmware to the board.
My plan is as follow,
1. Boot from QSPI Flash(Internal boot)
2. Run application
3. Download new application via SPI or UART from PC.
4. Call ROM API and update the firmware.
5. Reboot in internal boot mode by software.
Is this step right? <-- this is the 1st question.
The next question is about ROM API.
I had run the next example.
- evkbmimxrt1170_fsl_romapi_cm7 example
I executed the program in debug RAM mode by checking "Link application to RAM in the compiler properties (settings/MCU Linker/Managed Linker Script).
It was executed without error, no hang.
However, when I tried to it with unchecked state(means QSPI ROM boot),
the program was hang some location. It's very unstable.
The stopped code position is variable.
What is the problem, and what I should check ?
This is my second question.
Thank you