Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/07/02 08:35
Read: times


 
#19488 - RE: Swap RAM and ROM in a Single Addr. S
Ivan Stamenkovic wrote:
-------------------------------

Ok, how to force C compiler / linker (Keil) to produce code beginning at (say) 8000h?

I use it only on the command line:

C51 ... INTVECTOR(0x8000)

L51 ... CO(8000H)
On the IDE there must be some menu points similiar to it.


I used also memory switching on some of my projects. To avoid malfunction I use the following approach.
there is a 3th memory area which was always on the same address independent from any switching signal. The code to switch the other memory devices, was executed only in this 3th memory. So the affected memory devices always disabled during switching.

As suggested hold in reset during switching seems also reliable, but then switching can not be made by software.


Peter


List of 17 messages in thread
TopicAuthorDate
Swap RAM and ROM in a Single Addr. Space            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. Space            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. S            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. Space            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. Space            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. S            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. Space            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. S            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. Space            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. S            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. S            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. S            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. Space            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. S            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. Space            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. S            01/01/70 00:00      
RE: Swap RAM and ROM in a Single Addr. S            01/01/70 00:00      

Back to Subject List