R32C, IAR

embOS for RENESAS R32C was developed for and with IAR's compiler and supports all memory models offered by this compiler.
embOS for R32C comes with an easy to use start project for an R32C CPU which may be used with IAR's Embedded Workbench.
Software development and debugging with E30A or E8a emulator using C-SPY as well as using the C-SPY simulator is supported.

Resources and performance data

Memory usage
Kernel size (ROM) approx. 1200 bytes
Kernel RAM usage 63 bytes
RAM usage per task control block 36 bytes
RAM usage per resource semaphore 16 bytes
RAM usage per counting semaphore 8 bytes
RAM usage per mailbox 24 bytes
RAM usage per software timer 20 bytes
RAM usage event 0 bytes
Min. stack-size per task (RAM) 64 bytes
Timing
Context switch time 438 clock cycles (9.1 µs), independent of number of tasks
Interrupt latency time max. 186 clock cycles (3.9 µs)
Kernel CPU usage/TICK less than .1% of total calculation time at 1000 Interrupts/second (1ms TICK)
Basic time unit (TICK) typ. 1 ms, min. 10 µs (100 kHz interrupt frequency)
Features
Max. no. of tasks Unlimited (by available RAM only)
Max. no. of mailboxes unlimited (by available RAM only)
Max. no. of semaphores (resource/binary/counting) unlimited (by available RAM only)
Max. no. of software timers unlimited (by available RAM only)
Max. no. of priorities 255
Stack size idle task (RAM) 0(no memory needed)
Nested interrupts permitted
Task switches from within ISR possible

Absolute data given above were measured with embOS release build on an R32C CPU running at 48MHz in NEAR data memory model.

embOSView offers system analysis during runtime

embOSView with Renesas R32C CPU

Available Emulators

  • RENESAS E30A
  • RENESAS E8a

Additional information

IAR Web site for additional compiler info / support
RENESAS Web site for additional CPU info / support


Release notes embOS V3.60d2 for R32C, IAR

  1. Tool chain used for build
  2. Performance
  3. New features
  4. Improvements
  5. Program corrections
  6. Known problems
  7. Release history
  8. Miscellaneous

Tool chain used for build

The following tools have been used:

Compiler:  IAR ICCR32C V1.30A
Assembler: IAR AR32C   V1.30A
Librarian: IAR XLIB    V4.61J
Workbench: IAR EWIDE   V5.4.0

Performance

  1. Task switch time
    Near memory model: 9.1 us = 438 cycles
  2. Interrupt latency, low priority interrupt
    Near memory model: 3.9 us = 186 cycles
  3. Interrupt latency, high priority (zero latency) interrupt
    Near memory model: 0.6 us = 30 cycles

Absolute timings are based on an R32C running at 48 MHz and release build library

New features

Version 3.60d2

  1. Update to IAR compiler version 1.30A
    The libraries compiled with IAR compiler version before 1.30A did not work correctly with malloc().

Version 3.60d

  1. Support for RSK32C111 evalboard
    embOS comes with a new sample start project for the RSK32C111 eval board which is setup to be used with the E8a emulator.
  2. Update to new embOS sources 3.60d
    All new features of embOS are listed in the generic release notes.

Version 3.60b

  1. Update to new embOS sources 3.60b
    All new features of embOS are listed in the generic release notes.
  2. Support for Renesas E30A emulator
    The embOS sample start project now is setup to be used with the E30A emulator.

Version 3.52a

  1. None.
    Initial version based on embOS sources version 3.52a

Improvements

Version 3.52a

  1. None.
    Initial version based on embOS sources version 3.52a

Program corrections

Version 3.60d1

  1. Function call from scheduler corrected
    The scheduler called an external function using a near call.
    Depending on the application and memory layout, this might have caused linkage failure.
    The problem existed in all previous versions of embOS for R32C and is corrected with version 3.60d1.

Version 3.52a

  1. None.
    Initial version based on embOS sources version 3.52a

Known problems / restrictions

Version 3.60d2

  1. None.
    Current version of embOS comes with all libraries. The restiction to near memory model libraries in the trial version was lifted.

Release history

Version Release date Short explanation
V3.60d2 03. July 2009 Update to IAR compiler version 1.30A
V3.60d1 26. Feb 2009 Updated version
V3.60d 20. Jan 2009 Updated version
V3.60b 07. Mar 2008 Updated version
V3.52a 10. Oct 2007 Initial version

Miscellaneous

This document was first released with version 3.52a of the software.
Software released earlier is documented internally. This information is available at request.