Quality RTOS & Embedded Software

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


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 ]    [ 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