SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
FILE: boot_ex1_cpu1_cpu2_cm_secure_flash_cpu2.c
This example demonstrates how to use the secure flash boot mode for CPU2. (Requires CPU1 example application)
Secure flash boot performs a CMAC authentication on the entry sector of flash upon device boot up. If authentication passes, the application will begin execution. Learn more on the secure flash boot mode in the device technical reference manual.
This project shows how to use the C2000 HEX Utility to generate a CMAC Tag based on a user CMAC key and embed the value into the flash application. Additionally, the example details the method to call the CMAC API from the user application to calculate CMAC on other flash sectors beyond the the application entry flash sector.
Determining Pass/Fail without debugger connected: CPU2 - ControlCARD LED2.
Watch Variables