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

interrupt

Posted by Mohammed Abuteir on July 14, 2010
As every ones knows the scheduler of FreeRTOS disable all the interrupt till the end of all tasks. The question is: should be some mouthed if any interrupt come brake the scheduler of FreeRTOS and after that return bake to the scheduler?
Thank you very much
Mody

RE: interrupt

Posted by Richard on July 14, 2010
“As every ones knows the scheduler of FreeRTOS disable all the interrupt till the end of all tasks.”


No it doesn't. Some ports never disable all interrupts at all.

Regards.

RE: interrupt

Posted by Mohammed Abuteir on July 14, 2010
thank you for your answer, that mean : when run the scheduler of FreeRTOS I can do the Interrupt if that true how??

Regards.

Mody

RE: interrupt

Posted by Richard on July 14, 2010
Sorry I cannot give you a clear answer because it is not clear to me what you are asking. What is is you want to do? Which processor are you using? Which compiler are you using?

Regards.

RE: interrupt

Posted by Adam Turowski on July 14, 2010
FreeRTOS uses only one interrupt (usually a timer) to provide a tick signal to FreeRTOS scheduler. It doesn't care about the rest of interrupts, so they can be used by your application.

How to use them? Look at FreeRTOS function calls ending with ISR i.e. xSemaphoreGiveFromISR

Hope that helps,
Adam

RE: interrupt

Posted by Mohammed Abuteir on July 15, 2010
I am using ATMega323 from AVR and using GCC software. If you can clear for me: how can do the interrupt (ISR) for Timer/account 2 during run the scheduler of FreeRTOS.

Note: the FreeRTOS using the Timer1.

Thank you for your answer.

RE: interrupt

Posted by Dave on July 15, 2010
Can you not copy how Timer1 is used, and copy the UART example. I think the WinAVR manual and the "how FreeRTOS works" section of the FreeRTOS site provide lots of information specific to the AVR too.


[ 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