Hi @marek-trmac
I have tried this before, but it still didn't work. I created the following example:
The main difference is in ..\configs\write_parameters.json.

However, even after modifying the differences, the issue remains unresolved.
Both work environments use the same project (evkmimxrt1010_flexspi_nor_polling_transfer), with the only difference on image start address (0x60010000 & 0x60020000).
10000_raw_data ----------(image start address 0x60010000 .axf .s19 .bin)
20000_raw_data---------- (image start address 0x60020000 .axf .s19 .bin)
secure_provisioning10000 -------SPT workspace for 0x60010000
secure_provisioning20000 ------ SPT workspace for 0x60020000
You can place the .s19 raw data into the SPT workspace and then execute build_image_win.bat.
Here are my test steps:
STEP 1:
Use SPT (secure_provisioning20000) to generate build_image_win.bat for the starting position 0x60020000 .s19 file.
Use SPT (secure_provisioning10000) to generate build_image_win.bat for the starting position 0x60010000 .s19 file.
The bootable images generated directly by SPT are all correct.
STEP 2:
Apply the .s19 file with the starting address 0x60010000 to the secure_provisioning20000 build_image_win.bat.
Apply the .s19 file with the starting address 0x60020000 to the secure_provisioning10000 build_image_win.bat.
The generated bootable images all have misplaced issues.
