Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

freeRTOS using software interrupt

Posted by Nishant Agrawal on November 17, 2010
Hi guys,

I was going through the documentation of freeRTOS and found out that the it uses software interrupt 0. To integrate it with my existing drivers I will need to add other software interrupts as well. Is there any modification that can be done to add the other software interrupts. I tried integrating the code from portASM.s to SWI.s from Keil but was unsuccessfull.

Can I get any ideas on how to add other software interrupts.

Thanks in advance.

With regards,
Nishant

RE: freeRTOS using software interrupt

Posted by Richard on November 17, 2010
I'm guessing it was you that posted this to the LPC2000 Yahoo group, where I replied. In addition to my reply there I think the SWI parameter is encoded into the SWI instruction itself (from memory, its been a while since I looked at that) so you have to look at the interrupt return address to find the instruction, and mask of the low nibble. Something like that anyway - I use a lot of different processors so I would have to check the manual to be sure if I was talking about the right one.

Regards.

RE: freeRTOS using software interrupt

Posted by Nishant Agrawal on November 18, 2010
Thank you Richard for your advice. Yes I am the same person. I think being able to implement other software interrupts will add a lot of power to the already existing abilities to freeRTOS port of ARM. The other thing I would be trying to modify is to reduce or if possible remove the conditions where interrupts are being disabled and implement all such critical regions in software interrupts because according to my understanding disabling interrupts might introduce spurious interrupts. I would be very grateful if you could advice me.


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




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists