cancel
Showing results for 
Search instead for 
Did you mean: 

EMI Access

truf9
Associate II
Posted on May 15, 2007 at 08:58

EMI Access

3 REPLIES 3
truf9
Associate II
Posted on May 17, 2011 at 09:41

Hello,

how can I define a variable which should be located in external RAM.

Best regards

Thomas

sarao
Associate II
Posted on May 17, 2011 at 09:41

Try:

int * MemSrcAddressA = (int *)0x3C000000; // Ext. Mem CS0

*MemSrcAddressA = 42;

truf9
Associate II
Posted on May 17, 2011 at 09:41

Hello,

now I know how to initialise, read and write data from an external RAM.

In the Keil-uVision you have to tell the linker the address of the external ram. Than you can assign an C-source to RAM1, which is located at [0x2C000000-0x2C07FFFF].

Regards

Thomas