Hi: I have read one of the app note that keil provided "in-system flash programming" (http://www.keil.com/support/docs/2364.htm) and became confused. In my opinion, the uC core can only fetch instruction from rom or flash. But as the app note said, the code can be execuated in ram(using srom class). The way of copy the code from flash to ram can be easily understand, but how can it execuate there. In my opinion, the process of how to fetch instruction is only decided by the core construction, but not the complier or linker tools. what is the real instruction fetch mechanism about 51MCU. Is there any document related ? I do not know search what key point for this question. Thaks for your help.
aaa1982
I want to know how to map the RAM into the CODE space simple use a negative OR (same as a positive AND) of !PSEN and !RD to read the RAM. and if all of the MCU(such as C8051F series)support memory mapped? Memory mapped I/O (the usual meaning of 'memory mapped'), yes, but I do not think that is what you mean In other words, if I want to map the ram into code space, what MCU should I used? Any derivative with the ability to use external code memory (no C8051F (assuming you refer to SILabs) can)
Erik
PS WHY do you want to do this?