Hello,
For our application, we need to configure the MSMC to optimize data transfers / paths between the A72 & R5 cores and the MSMC SRAM.
We are using a TDA4VM (J721EVM).
For now, we start the J7 in "NO-BOOT" mode and the initialization is done per debugger script (from CCS1020 / Blackhawk by using ...\ti\drv\sciclient\tools\ccsLoadDmsc\j721e\launch.js, or from Lauterbach Trace32 with similar script).
From the Main Domain R5F_0 ("MCU2_0"), we can read the MSMC registers (e.g. the MSMC_CACHE_CTRL / 0x6E000000, MSMC_RT_WAY_SELECT / 0x6E001010), but by writing them the processor generates an exception (jumps to 0x00000010, "Abort (data)"). The same exception occurs by writing the MSMC registers with the debugger.
I suppose that the MSMC registers must be written only in a specific processor state. But unfortunately, in the TRM we did not found the pre-conditions to access the MSMC registers - searched in chapter 8.1 MSMC, 4. Initialization, and 5. Device Configuration. (Are there any other relevant chapters or documents to be explored?)
What should be the right procedure to set the MSMC registers?
Is it possible to set the configuration state or to change the registers values from the debugger (Blackhawk or Lauterbach Trace32) after the J7-boot phase, firstly to make some performance tests?
Many thanks in advance
Lad