For users of the Atmel AT91SAM7 and AT91SAM9 ARM CPU chips. Atmel has taken a new direction by combining on chip flash and ram with the ARM CPU on a single die. This provides low cost devices for small systems using the ARM CPU.
This group is to exchange information to help users get started and learn how to use the devices.
Hi Bekir
> I have almost memorized the ARM Technical Manual but I couldn't find the answer
there.
> Let me explain where I am confused in a bit more detail:
>
> At power on the code will be copied from flash to the address 0x0 which is a remap of
0x300000 (internal sram).
> I want this code to be in I-TCM. So theoretically I should show this 0x0 as my base
address to I-TCM.
> But what I don't understand is, as soon as I enable I-TCM, SRAM will be unavailable.
> How would this work?
IIRC, the "remap" does not apply to the TCM. So you need to tell the
core to place TCM at 0 and its size, after this tell the MPU
(peripheral) about the TCM mapping. Now you should see TCM at 0.
But I guess switching should be done outside this area.
Note: Since TCM is TC :-) it is not due to MMU mapping and will overlay
any memory at this place.
--
42Bastian
Note: SPAM-only account, direct mail to bs42@...
------------------------------------

(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )