Skip to main content
truf9
Associate III
May 15, 2007
Question

EMI Access

  • May 15, 2007
  • 3 replies
  • 704 views
Posted on May 15, 2007 at 08:58

EMI Access

This topic has been closed for replies.

3 replies

truf9
truf9Author
Associate III
May 17, 2011
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

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

Try:

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

*MemSrcAddressA = 42;

truf9
truf9Author
Associate III
May 17, 2011
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