"Bhooshan Iyer" <
[email protected]> writes:
> Randy--
>
>>Does it ever make sense to place the interrupt vector table
>>in cacheable SDRAM?
>
> I dont know for sure but what if you are being forced to relenquish the
> entire L2 as a 4-way set associative cache? Then you are left with no
> piece of SRAM left free. Possible.
Yes, that's a good guess, but the fact is they only use half (128 kB)
for the L2.
>>If the vector table is loaded into L2
>>SRAM, interrupts run quickly.
>
> The convention in a C6000 system is to place the vector table starting at
> address "0". (Anything else is ACTUALLY a pain!)
Not really - just change the ISTP (interrupt service table pointer),
no?
> And another longshot:
>
> And in older C6x0x devices addresses starting at address "0" where
> actually SDRAM(external memory/CE0 Space)and they never had two level(L2)
> memory hiererchy either. In contrast to the newer C6x1x devices which have
> 2-level memory and have internal(fast memory) starting at address "0". So
> is it possible that the code you are looking at were written for the older
> C6x0x(C6701/C6201) devices? Would that explain it?
It's remotely possible, I suppose. In any case, when I get free of my
current major code task, I'm going to try relocating it back to SRAM
and see if performance changes.
--
% Randy Yates % "Remember the good old 1980's, when
%% Fuquay-Varina, NC % things were so uncomplicated?"
%%% 919-577-9882 % 'Ticket To The Moon'
%%%% <
[email protected]> % *Time*, Electric Light Orchestra
http://home.earthlink.net/~yatescr