I believe the exception is the hex file does not have a image header for secure boot.
What is the CCS project post-build step to add an OAD Image Header to the hex image file?
Running oad_image_tool_py -verbose -hex1 xxxxxx.hex -k private.pem -o xxxxxx ccs projectdir 7
generates the following exception
Exception has occurred: OverflowError
can't convert negative int to unsigned
File "C:\ti\simplelink_cc13x2_26x2_sdk_4_40_00_44\tools\common\oad\imgBinUtil.py", line 105, in writeBytes
filePtr.write(value.to_bytes(numBytes, byteorder = 'little'))
File "C:\ti\simplelink_cc13x2_26x2_sdk_4_40_00_44\tools\common\oad\imgBinUtil.py", line 252, in updateImgLen
writeBytes(fileName, BIN_LEN_PTR, binLen, IMG_LEN_SIZE)
File "C:\ti\simplelink_cc13x2_26x2_sdk_4_40_00_44\tools\common\oad\oad_image_tool.py", line 184, in createAppStackBinfile
util.updateImgLen(outfileAppPath, imgStAddr, imgEndAddr)
File "C:\ti\simplelink_cc13x2_26x2_sdk_4_40_00_44\tools\common\oad\oad_image_tool.py", line 341, in main
createAppStackBinfile(args.ProjType, args.ProjDir, binaryFileType,
File "C:\ti\simplelink_cc13x2_26x2_sdk_4_40_00_44\tools\common\oad\oad_image_tool.py", line 542, in <module>
main(oad_args)
This due to the start and end image addresses are incorrect as read from the hex file.