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
- Tool chain used for build
- Performance
- New features
- Improvements
- Program corrections
- Known problems
- Release history
- 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
- Task switch time
tbd - Interrupt latency for Fast interrupt
tbd
New features
Version 3.52
- 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
- OS_Terminate() for XR libraries corrected
OS_Terminate() in XR libraries might have failed and caused a system crash. - 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.
SH2, HEW
