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 for Medical product on cypress psoc 5lp

Posted by itsvinu on November 24, 2016

Hi , We want to use freeRTOS on a medical product ( microcontroller PSOC 5LP ) . Our device is Class C , So we want to validate all tools used in the development , that will include FreeRTOS also . For the same purpose , Is there a unit test framework for freertos? if its there how can we access it ? And if not is there any way to validate FreeRTOS ? We tried to use SafeRTOS , but port on PSoC 5LP was not available .


FreeRTOS for Medical product on cypress psoc 5lp

Posted by rtel on November 24, 2016

Most FreeRTOS testing is done using dynamic system testing using files such as the following https://sourceforge.net/p/freertos/code/HEAD/tree/trunk/FreeRTOS/Demo/Common/Minimal/StaticAllocation.c, and using Visual Studio's cover coverage analysis tools to ensure we obtain the desired coverage. We aim to achieve complete branch coverage, not just statement coverage, which is why you will see the mtCOVERAGETESTMARKER() macro inserted as follows:

if( [codition] ) { [perform action] } else { mtCOVERAGETESTMARKER(); }

Adding mtCOVERAGETESTMARKER() allows us to ensure we have tests for when [condition] evaluates to both true and false. Normally mtCOVERAGETESTMARKER() is #defined to nothing, so it does not generate any code. When we are testing we define mtCOVERAGETESTMARKER() to a nop so the testing tools tell us if the line has been executed or not.

Although many people use FreeRTOS in medical applications, our tests are somewhat informal, so I assume they have their own tests or use a similar technique to ourselves.


[ 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