Other Parts Discussed in Thread: UNIFLASH
Hi Expert,
Setup:
SDK: simplelink_cc13xx_cc26xx_sdk_5_30_01_01
Uniflash: 7.0.0.3615
Devices: LPSTK-CC1352R1F3
XDC Tools: 3.62.1.16
Compiler: ti-cgt-arm_20.2.5.LTS
I followed the instructions for building and loading an OAD image by flashing the BIM bim_offchip_CC1352R1_LAUNCHXL_nortos_ccs.hex (debug unsecure) and the *.bin generated by oad_image_tool.exe:
${CG_TOOL_HEX} -order MS --memwidth=8 --romwidth=8 --intel -o ${ProjName}.hex ${ProjName} ${COM_TI_SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR}/tools/common/oad/oad_image_tool --verbose ccs ${PROJECT_LOC} 7 -hex1 ${ConfigName}/${ProjName}.hex -k ${COM_TI_SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR}/tools/common/oad/private.pem -o ${ConfigName}/${ProjName}
However, with both Uniflash and Jlink, the device does not boot, despite:
1) Flash Verification OK
[SUCCESS] Cortex_M4_0: Program verification successful for Multiple Files
2) Image header OK
The image header looks good since informations exposed by oad_image_tool:
____________________________
OAD IMG HDR
____________________________
Field | Value
imgID | b'CC13x2R1'
CRC | 0x62EDF26E
bimVer | 3
metaVer | 1
techType | 0xFFFE
imgCpStat | 0xFF
crcStat | 0xFF
imgType | 0x7
imgNo | 0x0
imgVld | 0xFFFFFFFF
len | 0x3F8D4
prgEntry | 0xCC
softVer | 0x31303030
imgEndAddr | 0x3F8D3
hdrLen | 0x2C
}
are present within the beginning of the *.bin:
Note 1: Also, I don't have any issue while flashing the *.out with Uniflash.
Note 2: The option 'Keep CCFG' is unchecked.
Questions:
- So, if both image header and flash verification are correct, what could explain the fact the device does not boot while flashing the BIM.hex and *.bin?
- Is there a way to retrieve the boot failure? bootloader verbose message? others,.
- Is there a tool for verifying *.bin integrity, to ensure that the binary is not corrupted?
Thanks,