Hi kerry,
Sorry for the delay in responding to this thread. Please find my comments below:-
Please tell me what the secondary bootloader you are using?
[comments] We are using a customized bootloader mainly for performing the DFU operation. The boot loader has an option to reinvoke ISP mode when a particular key file has been downloaded to it using the dfu-util tool.
You said:Once I copy the .bin file in ISP mode
[comments] To copy the bin file, we either use the ISP pins on the board to put the device into USB ISP mode. Or as I have mentioned above we also use the boot loader to revoke the USB ISP mode. Once the device appears as mass storage drive, we then copy the bin file. At this point we would expect this image to execute on reset but what happens is the device remains in ISP mode.
I have attached the bootloader BIN file for your testing. We build the boot loader for 11U6X and 5411X from the same code base and 11U6X works just fine. Also from the UM of 5411X, Chip_IAP_ReinvokeISP API excepts param0 for USART, USB, I2C and SPI ISP mode but the API implementation in the chip library doesn't take any parameters. Can you please confirm this as well.
Thanks,
Siva