Question: I am not sure if e.g.: "mem 0x02001000" on the simulator displays MP data Cache, or is it a true representation of what's in external memory? This is when a write is issued by the MP into external memory.

Answer: Managing memory and cache If you use the MP debugger to read an external memory address, the data cache is always checked for the address. If the address is present, the data is read from the data cache. Otherwise, the data is read from external memory. Data is not read from the instruction cache, because external memory and the instruction cache are assumed to be identical. Note that if the address that is being read is within the data cache, you can't read the corresponding data in external memory without flushing the cache. If you modify MVP external memory using the MP debugger, data is written to the following locations: - External memory - The data cache if the address is present - The instruction cache if the address is present - When using the PP debugger, data is always read from external memory. Since the instruction cache and external memory are assumed to be identical, data is never read from the instruction cache. During a write to external memory, data is written to external memory and to the instruction cache if the address is present.


Device: TMS320C8x
Category: TI Tools
Detail: Debugger Tools
Detail2: Simulator
Title: True Representation of what's in External Memory
Source: Case from TMS320 Hotline
Date: 8/1/97
GenId: 0008102

© Copyright 1998 Texas Instruments Incorporated. All rights reserved.
Trademarks, Important Notice!