SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
FILE: dcsm_ex1_cpu1_access_control.c
This example demonstrates how to configure the 1st Zone Select Block in the OTP needed to allocate CPU2's LS4-LS5 to zone 1 & CPU2's LS6-LS7 to zone 2, later accessed by CPU2. Zone1 | Zone2 | CPU2's LS4-LS5 | CPU2's LS6-LS7 | In this example, zoning of memories is done by the OTP programming whose values are configured in dcsm_ex1_f2838x_dcsm_zxotp.asm while the securing functionalities are done through this file. It demonstrates how to control the access of the memories which would later be accessed by CPU2. This would even do a dummy read of the password needed by CPU2 to unsecure the memory. The communication between the 2 CPUs are done using IPC ( Inter process communication) through a sync function. This enables the CPU Core to wait until the expected task is completed on the other core.
External Connections
Watch Variables
Before running the example, the below configuration is expected to be done through the dcsm_ex1_f2838x_dcsm_zxotp.asm :