AnsweredAssumed Answered

Secure Provisioning Tool failed to sign image on i.MX RT 1060

Question asked by Kanimozhi Thangappan on Mar 9, 2020
Latest reply on Mar 17, 2020 by Victor Jimenez



    We're using i.MX RT 1060 EVK and practicing authentication and encryption on that. We use MCUXpresso Secure Provisioning Tool version 1.0.1 from NXP website, which internally uses CST 3.2.0. When we tried to sign the image, the following error has occured.


INFO: Build image - operation started at 2020-03-09 18:14:27
INFO: Build script generated:
INFO: Build script generated: build_image_win.bat
INFO: Build script generated:
### SCRIPT: Building image: D:\Project\SecureProvision_workspace\build_image_win.bat
elftosb -f imx -V -c D:\Project\SecureProvision_workspace\bd_files\ -o D:\Project\SecureProvision_workspace\bootable_images\evkmimxrt1060_hello_world_nonxip_secure.bin "d:\project\xip and non xip image\evkmimxrt1060_hello_world_nonxip_secure.s19"
error: line 11: syntax error
Undefined error
Section: 0x14
Section: 0x15
Section: 0x16
Section: 0x18
Section: 0x19
Section: 0x1a
Section: 0x1f
Section: 0x21
error: failed to run code signing tool
elftosb failed
### RESULT of the script `Building image`: FAILURE (return code = ExitCode.ERROR)
INFO: Status of the operation: FAILED: Building image


Kindly help us solving the issue!


Thanks in advance.