Hi @nnxxpp
We apreciate your interest in the MCX series and the article.
1. Is the guide in the above link is valid at current time? I need to maintain this article and update it to current time. The SPSDK version used, is not the latest anymore. This should explain why you see differences in the YAML. Btw, Do you have the link of the video? I want to take a look at it.
At the step Write image and PFR and run demo, if I want to get output from board, what do I need to do. A reset should be enough to get your image running from the external flash.
- The guide said that If you want to return the device to run from internal memory, then you need to go back to default values. If there are no modifications, to the ones shown in this document, to the CMPA and CMPA areas, the nxpdebugmbox command can be executed. I am not clear about this point. Sorry, I am a newbie with board. As my understanding, NXP was saying about back to internal boot by using SPDSK. Whether I can back to internal flash by creating NEW PROJECT from SDK in MCUXpresso IDE (without any MCU settings) and run debug as usual?
I think that this sentence is not clear enougth, and I appreciate your feedback. Basically, what we did in the article was: write some bits into the PFR section ( specifically CMPA and CFPA areas of the PFR ) to tell the bootROM to read flash settings and setup XIP from the external flash. To revert this, we need to clear the bits we just wrote.
I have another comment, this article is very low level, as we install the SPSDK manually and we also edit the YML and call the the SPSDK tools from the terminal. I have not done this already, but we can use the MCUXpresso Secure Provisioning tool for this purpose, I can work on this to simplify the setup. Does this work for you?
What do you want to achieve? Run your tflm_cifar10 project from external memory, as it is big enough for the internal flash, correct?
Thank you again!
Diego