Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

IRQ interrupt handling

Posted by Cyber Knight on April 2, 2006

The vector table in the boot.s of ARM7LPC2016, specifies a vector table, and for the IRQ interrupt its loading PC with

ldr pc, [pc,#-0xFF0]

What this actually does?

I have found the VIC memory mapping in the file lpc210x.h.

What will happen if there are multiple IRQ interrupts?

RE: IRQ interrupt handling

Posted by Nobody/Anonymous on April 2, 2006
This allows auto vectoring to the ISR by reading the address directly from the VIC. Please read the manual for the LPC2106 where this is explained.

RE: IRQ interrupt handling

Posted by Cyber Knight on April 2, 2006

Where can I get the manual?

RE: IRQ interrupt handling

Posted by Nobody/Anonymous on April 2, 2006
The philips WEB site.

RE: IRQ interrupt handling

Posted by Cyber Knight on April 2, 2006


Sir, I didn't find any reference to VECTDATA_IRQ defined in lpc210x.h in the manual.

Can u please tell for what this is used for?

Let me guess, when an IRQ occurs ,this line in boot.s
ldr pc, [pc,#-0xFF0] executes.

After that what happens?
What is placed in the address [pc,#-0xFF0] ?

The starting addresses of ISRs are placed in VectAdddrX ,right?

RE: IRQ interrupt handling

Posted by Nobody/Anonymous on April 2, 2006
Take a look at:
http://www.semiconductors.philips.com/acrobat/usermanuals/UM_LPC2106_2105_2104_1.pdf

Pages 70 and 218. This is where the code comes from.


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner