9S08jm60 to jm32 migration problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

9S08jm60 to jm32 migration problem

2,114 Views
S_B_D
Contributor I
Hi All,
Finished a project on the jm60 64 pin LQFP and now I would like to migrate to the smaller JM32 part (also 64 LQFP).
this is the linker error I get:
 
Link Error   : L1119: Vector allocated at absolute address 0xFFFE overlaps with sections placed in segment .absSeg150

Link Error   : Link failed
 
 
How can I fix this linker problem?
 
Thanks,
S.B.D 
Labels (1)
0 Kudos
Reply
4 Replies

1,096 Views
CrasyCat
Specialist III
Hello
 
Just remove the command
  VECTOR 0 _Startup
or
  VECTOR ADDRESS 0xFFFE _Startup from your .prm file.
It looks like you did define the reset vector some other way in the source code,.
 
CrasyCat
0 Kudos
Reply

1,096 Views
S_B_D
Contributor I
Thanks CrasyCat,
 
Will give it a go in the morning and post the results.
 
S.B.D
0 Kudos
Reply

1,096 Views
S_B_D
Contributor I
Hello CrasyCay,
As you said, removing the Vector 0 _startup from the .prm file did the trick.
 
Could you please explain a bit more (as my programming skills are higher level...) what I removed and why it's linking now..
 
Thanks for your help!
 
S.B.D
0 Kudos
Reply

1,096 Views
CrasyCat
Specialist III
Hello
 
VECTOR 0 _Startup is initializing memory at 0xFFFE-0xFFFF with address of function _STartup.
Depending on how your application is build up, you may already initialize this vector table entry in your application (either with a constant table of function pointers or specifying a vector number together with the interrupt keyword.
 
If you look at the .map file generated by the linker you should be able to figure out what is allocated at 0xFFFE-0xFFFF.
 
I hope this helps.
 
CrasyCat
0 Kudos
Reply