Change the interrupt vector table address in Freemaster driver code

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

Change the interrupt vector table address in Freemaster driver code

804 Views
chenq
Contributor I

how to change the Vector Table in CodeWarrior, the Freemaster Driver version is "FreeMASTER_Serial_Communication_Driver_V2.0 "   CodeWarrior 5.2

integration the Freemaster Driver into my application project code,but the vector table in  my project is located in 0xBF** not  0xFF** , allocate the adrees ffb2 to CAN interrupt adress in default, how to change it?

*freemaster_cfg.h -----------------------------------------------------

#define FMSTR_CAN_BASE 0x140 /* MSCAN base on S12G128 */
#define FMSTR_CAN_RX_INTERRUPT 38 /* HC12 only, MSCAN RX interrupt number (use PRM if not defined) */
#define FMSTR_CAN_TX_INTERRUPT 39 /* HC12 only, MSCAN TX interrupt number (use PRM if not defined) */

***Project.map ---------------------------------------------------

 MODULE: -- freemaster_HC12.c.o --
- PROCEDURES:
FMSTR_CopyToBuffer E8D59 21 33 8 .text
FMSTR_CopyFromBuffer E8D7A 21 33 6 .text
FMSTR_CopyFromBufferWithMask E8D9B 42 66 2 .text
FMSTR_Isr C58C 5 5 1 NON_BANKED
FMSTR_Isr2 C591 5 5 1 NON_BANKED
- VARIABLES:
_Vector_38 FFB2 2 2 0 .abs_section_ffb2
_Vector_39 FFB0 2 2 0 .abs_section_ffb0

Labels (1)
0 Kudos
Reply
0 Replies