L1119 Error

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi;
I wrote a code for MC9S12C128 micro-controller two years ago, now I need those code again and tried to run it, it gave me strange error. By googleing it I couldn't solve it.
Why I have this error, since this code worked fine before?
The error is:
Link Error: L119: Vector allocated at absolute address 0xFFFE overlaps with sections placed in segment. absSeg221
Link Error: Link failed
please help me how can i fix it.
Thanks;
Sb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sb,
I suspect that your reset vector is specified in two places, in a vector table within your code, and also within the PRM file. If this is the case, comment out the entry in the PRM file.
Regards,
Mac

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for response.
where is PRM file? could you tell me more specific?
Best;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found PRM folder,there are two files with prm extension. did you talk about these files? then what do u mean by comment it?
There is only one reset vector defined...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The file project.prm is the one of interest. At the end of the file, there should be a line containing something like the following entry:
VECTOR 0 _Startup /* Reset vector: this is the default entry point for an application. */
Modify this as follows, so that the line is treated as a comment only.
//VECTOR 0 _Startup /* Reset vector: this is the default entry point for an application. */
This is often preferred to removing the line altogether, so that it remains apparent where the standard file has been edited.
Regards,
Mac

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got you. Thanks Mac
