Need help about exception vectors table.

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

Need help about exception vectors table.

1,912 Views
tjulsm
Contributor I
I am a student that is studying the MCF52233 demo, But I just can't find the detail of Exception vectors assignments of vectors from 64-255. Who can tell me ,just where to find the correlative document about it. Thanks!
Labels (1)
0 Kudos
Reply
2 Replies

609 Views
sjmelnikoff
Contributor III
Have a look in the reference manual, in the Interrupt Controller section.
0 Kudos
Reply

609 Views
mjbcswitzerland
Specialist V
Hi

Yes all details are there (section 15.3.6.1) but you will also have to match the interrupt masks to the exceptions (IC_IMRL_0, IC_IMRH_0, IC_IMRL_1, IC_IMRH_1). Here is a list of the exceptions - and gaps in the list are reserved exception locations (IRQs are also known as Edge Ports):

    #define IRQ1_VECTOR         0x41    #define IRQ2_VECTOR         0x42    #define IRQ3_VECTOR         0x43    #define IRQ4_VECTOR         0x44    #define IRQ5_VECTOR         0x45    #define IRQ6_VECTOR         0x46    #define IRQ7_VECTOR         0x47    #define SW_WD_VECTOR        0x48    #define DMA0_VECTOR         0x49    #define DMA1_VECTOR         0x4a    #define DMA2_VECTOR         0x4b    #define DMA3_VECTOR         0x4c    #define UART0_VECTOR        0x4d    #define UART1_VECTOR        0x4e    #define UART2_VECTOR        0x4f    #define IIC_VECTOR          0x51    #define QSPI_VECTOR         0x52    #define DTIM0_VECTOR        0x53    #define DTIM1_VECTOR        0x54    #define DTIM2_VECTOR        0x55    #define DTIM3_VECTOR        0x56    #define FEC_TX_F_VECTOR     0x57    #define FEC_TX_B_VECTOR     0x58    #define FEC_TX_UND_VECTOR   0x59    #define FEC_COLL_VECTOR     0x5a    #define FEC_RX_F_VECTOR     0x5b    #define FEC_RX_B_VECTOR     0x5c    #define FEC_MII_VECTOR      0x5d    #define FEC_LATE_VECTOR     0x5e    #define FEC_HB_VECTOR       0x5f    #define FEC_STOP_VECTOR     0x60    #define FEC_BERR_VECTOR     0x61    #define FEC_BAB_TX_VECTOR   0x62    #define FEC_BAB_RX_VECTOR   0x63    #define EPHY_VECTOR         0x64    #define GPT_TOF_VECTOR      0x69    #define GPT_PAIF_VECTOR     0x6a    #define GPT_PAOVF_VECTOR    0x6b    #define GPT_C0F_VECTOR      0x6c    #define GPT_C1F_VECTOR      0x6d    #define GPT_C2F_VECTOR      0x6e    #define GPT_C3F_VECTOR      0x6f    #define PMM_LVDF_VECTOR     0x70    #define ADC_ADCA_VECTOR     0x71    #define ADC_ADCB_VECTOR     0x72    #define ADC_ADCINT_VECTOR   0x73    #define PWM_INT_VECTOR      0x74    #define RNGA_VECTOR         0x75    #define PIT0_VECTOR         0x77    #define PIT1_VECTOR         0x78    #define CFM_CBEIF_VECTOR    0x7b    #define CFM_CCIF_VECTOR     0x7c    #define CFM_PVIF_VECTOR     0x7d    #define CFM_AEIF_VECTOR     0x7e    #define RTC_VECTOR          0x7f    #define CAN0_VECTOR         0x88    #define CAN1_VECTOR         0x89    #define CAN2_VECTOR         0x8a    #define CAN3_VECTOR         0x8b    #define CAN4_VECTOR         0x8c    #define CAN5_VECTOR         0x8d    #define CAN6_VECTOR         0x8e    #define CAN7_VECTOR         0x8f    #define CAN8_VECTOR         0x90    #define CAN9_VECTOR         0x91    #define CAN10_VECTOR        0x92    #define CAN11_VECTOR        0x93    #define CAN12_VECTOR        0x94    #define CAN13_VECTOR        0x95    #define CAN14_VECTOR        0x96    #define CAN15_VECTOR        0x97    #define CANERR_VECTOR       0x98    #define CANBOFF_VECTOR      0x99    #define IRQ8_VECTOR         0xa0    #define IRQ9_VECTOR         0xa1    #define IRQ10_VECTOR        0xa2    #define IRQ11_VECTOR        0xa3    #define IRQ12_VECTOR        0xa4    #define IRQ13_VECTOR        0xa5    #define IRQ14_VECTOR        0xa6    #define IRQ15_VECTOR        0xa7

 
Also take a look at the uTasker project. It is completely free for educational use, including full support. It includes all code that you require and a M5223X simulator which will enable testing and easier learning on a PC without the need for hardware. It has its own forum for most up to date information about its development (http://www.uTasker.com/forum/ )

Regards

Mark

www.uTasker.com


0 Kudos
Reply