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.
CC1312R: Secure Boot - protect CCFG
Part Number: SIMPLELINK-CC13X2-26X2-SDK
We have a setup with an application that is using OAD. For programming, the hex file is merged with the BIM
Now, both the BIM and the application have CCFG settings in the code in much the same way.
Can I safely assume that only the CCFG of the BIM is used and the CCFG of the application is ignored?
Or do I have to make changes to accomplish this?
This sample application is flashed at the last page of flash along with a modified CCFG register forcing the start address to be the BIM. Please refer to the Locating and Preparing a user application section of the TI 15.4-Stack User's Guide: https://dev.ti.com/tirex/content/simplelink_cc13x2_26x2_sdk_4_20_00_35/docs/ti154stack/html/oad-secure/bim.html?highlight=ccfg#locating-and-preparing-a-user-application
You can also refer to the Command Linker (.cmd) file of OAD examples: https://dev.ti.com/tirex/explore/node?node=AFmG93i4gR2dIT5aG9ja-Q__pTTHBmu__LATEST
To better aid the community, please click on the "This Resolved my issue" button whenever a post answers your question!
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Ryan Brown1:
Thanks for your reply.
It's not really an answer to my question though. Maybe I explained it wrong.
I have a working program with OAD capabilities, all working fine. I just want to make sure now as that I can disable the JTAG for example.
Now the thing is that both the BIM and the application both have the same CCFG parameters you can set.
e.g. SET_CCFG_CCFG_TAP_DAP_0_TEST_TAP_ENABLE is defined in both BIM and application. How can I make sure that this setting is applied? Do I need to set it in both BIM and application? or only BIM, or only application?
Hope this makes my question clear?
In reply to Marijn Achterkamp:
The BIM is setup to link the CCFG as part of its image. If you look at Application/ccfg_app.c of the BIM project you will see recommendations for modifying: removing the ccfg.c include and copying the contents accordingly, then modifying as desired. By default the CCFG is linked from the SDK and does not exist in the CCS workspace.
Thanks, it works as expected.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.