Hi, I want to read in my program, the data stored at a particular location in external ROM. How do I do that in 'C'? Regards Sonali
Does it really need to be a particular location in external ROM, or does it just need to be in ROM rather than RAM? Look up the following in the manual: Absolute Variable Location; * The _at_ keyword; * Memory-specific pointers; * Accessing Absolute Memory Locations; * Absolute Memory Access Macros; All the manuals are accessible via the 'Books' tab in the uVision Project window. See the thread "preset of a code-byte" http://www.keil.com/forum/msgpage.asp?MsgID=2645
Oops - forgot one: You'll also need to understand the Keil extended keywords for Explicitly Declared Memory Types (look up the manual section, "Explicitly Declared Memory Types")