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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/28/04 22:01
Read: times


 
#65691 - RE: Overlaying programs with Keil C
Responding to: ???'s previous message
Hi

Erik:

I mean that, reset vector at adress 0x0000 should be moved to same other adress. This new adress
shoud be called from main program which have reset vector at 0x0000.

Michael:

Your messagge helps a lot.

I have found a solution which is :
a) Targed1/Options/BL51 Locate
Use Memory layout From Targed dialog : ON
Code Range : set to NewVect (0x?????)
b) Change CSEG AT 0x0000 to NewVect AT 0x???? in files STARTUP.A51 and INIT.A51
c) In NewPgm.c set #define NOINTVECTOR //(Program exclude interrupt vectors except reset vector)

Thanks you for help!

Iztok


List of 4 messages in thread
TopicAuthorDate
Overlaying programs with Keil C            01/01/70 00:00      
   RE: Overlaying programs with Keil C            01/01/70 00:00      
   RE: Overlaying programs with Keil C            01/01/70 00:00      
   RE: Overlaying programs with Keil C            01/01/70 00:00      

Back to Subject List