Other Parts Discussed in Thread: UNIFLASH, CC1352P
Tool/software:
Dear Texas Instruments Support Team,
I am using,
CCS Version - 12.7
SDK Version - simplelink_cc13xx_cc26xx_sdk_7_41_00_17
Compiler Version - TI Clang v2.1.2 LTS
I hope this message finds you well.
I am currently working on a BLE Central project based on the CC1352P7 device and have encountered an issue while flashing the .bin
file through bootloader (backdoor) mode.
Issue Description is as per below:
-
The firmware
.bin
file works perfectly when flashed via JTAG using Uniflash. -
However, when attempting to flash the same
CRC verification failed. Mismatch in flash page 87..bin
using Flash Programmer 2 (by selecting CC1352P as target device) in bootloader mode, the upload proceeds but fails during verification as per following error:
Address 0x000AFFA8: Read 0xFF, expected 0x00.
Reset target ...
Reset of target successful. - I have tried to flash the firmware in bootloader mode using Uniflash (by selecting CC1352P1F3(BOOTLOADER) as target device) refer below attached image for error on uniflash:
I have generated .bin file using following pos-build steps:
${CG_TOOL_ROOT}/bin/tiarmobjcopy -O ihex ${BuildArtifactFileName} ${BuildArtifactFileBaseName}.hex
${PYTHON_PATH} ${PYTHON_SCRIPTS}/hex2bin.py --pad=0xFF --range=0x0:0xAFFFF ${BuildArtifactFileBaseName}.hex ${BuildArtifactFileBaseName}.bin
I have did bootloader settings as per below: (refer below image of .syscfg file for bootloader settings for ble centra project)
Could you please help to confirm:
-
Is the
.bin
file generation logic correct for flashing via bootloader mode? -
Is the range
0x0:0xAFFFF
appropriate for the CC1352P7, given the failure at address0xAFFA8
? -
Are there any bootloader constraints regarding
.ccfg
contents being at the very end of the flash?
Best Regards,
Rajnish Singh