ITRON Wrapper for T-Kernel

I-right /TK®

Wrapper for ITRON Programs Running on T-Kernel"I-right/TK"(ITRON Wrapper for T-Kernel) enables a lot of your developed
ITRON programs for embedded systems to work with the device drivers andmiddleware for T-Kernel.
Replacing the API(Application Programming Interface)( 1) of ITRON withthe counterpart of T-Kernel, "I-right/TK" enables to use the ITRON API onT-Kernel, which API is almost compatible with the full set of µITRON 4.0.
By "I-right/TK", application tasks on ITRON can work together withapplication tasks, device drivers and middleware(including File System,TCP/IP) on T-Kernel. For example, you can enhance the ITRON-sidefunctions with the use of the device drivers and middleware for T-Kernel.
You can also enhance the T-Kernel-side functions by using the programsfor ITRON.
Application for T-Kernel

Real-Time Application for ITRON
ITRON
Handler

ITRON Tasks

System Call&Connection

C Language
Process

Micro Script

Middleware (PMC T-Shell, etc.)

ITRON API
I-right/TK (ITRON Wrapper for T-Kernel)

Device Drivers

T-Kernel ExtensionµT-Kernel 2.0 / T-Kernel 2.0
Functions and Software Diagram of "I-right/TK"Standard Price

20,000yen(Tax not included)（ 1）API, a specification of interface describes how an application program calls and uses OS-provided functions. T-Kernel API and µITRON 4.0 API arenearly equal on a conceptual level. But, the formats and details of each APIs are different.
（ 2）There are some restrictions and differences in specifications. For details, please refer to ( 3) of the back side of this brochure.

Features of "I-right /TK"®

Function・You can execute the programs for ITRON-based embedded
systems on the next generation standard RTOS "T-Kernel" withminimum modifications. If you are an engineer who is accustomed
to ITRON, "I-right / TK" can be also used for developing new
programs on T-Kernel.
・To keep the real time per formance of ITRON and T-Kernel,"I-right/TK" is implemented as a wrapper, not an emulator by avirtualization software. The light API wrapper runs on T-Kernel.
・T-Kernel supports a lot of commercially available 32-bit CPUs.
Thanks to the results of T-Kernel, you can execute the programsfor ITRON on many CPUs.
・You can develop the programs by Eclipse, an open-source
GUI-based integrated development environment. With "Eclipse for
PMC T-Kernel", you can also develop the programs for ITRON.

Task Management Functions

Task Exception
Handling Functions（ 3）Service call management functions are not supported. As for Task
exception handling functions, Interrupt management functions, System
configuration management functions and Data queues, some functions
are not supported. Regarding the supported functions and API, there
are some restrictions and differences in specifications.
ExtendedSynchronization
andCommunication
Functions

Memory PoolManagement
FunctionsSupported Models
T-Kernel 2/x86 Evaluation Kit, Teacontroller,
T2 & µT2 Reference Kit, µTeaboard 2.0,
Teamacaron, Teaboard2/ARM920-MX1,
each model of T-Engine Development Kit

Standard Price(Tax not included)Standard Price(Tax not included)

Semaphore

CRE_SEM

Event Flag

CRE_FLG

Data Queue

CRE_DTQ

Mailbox

CRE_MBX

Mutex

CRE_MTX

Time
Management
Functions

Message
Buffer

CRE_MBF

Rendezvous

CRE_POR

Fixed-Sized
Memory Pool

CRE_MPF

37,000yen
95,000yen

Please contact PMC Sales Division

The best embedded board for real-time control & replacement of industrialequipment. The best way to utilize legacy programs for ITRON.

act_tsk/iact_tsk
sta_tsk
can_act
ext_tsk
ter_tsk
chg_priget_prislp_tsktslp_tsk
wup_tsk/iwup_tsk
can_wuprel_wai/irel_wai
sus_tsk
rsm_tsk
frsm_tsk
dly_tsk

cre_tsk
acre_tsk
del_tsk
exd_tsk

ras_texdis_texdef_texena_texsns_texsig_sem/isig_sem cre_sem
wai_sem
acre_sem
pol_sem
del_sem
twai_sem
set_flg/iset_flg
clr_flg
wai_flg
pol_flg
twai_flg
snd_dtq
psnd_dtq/ipsnd_dtq
tsnd_dtq
rcv_dtq
prcv_dtq
trcv_dtq

ref_tsk
ref_tstref_tex

ref_sem

cre_flg
acre_flg
del_flg

ref_flg

cre_dtq
acre_dtq
del_dtq

ref_dtq

snd_mbx
rcv_mbx
prcv_mbx
trcv_mbx

cre_mbx
acre_mbx
del_mbx

ref_mbx

loc_mtx
ploc_mtx
tloc_mtx
unl_mtx

cre_mtxacre_mtx
del_mtx

ref_mtx

cre_mbf
acre_mbf
del_mbf

ref_mbf

cre_poracre_pordel_por

ref_porref_rdv

cre_mpf
acre_mpf
del_mpf

ref_mpf

cre_mplacre_mpl
del_mplref_mplsnd_mbf
psnd_mbf
tsnd_mbf
rcv_mbf
prcv_mbf
trcv_mbf
cal_por
tcal_por
acp_por
pacp_portacp_por
fwd_por
rpl_rdv
get_mpf
pget_mpf
tget_mpf
rel_mpf

Variable-Sized
CRE_MPL
Memory Pool

get_mplpget_mpl
tget_mpl
rel_mpl

System TimeManagement

set_tim
get_timCyclic Handler CRE_CYC

sta_cyc
stp_cyccre_cycacre_cyc
del_cyc

ref_cyc

Alarm Handlers CRE_ALM

sta_alm
stp_alm

cre_alm
acre_alm
del_alm

ref_alm

OverrunHandlers

sta_ovr
stp_ovr

def_ovr

ref_ovr

DEF_OVR

rot_rdq/irot_rdq
get_tid/iget_tid
loc_cpu/iloc_cpu
unl_cpu/iunl_cpu
dis_dspena_dspsns_ctx
sns_loc
sns_dspsns_dpn

System StateManagement Functions

Related ProductI-right® Engine
I-right Engine / µTeaboard
I-right Engine / Teacontroller
I-right Engine / TKx86

DEF_TEX

Synchronization
andCommunication
Functions・"I-right Engine"("I-right/TK" + Hardware) is also available. Threekinds of hardware ( µTeaboard, Teacontroller or TK x86 ) areavailable, according to the purpose, performance and scale of yourdevice.

Screenshot of Eclipse-based Development Environment for ITRON Programs

CRE_TSK

Task Dependent
Synchronization Functions

・On T-Kernel, you can use the API, almost compatible with the fullset of µITRON 4.0 ( 3 ) . You can also use the characteristic
functions of µITRON 4.0 like Static API.
・Your ITRON programs can collaborate with many device drivers
and middleware for T-Kernel. For example, you can easily develop
the system by the combination of your ITRON programs andTCP/IP, File system, Graphic function for T-Kernel.

Generation, State
Static API General Operation DynamicDeletion
Reference

Interrupt Management Functions

DEF_INH
ATT_ISR

System Configuration
Management Functions

ATT_INI

dis_int
ena_int

ref_sys

def_inhcre_isr
acre_isr
del_isr

ref_isr
ref_cfg
ref_ver

Available Service Calls of µITRON 4.0 on "I-right/TK"

Personal Media Corporation
Koizumi Bldg. 1-29-1 Nishi-Gotanda, Shinagawa-ku, Tokyo 141-0031 Japan
E-mail: te-sales@personal-media.co.jp
http://www.personal-media.co.jp/
Tel: +81-3-5759-8305
Fax: +81-3-5759-8306■TRON is an abbreviation of "The Real-time Operating System Nucleus".
■TRON, T-Engine, T-Monitor, T-Kernel and µT-Kernel are specified terms for computers, and are notproduct names.
■"I-right" is a registered trademark of Personal Media Corporation.
■All product names are trademarks or registered trademarks of their respective owners.
■Due to continued product upgrade or enhancement, the information in this document is subject to change
without notice.

PM185-P01-05E.1411