Quality RTOS & Embedded Software

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


Context Differences: IAR -- V850 vs GH -- RH850

Posted by d0miller on February 28, 2019

I have FreeRTOS 10 running on RH850 using Green Hills Multi, by modifying the IAR -- V850 demo. In the saving/restoring of context on task switch, the original code skips r25, unless tiny data model. Why? Is that IAR-specific? Does GH not use that register for any special purpose, so it's availble for general purposes by the application? The GH compiler is generating instructions that modify r25 in the application, so if it is not saved/restored on task switch, it will likely cause problems. Is adding it to the context unconditionally enough? Or do I need to find a way to prevent the compiler from generating applications that modify it?

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

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS v10.2.0 is available for immediate download. MIT licensed, and including RISC-V and ARMv8-M (Cortex-M33) demos.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers





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