AnsweredAssumed Answered

Accessing L2 Memory as 16-bit

Question asked by jon_harris8 on Oct 12, 2017
Latest reply on Oct 18, 2017 by GregFowlerFAE

Is it possible to access L2 memory on a 21584 as short data words?  I tried a simple assembly test to read from L2 memory using the "instruction fetch VISA address space SHARC+" address as shown in the data sheet, i.e. 0x00BA0000-0x00BBFFF.  After a couple of writes to consecutive locations, the processor hangs while stepping with the ICE 2000 debugger through CCES.

I'm just doing:

I4 = 0x00BB0000; // L2 memory, 16-bit access

dm(I4, 1) = r1;

dm(I4, 1) = r1;

dm(I4, 1) = r1;

 

I have caching turned off and am not using MCAPI.  I picked an address in the middle of the L2 to avoid other uses of it.  Byte and 32-bit accesses seem to work fine.

Outcomes