Hello Rex,
This is depends on how config in your IDE or linker file, for example MCUXpresso IDE, when do NOT enable "Plain load image",
it will flash XIP.
Alice_Yang_0-1619601513936.png
You can open the demos "hello world" and "hello world xip" under SDK to check the difference.
BR
Alice