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

Porting FreeRTOS with limited hardware access

Posted by tahirnaseer on November 19, 2014

Hi, I am forced to use FreeRTOS on a processor with limited access through an API for real-time routines. This means that I cannot get direct contact with interrupts etc. Can I get some hints to solve the issue? The following are the functions which I can use.

• FUNCInit (void) Initializes the Real-Time-Kernel module and set up a free running counter with a resolution of 1us. • FUNCStartTime (datatype4 ˚const timestamp) Returns a timestamp. • datatype4 FUNCGetTimeUS (datatype4 timestamp) Returns the passed time. • FUNCPeriodicInit (datatype2 period, VAREVENTHANDLER eventhandler) Initializes the Periodic Timer. • FUNCPeriodicDeInit (void) Deinitializes the Periodic Timer and stops it. • FUNCInitDateAndTime (void) Initializes the external Real-Time-Kernel device for date and time operations. • FUNCGetDateAndTime (datatype1 ˚const seconds, datatype1 ˚const minutes, datatype1 ˚const hours, datatype1 ˚const days, datatype1 ˚const months, datatype1 ˚const years) Returns the date and time of the real time clock. • FUNCSetDateAndTime (datatype1 seconds, datatype1 minutes, datatype1 hours, datatype1 days, datatype1 months, datatype1 years) Sets the date and time of the real time clock. • FUNCGetDateAndTimeStatus (void) Gets the status of the external Real-Time-Kernel device. • FUNC_DeInitDateAndTime (void) Deinitializes the external Real-Time-Kernel device.


Porting FreeRTOS with limited hardware access

Posted by rtel on November 19, 2014

I'm not sure what you are trying to do. Are you trying to create a port for this CPU, with only access to these functions? To create a port you would need to be able to install a handler on the timer interrupt, as well as generate interrupts yourself. What are the functions you posted for and where did they come from?

Regards.


Porting FreeRTOS with limited hardware access

Posted by tahirnaseer on November 20, 2014

It is for a safety certified controller where the access to the interrupts and other low level artifacts is not possible. The only thing in hand is the functions mentioned above.


Porting FreeRTOS with limited hardware access

Posted by rtel on November 20, 2014

Do you know what core is used by the controller? For example, is it an ARM Cortex-M? Regards.


[ 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