TOPPERS TECS WG 2014

Download TOPPERS TECS WG 2014

Post on 28-May-2015

4.114 views

Category:

Software

4 download

Embed Size (px)

DESCRIPTION

TECS: TOPPERS Embedded Component System In this document we provide you the outline of

TRANSCRIPT

<ul><li> 1. 1 TECS TECS WG TOPPERS TECS WG 2014/06/24 </li></ul> <p> 2. 2 TECS TECS 2014/06/24 3. TECS TECS TOPPERS Embedded Component System TECS 1) C 2) TOPPERS OS 3) I/F 32014/06/24 4. TECS 1) C ID() TECS () TECS signature C TECS 42014/06/24 5. TECS 2) TOPPERS RTOS cfg, oil factory ( celltype ) ex) act_tsk activate () ROM TOPPERS/HRP2 52014/06/24 6. 6 tTask tCycHdr tTask MainTask cMain eMain tSampleMain SampleMain cTask[0] cTask[1] cTask[2] cCyc eT tTask Task0 cMain eT tTask Task1 cMain eT tTask Task2 cMain eC tCycHdr CycHdr cHdlr eMain tSubMain SubMain cSysMain eMain tCycMain CycMain ciSys sTask sCyc sMain sMain sMain eSystem eiSystem tKernel ToppersAsp sSystem siSystem sample1.c TECS sample1 () 2014/06/24 7. KernelDomainUserDomain2UserDomain1 KernelDoamin 7 tTask MainTask cMain eMain tSampleMain SampleMain cTask[0] cTask[1] cTask[2] cCyc eT tTask Task0 cMain eT tTask Task1 cMain eT tTask Task2 cMain eC tCyclicHandler CyclicHandler cHdlr eMain tSubMain SubMain cSysMain eMain tCyclicMain CyclicMain ciSys sTask sCyc sMain sMain sMain eSystem eiSystem tKernel ToppersAsp sSystem siSystem TOPPERS/HRP2 +TECS sample1 () eMain tSubMain SubMain cSysMain TECS domain 2014/06/24 8. TECS 3) I/F RPCPlugin, OpaqueRPCPlugin mruby TECS MrubyBridgePlugin mruby TECS 82014/06/24 9. C++TECS 9 C C++ C C C++ TECS RPC, TRACE C++ TECS TECS 2014/06/24 10. TECS C++ 102014/06/24 TECS C++ () () ) (ROM ) const (ROM ) ( ) () (C) (C / C++ ) 11. 11 TECS TECS 2014/06/24 12. TECS TECS CDL () (signature) (celltype) (cell ) C C 122014/06/24 13. 13 TECS CDL TECS CDL() TECS RPC App File sFile signature sFile { ER open( [in,string]char_t * fileName, [in]int16_t mode); ER close(void); ER read( [out,size_is(length),count_is(*count)]int8_t * buffer, [in]int32_t length, [out]int32_t *count); ER write( [in,size_is(length)]int8_t *buffer, [in]int32_t length, [out]int32_t *wroteLength); ER seek( [in]int32_t offset); }; 2014/06/24 [ ] C in, out size_is, count_is, string 14. 14 TECS CDL TECS CDL() TECS RPC App File sFile cCallPort eEntryPort celltype tApp{ // (call) call sFile cCallPort; }; 2014/06/24 celltype tFile{ // (entry) entry sFile eEntryPort; attr { // int 16_t buffer_len = 512; }; var { // () [size_is(buffer_len)] int8_t *buffer; int fd; // }; }; ( ) () 15. 15 TECS CDL TECS CDL() TECS RPC App File sFile cCallPort eEntryPort // cell tFile File{ buffer_len = 64; // }; cell tApp App{ // cCallPort = File.eEntryPort; }; 2014/06/24 () . (ROM ) 16. 16 C TECS CDL() TECS RPC 2014/06/24 App File sFile eEntryPort TECS cCallPort [tFile.c] #include tFile_tecsgen.h // ()_() ER eEntryPort_open( ) { } ER eEntryPort_close() : 17. 17 C TECS CDL() TECS RPC App File sFile cCallPort eEntryPort tecsmerge signature 2014/06/24 [tFile.c] #include tFile_tecsgen.h // ()_() ER eEntryPort_open( ) { } ER eEntryPort_close() : 18. 18 TECS CDL() TECS TECS RPC App File sFile cCallPort eEntryPort TECS ROM () RAM RAM 2014/06/24 19. SimpleSmaple *svn co http://dev.toppers.jp/svn_user/contrib/TECS- SimpleSample/tags/SimpleSample-20120707 (http://dev.toppers.jp/trac_user/contrib/browser/TECS- SimpleSample/tags/SimpleSample-20120707) cygwin (gcc ) tecs_package (README.txt ) SimpleSampleTrace TracePlugin SimpleSampleTransparentRPC RPCPlugin SimpleSampleOpaqueRPC OpaqueRPCPlugin 192014/06/24 20. 20 TECS TECS 2014/06/24 21. TECS 21 ASP+TECS ATK1+TECS Opaque RPC ET RTC puppy NEP stm32 HW 2007 2008 2009 2010 2011 201220042006 2013 through SSP+TECS HRP2+TECS TECS Transparent RPC TECS+mruby ET 2014 2015 2014/06/24 22. 22 TOPPERS/ASP+TECS ET MINDSTORMS NXTTOPPERS/ASP+TECS STM32 Primer2 TOPPERS/ATK1+TECS TECS RPC TOPPERS/ASP+TECS+mruby URL http://www.toppers.jp/tecs.html 2014/06/24 23. 23 TOPPERS/HRP2+TECS MINDSTORMS EV3TOPPERS/HRP2+TECS TOPPERS/SSP+TECS () GUI SW+HW TINET, FatFs, USB 2014/06/24 24. 24 TECS TECS 2014/06/24 25. TOPPERS/ASP+TECS () API(.cfg) CDL signature tTask { ER activate(void); ER_UINT cancelActivate(void); ER terminate(void); ER changePriority([in] PRI priority); ER getPriority([out] PRI *p_priority); }; inline syslog 252014/06/24 26. RPC RPC Remote Procedure Call TECS RPC Transparent RPC TOPPERS/FMP RPC Opaque RPC RPC TECS RPC through signature (TECS through, signature, celltype, cell ) 262014/06/24 27. 27 MINDSTORMS NXT TOPPERS/ASP+TECS ET MINDSTORMS NXT 2013 bluetooth NXT MacOS Opaque RPC Inteface 20117 http://www.toppers.jp/etrobo-asp.html 2014/06/24 28. TECS+mruby mruby VM TECS .rb .mrb mruby VM POSIX mruby TECS signature mruby C Mruby2CBridgePlugin TECS TECS http://tecs22022.blog85.fc2.com/blog-entry-45.html TECS WG 2013323Ruby WG 282014/06/24 29. 29 TECS TECS 2014/06/24 30. Mindstorms EV3 TOPPERS/HRP2+TECS TOPPERS/SSP+TECS GUI TECS TECS CDL () SW+HW 302014/06/24 31. GUI 312014/06/24 32. GUI Eclipse ET 322014/06/24 33. () (TECS GUI editor ) 332014/06/24 34. TECS WG WG TECS WG ML (5) 2009 2010 2011 2012 2013 2 201410 2015 3 () 342014/06/24 35. TOPPERS com-wg@toppers.jp TECS WG ML dev@toppers.jp ML users@toppers.jp ML 2014/06/24 35 36. 362014/06/24 </p>