Hi, Is there any way to avoid having Interrupt Vector Table information in the output file generated using IAR workbench.? I tried to delete the INTVEC segment in the linker file but, the linker always looks for this segment and generates a error. Is there any way to over ride it? Any help in this regard is highly appreciated. Thanks in advance, Regards, Mohan S S --------------------------------- |
|

Using IAR Compiler for MC9s12DP256
Started by ●May 31, 2003
Reply by ●June 2, 20032003-06-02
You need to copy cstartup.s33 from its original installation folder to the current project folder, if you haven't already done so. Scan down thru the copied file until you find the section labeled COMMON INTVEC. I have modified this section myself to reduce the size of the vector segment from the IAR default of $80 to what my 812A4 uses, which is $40 (the RMB changes from 0x7E to 0x3E). While this is not exactly what you want to do the information should be extendable. Perhaps all you need to do is comment out this section of the file. Another idea would be to reduce the size to zero, or maybe one. Just make sure you add your modified cstartup.s33 file to the project, and at the bottom of your .xcl file, where it currently says "cl6812" add "-C " (note the space after the upper case C) to the beginning of that line so that the linker will use your modified startup instead of the default one. Hope this helps. -- DW ----- Original Message ----- From: mohan kumar <mailto:> To: Sent: Saturday, May 31, 2003 12:01 AM Subject: [68HC12] Using IAR Compiler for MC9s12DP256 Hi, Is there any way to avoid having Interrupt Vector Table information in the output file generated using IAR workbench.? I tried to delete the INTVEC segment in the linker file but, the linker always looks for this segment and generates a error. Is there any way to over ride it? Any help in this regard is highly appreciated. Thanks in advance, Regards, Mohan S S --------------------------------- -------------------- ">http://docs.yahoo.com/info/terms/> . |
|
Reply by ●June 4, 20032003-06-04
Hi Webb. Thank you for your information. The second option, "-C " did the trick and made things easier for me. Thnak you. Regards Mohan S S Dick Webb <> wrote: You need to copy cstartup.s33 from its original installation folder to the current project folder, if you haven't already done so. Scan down thru the copied file until you find the section labeled COMMON INTVEC. I have modified this section myself to reduce the size of the vector segment from the IAR default of $80 to what my 812A4 uses, which is $40 (the RMB changes from 0x7E to 0x3E). While this is not exactly what you want to do the information should be extendable. Perhaps all you need to do is comment out this section of the file. Another idea would be to reduce the size to zero, or maybe one. Just make sure you add your modified cstartup.s33 file to the project, and at the bottom of your .xcl file, where it currently says "cl6812" add "-C " (note the space after the upper case C) to the beginning of that line so that the linker will use your modified startup instead of the default one. Hope this helps. -- DW ----- Original Message ----- From: mohan kumar <mailto:> To: Sent: Saturday, May 31, 2003 12:01 AM Subject: [68HC12] Using IAR Compiler for MC9s12DP256 Hi, Is there any way to avoid having Interrupt Vector Table information in the output file generated using IAR workbench.? I tried to delete the INTVEC segment in the linker file but, the linker always looks for this segment and generates a error. Is there any way to over ride it? Any help in this regard is highly appreciated. Thanks in advance, Regards, Mohan S S --------------------------------- -------------------- ">http://docs.yahoo.com/info/terms/> . -------------------- --------------------------------- |
