Hi @rdegliesposti ,
Thank you so much for your interest in our products and for using our community.
Q:I would like to understand what they are actually doing, considering that the contents of the flash memory remain untouched.
A: Yes. Those two blhost commands are not programming the flash contents.
1: fill-memory writes the FlexSPI configuration option to RAM.
2: configure-memory tells the ROM bootloader/flashloader to use that RAM-resident option block to initialize/configure the external FlexSPI NOR interface.
After that, the flash becomes accessible in the required mode, but its contents are still unchanged until a later command such as flash-erase-region , write-memory , or flash-image is issued.”
For more detail information, you can refer to the application note below:
https://www.nxp.com/docs/en/nxp/application-notes/AN12238.pdf
mayliu1_0-1777257834092.png
Best Regards
May Liu