 | Discussion Forum |  |
|
|
Direct memory adddressingNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Sonali Kale Posted 18-Jul-2001 06:54 GMT Toolset C251 |  Direct memory adddressing Sonali Kale 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 | | Read-Only Author Andrew Neil Posted 18-Jul-2001 09:06 GMT Toolset C251 |  RE: Direct memory adddressing Andrew Neil 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
| | Read-Only Author Andrew Neil Posted 18-Jul-2001 09:11 GMT Toolset C251 |  RE: Direct memory adddressing Andrew Neil 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") | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|