Hi Ken Su,
Thanks for your question at first.
Today I have tested it on my side, it's really the interesting things and the test result, and only find in the MCUXpresso IDE, IAR project works perfectly.
I find the main issue is caused by the IVT reset entry point in the MCUBootUtility.

Although it is using the reset handler:

If you use the elftosb tool to generate the sb file, you will find more detail:
imx-flexspinor-normal-unsigned.bd

entryPointAddress = 0x60002000; generate the related file and the sb file, it works.
entryPointAddress = 0x600022A9; generate the related file and the sb file, it is failed
So now, two workaround for you:
1. Use IAR project
1) In the reprocessor options configuration, you need:
XIP_BOOT_HEADER_ENABLE=0
2). entry symbol modified to Reset_Handler

Then you can generate the .srec file, and use the mcubootutility tool, you will download it and works OK.
I also attach my generated the dev_cdc_vcom_fressrtos iar .srec files for your reference


2. MCUXpresso IDE
You can use the \SDK_2.7.0_EVK-MIMXRT1015\middleware\mcu-boot\bin\Tools\elftosb\win
imx-flexspior-normal-unsigned.bd
options {
flags = 0x00;
startAddress = 0x60000000;
ivtOffset = 0x1000;
initialLoadSize = 0x2000;
//DCDFilePath = "dcd.bin";
# Note: This is required if the default entrypoint is not the Reset_Handler
# Please set the entryPointAddress to Reset_Handler address
entryPointAddress = 0x60002000;
}
sources {
elfFile = extern(0);
}
section (0)
{
}
Then generate the .sb file, and use the MFGtool download the code, it also works, I also upload the related files for your reference.
For the detail MCUBootUtility reset handler in the IVT issue, I will check internally, it's really the strange issues.
Any updated information, will let you know.
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------