Hi TI-Community,
I'm using a DRx62x system that includes a C674x and I'm trying to access the L2 RAM (128 kByte IRAM, 128 kByte Cache) through the global address space. As mentioned here, that should work.
C674x memory map, from SPRS778A:
-------------------------------------------------------------------------------------------------------
Table2-5. MMU Bypassed C674x DSP Memory Map
0x0080_0000 C674x Level2 (L2) Cache / RAM -> local address
0x4080_0000 C674x Level2 (L2) Cache / RAM -> global address
-------------------------------------------------------------------------------------------------------
When I access the IRAM through the local address (0x0080 0000), I can read/write data without problems as expected. But when I try the same through the global address (0x4080 0000) I'm not able to write/read data. I confused by the fact, that the ARM processor of the DRx62x is able to access the IRAM through this global address.
I tested the following (that's also my use case):
1. ARM processor writes some data to DSP's IRAM
2. DSP can read these data through the local address space (0x0080 0000)
3. DSP can NOT read these data through the global address space (0x4080 0000)
Because of the global address (0x4080 0000) for the L2 RAM is only mentioned in the Table 2.5 (that describes the C674x memory map for the case that the MMU is bypassed) I bypassed the MMU for the DSP by setting the MMU_CFG register (0x4814 0000 + 0x610) in the Control Module (SPRUHF4A Chapter 3) to 0x8C. But the problem is still the same.
Who can I access the DSP's L2 RAM through the global address space with the DSP?
Regards
Jo