Hello!
I need to count the number of read and write accesses to the internal SRAM of the MPC5777C. I raised some options to do so, but I would like to know which one of them is correct and more accurate and if there is any other way to do so in a better way. Consider that in my software architecture the only used XBAR masters are the e200z7 cores, the flash memory stores the instructions and constants, the SRAM stores data variables.
My theories:
SRAM read accesses = Com:87 (BIU data-side requests performance monitor)
or
SRAM read accesses = Com:57 (DCache linefills performance monitor)
SRAM write accesses = Com:88 (BIU data-side copyback requests performance monitor) [cons: does not count write-through requests]
Best regards,
Matheus