SH2, HEW

embOS for SH2 was developed for and with Renesas' HEW compiler.
It comes with a ready to go start project that runs on a RENESAS SH7086 eval kit.

Resources and performance data

Memory usage
Kernel size (ROM) app. 4 Kbytes
Kernel RAM usage 51 bytes
RAM usage per task control block 32 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) 152 bytes
Timing
Context switch time 5.8 us @ 80MHz
Interrupt latency time 0
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. 20 µs (50 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 values given above were measured with embOS release build on an RH2 CPU running at 80 MHz.

embOSView screenshot currently not available for SH2

Available Emulators

  • Renesas

Additional information

RENESAS Web site for additional CPU info / support


Release notes

  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: RENESAS shc V9.01.00.001
Assembler: RENESAS asmsh V7.01.01.000
Librarian: RENESAS optlnk V9.02.00.000
Workbench: RENESAS HEW V4.02.00.022

Performance

  1. Task switch time
    tbd
  2. Interrupt latency for Fast interrupt
    tbd

New features

Version 3.52

  1. NONE, Initial release
    This initial release of embOS SH2 for HEW is based on embOS sources 3.52.

Improvements

NONE

Program corrections

Version 3.52a

  1. OS_Terminate() for XR libraries corrected
    OS_Terminate() in XR libraries might have failed and caused a system crash.
  2. Task stack for none debug builds corrected
    The initial end address of task stacks in the release and stack check libraries was set 1 word behind the defined stack space. Variables which were located behind the task stack might be overwritten.

Known problems / Limitations

NONE

Release history

Version Release date Short explanation
V3.52a 21. Sep 2007 Corrected version
V3.52 22. Aug 2007 Initial release, based on embOS V3.52

Miscellaneous

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