hello,
Hi i am using code warrior. Earlier i was using MC9S12C128 microcontroller and due to the lack of memory we planned on using MC9S12XEQ512 controller ic. i replaced everything related to the new controller and made all possible chnages. the only error i am getting now is Linker Messages: L1108: Initializing of Vector <Name> failed because of <Reason>.
so for this what am i suppose to do?
thank you,
gopal
Hi
Here is the description and tips for L1108
Linker Messages: L1108: Initializing of Vector <Name> failed because of <Reason>
VECTORs
to point into a certain address range or have alignment constraints.Hii zhang,
I have attached the prm file which is containing error. So basically due to the memory issue we changed the controller from 128 to 512 so we did possible changes for that in our code now in this file its showing this vector startup failed error. So please go through my code an tell me what should I change.
Thank you
Gopal
Hi,
I suspect the problem is caused by the fact you placed Startup and even NON_BANKED sections into banked memory.
Interrupt vector table is composed from near pointers entries (2 bytes) so typically routines must be placed into non-banked memory.
so I'd suggest to enter change the placement for these sections in prm.
Hope it helps.
Stan