I'm in the process of learning the LPC2106 as well as the I2C format. I downloaded a sample from Philips and it has the interurupt vector table listed below. Can anyone tell me where it goes? I'm using CrossStudio and I would think it would go in a seperate file but I'm not sure. Thanks, Dewayne ; --------------------------------------------------------- ; Assembler Directives ; --------------------------------------------------------- AREA IVT, CODE ; New Code section CODE32 ; ARM code IMPORT start ; start symbol not ; defined in this ; section Entry ; Defines entry point ; --------------------------------------------------------- LDR PC, =start LDR PC, Undefined_Addr LDR PC, SWI_Addr LDR PC, Prefetch_Addr LDR PC, Abort_Addr NOP LDR PC, [PC, #-0xFF0] LDR PC, FIQ_Addr Undefined_Addr DCD Undefined_Handler SWI_Addr DCD SWI_Handler Prefetch_Addr DCD Prefetch_Handler Abort_Addr DCD Abort_Handler FIQ_Addr DCD FIQ_Handler ; --------------------------------------------------------- ; Exception Handlers ; --------------------------------------------------------- ; The following dummy handlers do not do anything useful in ; this example. They are set up here for completeness. Undefined_Handler B Undefined_Handler SWI_Handler B SWI_Handler Prefetch_Handler B Prefetch_Handler Abort_Handler B Abort_Handler FIQ_Handler B FIQ_Handler END
Message
Another Newbie Question
2006-03-18 by heedaf
Attachments
- No local attachments were found for this message.