SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
FILE: dcsm_ex1_cpu_access_control.c
This example demonstrates how to configure the 1st Zone Select Block in the OTP to allocate CM's C0RAM to zone 1 & CM's C1RAM to zone 2, later accessed by CM. Zone1 | Zone2 | CM's C0RAM | CM's C1RAM | 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 CM. This would even do a dummy read of the password needed by CM to unsecure the memory. The communication between the 2 CPUs are done using IPC ( Inter process communication) through a synch 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 :