Hi @pcpro1789 ,
Thanks for your questions!
1. First, we need to generate an image that runs in RAM, not XIP. And convert it to S-Record type.


2. Then, we need to generate the corresponding image according to your needs. this step requires the nxpimage tool, which you are advised to modify in the graphical interface in SPT. Its corresponding command line underlying command will be shown in the log, you can record and parse it.

3. Finally, it's time to use blhost. build the FCB, configure the memory, flash the image. and so on. Again, the underlying commands are logged in the log. After I parsed it, it is divided into the following steps:
- blhost -t 2000 -p COM75,115200 -j -- get-property 1 0 Check connection
- blhost -t 50281 -p COM75,115200 -j -- flash-erase-region 0x08000000 28168 9 Erase flash
- blhost -t 5000 -p COM75,115200 -j -- fill-memory 0x0010C000 4 0xF000000F word Setup FCB
- blhost -t 5000 -p COM75,115200 -j -- configure-memory 9 0x0010C000 Configure memory
- blhost -t 5000 -p COM75,115200 -j -- write-memory 0x08000600 "image_version.bin" 0 Write version
- blhost -t 5000 -p COM75,115200 -j -- write-memory 0x08001000 "evkmimxrt685_gpio_led_output.bin" 0 Write application