Other Parts Discussed in Thread: UNIFLASH, SYSCONFIG
Can we set custom TC link key using Uniflash for ZR/ZNP during production , instead of setting from sysconfig.
Regards
Dhanraj
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Dhanraj,
You can accomplish this by determining the location of the defaultTCLinkKey from the output *.map file and then modify the output hex image location directly before programming with Uniflash. You could also specify the location of the declaration. There are some instructions in the TI Clang User's Guide.
const uint8_t __attribute__((persistent, location(0x55FF0), used)) defaultTCLinkKey[SEC_KEY_LEN] = DEFAULT_TC_LINK_KEY;
Regards,
Ryan
There are no concerns with performing the instructions I provided.
Regards,
Ryan
You would need to make the simple text change in the hex document before converting to binary, or know how to interpret/parse the bin file for the correct location and modifications required.
Regards,
Ryan
You should be able to employ such a similar mechanism for any definitions within a SimpleLink SDK TI Clang-based project. You will need to know which variables refer to the definition and use it within the application, and modify accordingly.
Regards,
Ryan