Home

RI850MP V1.00.01 Real-Time Operating System User`s Manual

image

Contents

1. R20UT0755EJ0101 Rev 1 01 LENESAS Page 17 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Selected item name The following items are displayed for selection Top Address Size Displays value in signed decimal number Displays value in hexadecimal number 2 Footer row Jump to Memory Top Address Opens the Memory panel and displays the contents of the managed memory area Reset Display Item The display item e g whether or not to display header items display notation dis play order and display width is reset R20UT0755EJ0101 Rev 1 01 LENESAS Page 18 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Task tab This tab displays the task information e g Task Name and ID of the RI850MP Figure A 4 Task Tab Realtime 05 R esource Informabon Status Vai ait Factor 0 01 Wraitting Suspended SEM O 01 TMO FIFO 0 aE i opon fe The following items are explained here How to open Description of each area Context menu How to open From the Debug menu select Download From the View menu select Realtime OS gt gt Resource Information Description of each area 1 Information display area a First layer This area displays the task information e g Task Name and ID of the RI850MP This area consists of the following items Task Name An icon indicating the current status of the task and the name of the tas
2. b Second layer 1 Waiting task information The waiting task information e g Task Name and ID only appears if there are tasks queued in the mailbox s wait queue See the Task tab for details about waiting task information Figure A 15 Mailbox Tab Waiting Task Information Realtime 05 Resource Informaton E TaN 5 N OE N v E Mailbox Name ID Queue Status Message Max Fronty Attribute e ID MESI OD Waiting Tas 02700 TA TFIFO TA MPRI Task Name ID Status Wait Factor Wat Data Time Left Intermapt Current P eo Disable 1 lt 2 gt Waiting message information The waiting message information e g Message Address and Message Priority only appears if there are messages queued in the mailbox s wait queue Figure A 16 Mailbox Tab Waiting Message Information Realtime 05 Resource I nformaton Ee ihe Tos Sa Elo D Y MY l Y Fin Eo lin Ini Y R Queue Status Message Max Priority Attribute Waiting Messages Ox100 TA_TFIFO TA Message Priority E OxFEDFOFCS Mi R20UT0755EJ0101 Rev 1 01 LENESAS Page 34 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE This area consists of the following items Message Address The start address of the message is shown Message Priority The priority of the message is shown Note that if the priority is not assigned is shown Context menu The context menu displayed in response to a right mouse click differs as follows depe
3. OOOOOUOO Eventflag M 5 Realtime 05 Resource Information 4 MIN MON FLY Ca InN In RS 4 E wentflag Name i Espoo Status Current Flag Pattern Initial Flag Pattern Ever ont E k fs ID FLEGI Itt 000000000 000000000 A ealtime JE Resource nformabon Eventtlag Name Queue Status Current Flag Pattern Initial Flag Pattern R20UT0755EJ0101 Rev 1 01 LENESAS Page 9 of 55 Apr 01 2012 RIS5OMP V1 00 01 CHAPTER 2 FUNCTIONS 2 3 Confirm Resource Information Check the resource information when program execution is stopped via the various tabs of the Realtime OS Resource Information panel e g System tab and Memory Area tab The Realtime OS Resource Information panel is made up of the following tabs System tab Memory Area tab Task tab Semaphore tab Eventflag tab Data Queue tab Mailbox tab Mutex tab Fixed Sized Memory Pool tab Cyclic Handler tab Interrupt Handler tab Initialize Routine tab Ready Queue tab Timer Queue tab Remark Switch tabs in the tab selection area of the Realtime OS Resource Information panel R20UT0755EJ0101 Rev 1 01 LENESAS Page 10 of 55 Apr 01 2012 RISSOMP V1 00 01 APPENDIX A WINDOW REFERENCE APPENDIX A WINDOW REFERENCE This appendix describes the panels of the resource information tool A 1 Description The panels of the resource information tool are listed below Table A 1 Panel List Realtime OS Resourc
4. ata Queue Name ID Queue Status Total Buffers Free Bulfers Number of AR ID DTL 0 01 waiting Data E E E ID Queue Status Butters 002 Ermpty pra This area consists of the following items the contents of the data is shown Context menu The context menu displayed in response to a right mouse click differs as follows depending on the area clicked 1 Header row Display Displays cascade menus for selecting the header items to display R20UT0755EJ0101 Rev 1 01 LENESAS Page 31 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Selected item name The following items are displayed for selection Data Queue Name ID Queue Status Total Buffers Free Buffers Number of Data Attribute Checked The item in question will be displayed Not checked The item in question will not be displayed Displays cascade menus for selecting the display notation Selected item name The following items are displayed for selection ID Total Buffers Free Buffers Number of Data D Displays value in signed decimal number HEX Displays value in hexadecimal number 2 Footer row Reset Display Item The display item e g whether or not to display header items display notation dis play order and display width is reset R20UT0755EJ0101 Rev 1 01 LENESAS Page 32 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Mailbox tab This tab displays t
5. Pool Name ID Huene Status Top Address e ID MPF Waiting Tas OxFEDFO2DC Task Name ID Status Wait Factor Wat Data Time Left Interrupt 15000 Disable 1 Context menu The context menu displayed in response to a right mouse click differs as follows depending on the area clicked 1 Header row Display Displays cascade menus for selecting the header items to display Selected item name The following items are displayed for selection Fixed Sized Memory Pool Name ID Queue Status Top Address Block Size Total Blocks Free Blocks Attribute Checked The item in question will be displayed Not checked The item in question will not be displayed Displays cascade menus for selecting the display notation Selected item name The following items are displayed for selection ID Top Address Block Size Total Blocks Free Blocks Displays value in signed decimal number Displays value in hexadecimal number 2 Footer row Jump to Memory Top Address Opens the Memory panel and displays the contents of the fixed sized memory pool Reset Display Item The display item e g whether or not to display header items display notation dis play order and display width is reset R20UT0755EJ0101 Rev 1 01 LENESAS Page 39 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Cyclic Handler tab This tab displays the cyclic handler information e g Cyclic Handler Name and ID of the RI850MP Figu
6. WINDOW REFERENCE Memory Area tab This tab displays the memory area information e g Area Name and Top Address of the RI850MP Figure A 3 Memory Area Tab Realtime 05 Resource Informaton MS XEM DON MA Mo Y The following items are explained here How to open Description of each area Context menu How to open From the Debug menu select Download From the View menu select Realtime OS gt gt Resource Information Description of each area 1 Information display area This area displays the memory area information e g Area Name and Top Address of the RI850MP This area consists of the following items Area Name The name of the managed memory area is shown kernel_data_cmn bss Area where variable data are to be allocated to OS resource Top Address The start address of the managed memory area is shown The size of the managed memory area in bytes is shown Context menu The context menu displayed in response to a right mouse click differs as follows depending on the area clicked 1 Header row Display Selected item name Displays cascade menus for selecting the header items to display The following items are displayed for selection Area Name Top Address Size Checked The item in question will be displayed Not checked The item in question will not be displayed Notation Displays cascade menus for selecting the display notation
7. any patents copyrights or other intellectual property rights of Renesas Electronics or others You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information When exporting the products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military including but not limited to the development of weapons of mass destruction Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited under any applicable domestic or foreign laws or regulations Renesas Electronics has used reasonable care in preparing the information included in this document but Renesas Electro
8. displayed Bit pattern not cleared if the request conditions are met b Second layer The waiting task information e g Task Name and ID only appears if there are tasks queued in the eventilag s walt queue See the Task tab for details about waiting task information Figure A 9 Eventflag Tab Waiting Task Information Realtime 05 Resource Information Eventflag Name ID Lueue Status Current Flag Pattern Initial Flag Pattern ID FLG1 0x01 wfalirg Tas Ox00000000 Ox 00000000 Task Name ID Status Wat Factor Wat Data Time Left Interupt Current P E O 10597 Disable 2 mM OE ee ee ee Me EEE SAM EEE Fu 10 75 jo war FLa071 orroro 10557 ove 3 E wentflag Name ID Queue Status Current Flag Pattern Initial Flag Pattern Ox02 Empty OXFFFFFFFF OxFFFFFFFF L D FFFFFFFF DXFFEFFFFF e ID FLG4 0x04 Empty O FFFFFFFF OxFFFFFFFF Context menu The context menu displayed in response to a right mouse click differs as follows depending on the area clicked 1 Header row Display Displays cascade menus for selecting the header items to display R20UT0755EJ0101 Rev 1 01 LENESAS Page 27 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Selected item name The following items are displayed for selection Eventflag Name ID Queue Status Current Flag Pattern Initial Flag Pattern Attribute Checked The item in question will be displayed Not checked The item in question will n
9. shown Number of Message Buffer ig shown Number of Fixed Sized Memory Pool The total number of fixed sized memory pools is shown Number of Variable Sized Memory is shown Pool Number of Cyclic Handler The total number of cyclic handlers is shown Number of Alarm Handler is shown Number of Interrupt Handler The total number of interrupt handlers CPU exception handlers is shown Number of Initialize Routine The total number of initialize routines is shown Number of Extended Service Call is shown Routine Context menu The context menu displayed in response to a right mouse click differs as follows depending on the area clicked R20UT0755EJ0101 Rev 1 01 LENESAS Page 15 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE 1 Header column Display Displays cascade menus for selecting the header items to display Selected item name The following items are displayed for selection RTOS Name Version System Time Interrupt Nest Dispatching CPU Lock System Stack Area Current System SP Idle Routine Start Address Number of Priority Number of Task Number of Semaphore Number of Eventflag Number of Data Queue Number of Mailbox Number of Mutex Number of Message Buffer Number of Fixed Sized Memory Pool Number of Variable Sized Memory Pool Number of Cyclic Handler Number of Alarm Handler Number of Interrupt Han dler Number of Initialize Routine Number of Extende
10. 101 Rev 1 01 LENESAS Page 42 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE 1 Header row Display Displays cascade menus for selecting the header items to display Selected item name The following items are displayed for selection Exception Code Start Address Attribute Checked The item in question will be displayed Not checked The item in question will not be displayed Notation Displays cascade menus for selecting the display notation Selected item name The following items are displayed for selection Exception Code Start Address Displays value in signed decimal number Displays value in hexadecimal number 2 Footer row Jump to Source Start Address Opens the Editor panel and displays the source code of the interrupt handler CPU exception handler Jump to Disassemble Start Opens the Disassemble panel and displays the results of disassembling the inter Address rupt handler CPU exception handler Reset Display Item The display item e g whether or not to display header items display notation dis play order and display width is reset R20UT0755EJ0101 Rev 1 01 LENESAS Page 43 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Initialize Routine tab This tab displays the initialize routine information e g Start Address and Extended Information of the RI850MP Figure A 23 Initialize Routine Tab Realtime 05 Resource Information St
11. C 7 D 0 lt Q UJ LENESAS RIS9OMP V1 00 01 Real Time Operating System User s Manual Debug Target Device V850 Microcontroller All information contained in these matenals including products and product specifications represents information on the product at the time of publication and is subject to change by Renesas Electronics Corp without notice Please review the latest information published by Renesas Electronics Corp through various means including the Renesas Electronics Corp website http www renesas com Renesas Electronics www renesas com Rev 1 01 Apr 2012 8 10 11 12 Notice All information included in this document is current as of the date this document is issued Such information however is subject to change without any prior notice Before purchasing or using any Renesas Electronics products listed herein please confirm the latest product information with a Renesas Electronics sales office Also please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website Renesas Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document No license express implied or otherwise is granted hereby under
12. Development Environment User s Manual V850 Debug for details on Select debug tool 4 Download programs Download the program to debug Remark See CubeSuite Integrated Development Environment User s Manual V850 Debug for details on Download programs 5 Open Realtime OS Resource Information Panel Open the Realtime OS Resource Information panel Remarks 1 When a program using the RI850MP functionality is downloaded this panel opens automatically 2 The value will be indeterminate for the resource information shown when the RI850MP system ini tialization is incomplete because it will not be managed by the RI850MP 6 Execute stop programs Run the program to the location for which you wish to display the resource information Remark See CubeSuite Integrated Development Environment User s Manual V850 Debug for details on Execute stop programs R20UT0755EJ0101 Rev 1 01 LENESAS Page 7 of 55 Apr 01 2012 RIS5OMP V1 00 01 CHAPTER 2 FUNCTIONS 7 Confirm Resource Information On the Realtime OS Resource Information panel tabs e g System tab and Memory Area tab check the current status of the resource information 2 2 Open Realtime OS Resource Information Panel The Realtime OS Resource Information panel is used to confirm the resource information e g system information and memory area information This panel opens automatically when a program using the RI850MP functionality is downloaded 2 2 1 Se
13. From the View menu select Realtime OS gt gt Resource Information Description of each area 1 Information display area a First layer This layer displays the eventflag information e g Eventflag Name and ID of the RI850MP This layer consists of the following items Eventflag Name An icon indicating the current status of the eventflag and the name of the eventflag are shown in the following format Icon Name Note that if the name of eventflag is undefined the name will appear as ID There are no waiting tasks I The ID of the eventflag is shown Queue Status The current status of the eventflag is shown Waiting Tasks There are waiting tasks Empty There are no waiting tasks Current Flag Pattern The current bit pattern of the eventflag is shown Initial Flag Pattern The initial bit pattern of the eventflag is shown R20UT0755EJ0101 Rev 1 01 LENESAS Page 26 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Attribute The attributes of the eventflag task queuing method maximum number of tasks that can be queued and bit pattern clearing flag are shown in the following format Queuing method Maximum number Clearing flag Task queuing method TA_TFIFO FIFO order TA_TPRI Task priority order Maximum number of tasks that can be queued TA_WSGL Only one task TA_WMUL Multiple tasks Bit pattern clearing flag TA_CLR Bit pattern cleared if the request conditions are met Nothing
14. Information The extended information of the task is shown Tex Start Address is shown Tex Status is shown Tex Request Pattern is shown Tex Executing Pattern is shown Tex Attribute is shown R20UT0755EJ0101 Rev 1 01 LENESAS Page 21 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE b Second layer See the Mutex tab for datails about locking mutex information Figure A 5 Task Tab Locking Mutex Information Realtime 05 R esource Informaton PSN M TOY SN BY D MN M Y Fi Y Task Name ID Status Wait Factor Wall Data Time L E ID TSKA PET 0x07 Running a Mutes Name ID Lueue Status Locking Task ID Attribute Ceiling Pi 0011 TA TFIFO ID Status Vi ait Factor Wait Data Time L MT Ox07 TMO FIFO ig D TSKE PET 003 Wang MTROONTWOFFO TE D TSKO FET aa E Context menu The context menu displayed in response to a right mouse click differs as follows depending on the area clicked 1 Header row Display Displays cascade menus for selecting the header items to display Selected item name The following items are displayed for selection Task Name ID Status Wait Factor Wait Data Time Left Interrupt Current Prior ity Task Start Address Current PC Current Task SP Task Stack Area Initial Pri ority Suspend Count Wakeup Count Activate Count Attribute Extended Information Tex Start Address Tex Status Tex Request Pattern Tex Executing Pattern Te
15. art Address E daaa Information Attribute 1 po e irutr3 pel 000006 000 TA HLNG inrtnE pel O 0000600 4 OxFFFFFFFF TA ASM The following items are explained here How to open Description of each area Context menu How to open From the Debug menu select Download From the View menu select Realtime OS gt gt Resource Information Description of each area 1 Information display area This area displays the initialize routine information e g Start Address and Extended Information of the RI850MP This area consists of the following items Start Address The start address of the initialize routine is shown Extended Information The extended information of the initialize routine is shown Attribute The coding language of the initialize routine is shown TA_HLNG C language TA_ASM Assembly language Context menu The context menu displayed in response to a right mouse click differs as follows depending on the area clicked 1 Header row Display Displays cascade menus for selecting the header items to display Selected item name The following items are displayed for selection Start Address Extended Information Attribute Checked The item in question will be displayed Not checked The item in question will not be displayed u R20UT0755EJ0101 Rev 1 01 LENESAS Page 44 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Notation Dis
16. ce Information panel 12 Cyclic Handler tab 40 Data Queue tab 29 Eventflag tab 26 Fixed Sized Memory Pool tab 38 Initialize Routine tab 44 Interrupt Handler tab 42 Mailbox tab 33 Memory Area tab 17 Mutex tab 36 Ready Queue tab 46 Semaphore tab 24 System tab 14 Task tab 19 Timer Queue tab 48 Timer Queue tab Window reference 24 48 11 R20UT0755EJ0101 Rev 1 01 RENESAS Apr 01 2012 Page 51 of 55 Revision Record Description Rev Oct 01 2011 EN Edition issued 1 01 Apr 01 2012 System tab Added the following the sentence in the Context menu col umn item 2 Reset Display Item The display item e g whether or not to display header items display notation display order and display width is reset Task tab Changed as follows the sentence in the Description of each area column item 1 a Time Left Note that if the current state of task is other than delayed state O appears Note that if the task is waiting forever TMO FEVR appears If the current state of the task is other than WAITING state or WAITING SUSPENDED state appears Mailbox tab Changed as follows the sentence in the Description of each area column item 1 a Message Max Priority OxO appears E appears Mutex tab Changed as follows the sentence
17. ch area 1 Tab selection area Select a tab to switch the content displayed in the Information display area This panel has the following tabs System tab R20UT0755EJ0101 Rev 1 01 Apr 01 2012 LENESAS Page 12 of 55 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Memory Area tab Task tab Semaphore tab Eventflag tab Data Queue tab Mailbox tab Mutex tab Fixed Sized Memory Pool tab Cyclic Handler tab Interrupt Handler tab Initialize Routine tab Ready Queue tab Timer Queue tab 2 Information display area This area displays the resource information e g system information and memory area information of the RI850MP R20UT0755EJ0101 Rev 1 01 LENESAS Page 13 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE System tab This tab displays the system information e g RTOS Name and Version of the RI850MP Figure A 2 System Tab Realtime 05 Resource Informaton A TEE EIN ATOS Name Version System Time Iterrupt Hest Dispatching CPU Lock Sistem Stack Area Current System SP Idle Routine Start Address Number of Priority Mumber of Task Number of Semaphore Number of Eventilag Mumber of Data Queue Number of Mailbox Mumber of Mute Number of Message Butter Number of Fired Sized Memory Pool Number of Varable Sized Memoro Pool Number of Cyclic Handler Mumber of Alarm Handler Number of Interrupt Hand
18. ct Realtime OS gt gt Resource Information Description of each area 1 Information display area a First layer This layer displays the fixed sized memory pool information e g Fixed Sized Memory Pool Name and ID of the RI850MP This layer consists of the following items Fixed Sized Memory Pool Name An icon indicating the current status of the fixed sized memory pool and the name of the fixed sized memory pool are shown in the following format Icon Name Note that if the name of the fixed sized memory pool is undefined the name will appear as ID id There are waiting tasks nt There are no waiting tasks ou ei aaa OOOO The size per block in bytes of the fixed sized memory pool is shown R20UT0755EJ0101 Rev 1 01 LENESAS Page 38 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Total Blocks The block count of the fixed sized memory pool is shown Free Blocks The number of free memory blocks is shown Attribute The task queuing method is shown TA_TFIFO FIFO order TA_TPRI Task priority order b Second layer The waiting task information e g Task Name and ID only appears if there are tasks queued in the fixed sized memory pool s wait queue See the Task tab for details about waiting task information Figure A 20 Fixed Sized Memory Pool Tab Waiting Task Information Realtime 05 Resource I nformaton Sa Mle E ID Y Ma Y Ma Fi VIRE In Y Ini Y A Fised Sized Memory
19. d Service Call Routine Checked The item in question will be displayed Not checked The item in question will not be displayed Notation Displays cascade menus for selecting the display notation Selected item name The following items are displayed for selection System Time Interrupt Nest System Stack Area Current System SP Idle Routine Start Address Number of Priority Number of Task Number of Semaphore Num ber of Eventflag Number of Data Queue Number of Mailbox Number of Mutex Number of Message Buffer Number of Fixed Sized Memory Pool Number of Variable Sized Memory Pool Number of Cyclic Handler Number of Alarm Handler Number of Interrupt Handler Number of Initialize Routine Number of Extended Service Call Routine Displays value in signed decimal number Displays value in hexadecimal number 2 Footer column Jump to Memory Current System Opens the Memory panel and displays the contents of the Current System SP SP Jump to Source Idle Routine Start Opens the Editor panel and displays the source code of the idle routine Address Jump to Disassemble Idle Rou Opens the Disassemble panel and displays the results of disassembling the idle tine Start Address routine Reset Display Item The display item e g whether or not to display header items display notatio dis play order and display width is reset R20UT0755EJ0101 Rev 1 01 LENESAS Page 16 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A
20. der row Display Displays cascade menus for selecting the header items to display Selected item name The following items are displayed for selection Muxtex Name ID Queue Status Locking Task ID Attribute Ceiling Priority Checked The item in question will be displayed Not checked The item in question will not be displayed Displays cascade menus for selecting the display notation Selected item name The following items are displayed for selection ID Locking Task ID Ceiling Priority De Displays value in signed decimal number E Displays value in hexadecimal number 2 Footer row Reset Display ltem The display item e g whether or not to display header items display notation dis play order and display width is reset R20UT0755EJ0101 Rev 1 01 LENESAS Page 37 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Fixed Sized Memory Pool tab This tab displays the fixed sized memory pool information e g Fixed Sized Memory Pool Name and ID of the RI850MP Figure A 19 Fixed Sized Memory Pool Tab Realtime 05 Resource I nformaton AS MONA TAM SM ELA DY MY MY Fil C n Ini R 1 Fined Sized Memory Pool Name ID Queue Status TopA ddress Block Siz b ei 001 Empty UxFEDFOZDC 0x100 The following items are explained here How to open Description of each area Context menu How to open From the Debug menu select Download From the View menu sele
21. display Selected item name The following items are displayed for selection Semaphore Name ID Queue Status Current Count Max Count Initial Count Attribute Checked The item in question will be displayed Not checked The item in question will not be displayed Displays cascade menus for selecting the display notation Selected item name The following items are displayed for selection ID Current Count Max Count Initial Count Displays value in signed decimal number Displays value in hexadecimal number 2 Footer row Reset Display Item The display item e g whether or not to display header items display notation dis play order and display width is reset R20UT0755EJ0101 Rev 1 01 LENESAS Page 25 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Eventflag tab This tab displays the eventflag information e g Eventflag Name and ID of the RI850MP Figure A 8 Eventflag Tab Realtime 05 Resource Informabon NL mg Baw E ND 5 M Pio E mo X Ini BLO Y E wentflag Name ID Queue Status Current Flag Pattern Initial Flag Pattern 0 07 Empty OQO000000 OOOOOUOO 1 ID_FLG2 0 02 Empty O FFEFFFFF OxFFFFFFFF A ID_FLG3 0 03 DxFFFFFFFF DxFFFFFFFF ID_FLG4 Ox04 Empty OxFFFFFFFF OxFFFFFFFF The following items are explained here How to open Description of each area Context menu How to open From the Debug menu select Download
22. e Task Task Cyclic Handler Cyclic handler Number of Objecis The total number of queued objects tasks and cyclic handlers is shown R20UT0755EJ0101 Rev 1 01 LENESAS Page 48 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE b Second layer lt 1 gt Waiting task information The waiting task information e g Task Name and ID only appears if there are tasks queued in the timer queue See the Task tab for details about waiting task information Figure A 27 Timer Queue Tab Waiting Task Information Realtime 05 Resource Information Object Type Number of Object Ee Task 2 Task Name ID Status Walt Factor Wat Dal Pp Fo ID TSKA PET JINGO 010101 uj IDLTSKB_PE1 0x02 waiting DLY TMO p Object Type Number of Objects Es Cyclic Handler E lt 2 gt Cyclic handler information The cyclic handler information e g Cyclic Handler Name and ID only appears if there are cyclic handlers queued in the timer queue See the Cyclic Handler tab for details about cyclic handler information Figure A 28 Timer Queue Tab Cyclic Handler Information Realtime 05 Resource Informabon YT XS E MOJ MIN Fi Y Object Type Number of Objects Eu Task 0 8 Cyclic Handler Cyclic Handler Name ID Status Interval Phase Time Left Start Address E p E ID_CYC1 4 TE 1o00 oO 1000 cuchdrs p 0 fa evere o ror 2000 o 2000 evchap p 0 Context menu The context men
23. e Informa This panel displays the resource information e g system information and memory area tion panel information of the RI850MP R20UT0755EJ0101 Rev 1 01 LENESAS Page 11 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Realtime OS Resource Information panel This panel displays the resource information e g system information and memory area information of the RI850MP Figure A 1 Realtime OS Resource Information Panel A ealtime OS Resource Informaton 4 ATOS Name Version System Time Iterrupt Hest Dispatching LPU Lock Sistem Stack Area Current System SP dle Routine Start Address EI T S Y E Y D Y M AIB50MP 17 00 01 OOOOOOOOOOOO U Enable Unlocked UxFEDFI308 OsFEDF17D8 04001 FEDFI FDS kerel default iditn H OOOOZ FEC Number of Priority Je Number of Task Number of Semaphore Number of Eventilag Mumber of Data Queue Mumber of Malbon Mumber of Mute Number of Message Butter Number of Fired Sized Memory Pool Number of Varable Sized Memory Pool Number of Cyclic Handler Humber of Alarm Handler Number of Interrupt Handler Mumber of Initialize A outine Mumber of Extended Service Call Routine The following items are explained here How to open Description of each area How to open From the Debug menu select Download From the View menu select Realtime OS gt gt Resource Information Description of ea
24. for selection Displays value in signed decimal number Displays value in hexadecimal number Priority Number of Tasks 2 Footer row Reset Display Item The display item e g whether or not to display header items display notation dis play order and display width is reset R20UT0755EJ0101 Rev 1 01 LENESAS Page 47 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Timer Queue tab This tab displays the timer queue information e g Object Type and Number of Objects of the RI850MP Figure A 26 Timer Queue Tab Realtime 05 Resource Informaton XS E N DE FIE M Y Fi Y Object Type Number of Objects E D E P o The following items are explained here How to open Description of each area Context menu How to open From the Debug menu select Download From the View menu select Realtime OS gt gt Resource Information Description of each area 1 Information display area a First layer This layer displays the timer queue information e g Object Type and Number of Objects of the RI850MP This layer consists of the following items Object Type An icon indicating the current status of the timer queue and the object type are shown in the following format Icon Object type Icon de There are queued tasks Y There are no queued tasks There are queued cyclic handlers l There are no queued cyclic handlers Object typ
25. g whether or not to display header items display notation dis play order and display width is reset R20UT0755EJ0101 Rev 1 01 LENESAS Page 41 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Interrupt Handler tab This tab displays the interrupt handler CPU exception handler information e g Exception Code and Start Address of the RI850MP Figure A 22 Interrupt Handler Tab Realtime 05 Resource Informaton YMY TS EDs Y Exception Code Start Address TA ASM 0 The following items are explained here How to open Description of each area Context menu How to open From the Debug menu select Download From the View menu select Realtime OS gt gt Resource Information Description of each area 1 Information display area This area displays the interrupt handler CPU exception handler information e g Exception Code and Start Address of the RI850MP This area consists of the following items Exception Code The exception code of the interrupt handler CPU exception handler is shown Start Address The start address of the interrupt handler CPU exception handler is shown Attribute The coding language of the interrupt handler CPU exception handler is shown TA_HLNG C language TA_ASM Assembly language Context menu The context menu displayed in response to a right mouse click differs as follows depending on the area clicked R20UT0755EJ0
26. he mailbox information e g Mailbox Name and ID of the RI850MP Figure A 14 Mailbox Tab Realtime 05 Resource Informabon SANI see ENDT M MEI EE mi ID Queue Status Message Mas Pronty Attribute Ox01 Empty 0100 TA TFIFOU TA MPR The following items are explained here How to open Description of each area Context menu How to open From the Debug menu select Download From the View menu select Realtime OS gt gt Resource Information Description of each area 1 Information display area a First layer This layer displays the mailbox information e g Mailbox Name and ID of the RI850MP This layer consists of the following items Mailbox Name An icon indicating the current status of the mailbox and the name of the mailbox are shown in the following format Icon Name Note that if the name of the mailbox is undefined the name will appear as ID There are waiting tasks There are waiting messages There are no waiting tasks messages w e Dorne malboris shown Message Max Priority The maximum priority of the message is shown Note that if the message queuing method is FIFO order appears R20UT0755EJ0101 Rev 1 01 LENESAS Page 33 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Attribute The attributes of the mailbox task queuing method and message queuing method are shown in the following format Task Message Task queuing method
27. in the Description of each area column item 1 a Ceiling Priority 0 is shown gt ig shown 40 Cyclic Handler tab Changed as follows the sentence in the Description of each area column item 1 Time Left Is non operational state 0 appears Is non operational state appears RI850MP V1 00 01 User s Manual Debug Publication Date Rev 1 00 Oct 01 2011 Rev 1 01 Apr 01 2012 Published by Renesas Electronics Corporation LENESAS SALES OFFICES Renesas Electronics Corporation Refer to http www renesas com for the latest and detailed information Renesas Electronics America Inc 2880 Scott Boulevard Santa Clara CA 95050 2554 U S A Tel 1 408 588 6000 Fax 1 408 588 6130 Renesas Electronics Canada Limited 1101 Nicholson Road Newmarket Ontario L3Y 9C3 Canada Tel 1 905 898 5441 Fax 1 905 898 3220 Renesas Electronics Europe Limited Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH U K Tel 44 1628 585 100 Fax 44 1628 585 900 Renesas Electronics Europe GmbH Arcadiastrasse 10 40472 Dusseldorf Germany Tel 49 211 65030 Fax 49 211 6503 1327 Renesas Electronics China Co Ltd 7th Floor Quantum Plaza No 27 ZhiChunLu Haidian District Beijing 100083 P R China Tel 86 10 8235 1155 Fax 86 10 8235 7679 Renesas Electronics Shanghai Co Ltd Unit 204 205 AZIA Center No 1233 Lujiazui Ring Rd Pudong Dist
28. itions Further Renesas Electronics products are not subject to radiation resistance design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or system manufactured by you Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products
29. k are shown in the following format Icon Name Note that if the name of the task is undefined the name will appear as ID RUNNING state WAITING SUSPENDED state R20UT0755EJ0101 Rev 1 01 LENESAS Page 19 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE The ID of the task is shown Status The current state of the task is shown DORMANT state READY stat RUNNING state WAITING state SUSPENDED stat WAITING SUSPENDED state The wait factor type of WAITING state object ID and attribute of WAITING state of the task are shown in the following format Type ID Attribute Note that if the current state of the task is other than WAITING state or WAIT ING SUSPENDED state appears Wait Factor If the WAITING state type is sleeping state or delayed state then Object ID is not shown When the object that caused the task to go into the WAITING state belongs other domain 0x00 appears Type of WAITING state SLP Sleeping state DLY Delayed state SEM Waiting state for a semaphore resource FLG Waiting state for an eventflag SDTQ Sending waiting state for data queue RDTQ Receiving waiting state for a data queue MBX Waiting state for a mailbox MTX Waiting state for a mutex MPF Waiting state for a fixed sized memory pool Attribute of WAITING state ANDW AND waiting condition ORW OR waiting condition TMO Waiting for timeout FIFO FIFO order Task Priority order Wait Data The
30. layer lt 1 gt Sending waiting task receive waiting task information The sending receiving waiting task information e g Task Name and ID only appears if there are tasks queued in the data queue s wait queue See the Task tab for details about sending receiving waiting task information Figure A 11 Data Queue Tab Sending Waiting Task Information Realtime 05 Resource Informabon PSX MM TAM S ME YDYM Y M Y Fi Y Data Queue Name ID Queue Status Total Buffers Free Butters Number of E ID DT Ox01 waiting T as 2 E l Data lul 0x123 E OxABC Task Name ID Status Wat Factor Wat Data Time Left Interrupt Curent P EU Wait SOTG Ox 0x111 15000 Disable 1 ID Queue Status Total Buffers Free Butters Number of Ux Empty 1 E 16 Sa R20UT0755EJ0101 Rev 1 01 LENESAS Page 30 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Figure A 12 Data Queue Tab Receiving Waiting Task Information Realtime JE Resource Information Be o Bla y D ki hd Ma Data Queue Name ID Queue Status q ID DT UI Waiting Tasks eceive Task Name ID tatus Maj Pete Total Buffers Free Buffers 16 lt 2 gt Receiving waiting data information The receiving waiting data information e g Data only appears if there are data queued in the data queue Figure A 13 Data Queue Tab Receiving Waiting Data Information R ealtime JE Resource Informabon TOM SN EY DON MY MN Fi
31. lect item The resource information tool enables you to select the items to display in the Realtime OS Resource Information panel To select which items are displayed right click on the header header column or row in the Realtime OS Resource Information panel and from the context menu that appears select Display Figure 2 1 Select Item Realtime 05 Resource Information LI SL Display Notation ID Queue Status Current Flag Pattern Initial Flag Pattern Attribute Remark Select items to display by selecting their checkboxes Table 2 1 Select Item The item in question will be displayed The item in question will not be displayed R20UT0755EJ0101 Rev 1 01 LENESAS Page 8 of 55 Apr 01 2012 RIS5OMP V1 00 01 CHAPTER 2 FUNCTIONS 2 2 2 Change display order The resource information tool enables you to change the order of items displayed in the Realtime OS Resource Infor mation panel To change the display order drag the columns in the Realtime OS Resource Information panel and drop them to the desired position Figure 2 2 Change Display Order Move ID Column Realtime 05 Resource Information PESA MA S Y ELY D Y Ma YM Y Fi Y C Yin Yini Y A F Eventflag Name ID Queue Status Current Flag Pattern Initial Flag Pattern ID_FLG1 001 Empty O OOOOOOOO OxOOOOOOOO Realtime O5 Resource Informabon ln Ini A Queue Status Current Flag Pattern Initial Flag Pattern 0 07 Empty OQO000000
32. ler Mumber of Initialize Foutine Mumber of Extended Service Call Routine The following items are explained here How to open Description of each area Context menu How to open From the Debug menu select Download AIB50MP 17 00 01 OOOOOOOOOOOO U Enable Unlocked UxFEDFIS08 OsFEDF17D8 04001 FEDFI FDS kernel default iditn H OOOOUZ FEC Je From the View menu select Realtime OS gt gt Resource Information Description of each area 1 Information display area This area displays the system information e g RTOS Name and Version of the RI850MP R20UT0 755EJ0101 Rev 1 01 Apr 01 2012 LENESAS Page 14 of 55 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE This area consists of the following items RTOS Name RI850MP is shown The version of the RI850MP is shown System Time The system time of the RI850MP in milliseconds is shown Interrupt Nest The nesting level of interrupt processes including CPU exception processes is shown Dispatching The system state of the RI850MP is shown o Reto System Stack Area The start address end address and size in bytes of the system stack are shown in the following format Start address End address Size Current System SP If the processing program is operating on the system stack the start address of the system stack is shown If it is running on the task stack then the current SP value is
33. maphore is undefined the name will appear as ID There are waiting tasks There are no waiting tasks gt e D ote semaphore i shown Queue Status The current status of the semaphore is shown Waiting Tasks There are waiting tasks Empty There are no waiting tasks Current Count The current resource count of the semaphore is shown Max Count The maximum resource count of the semaphore is shown Initial Count The initial resource count of the semaphore is shown R20UT0755EJ0101 Rev 1 01 LENESAS Page 24 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Attribute The task queuing method is shown TA_TFIFO FIFO order TA_TPRI Task priority order b Second layer The waiting task information e g Task Name and ID only appears if there are tasks queued in the semaphore s wait queue See the Task tab for details about waiting task information Figure A 7 Semaphore Tab Waiting Task Information Realtime 05 Resource Informabon PSX MM TY SOV EX DY MOY MY Fi MC Semaphore Name ID Queue Status Current Count Max Count Initial Count sjaa ID SEMI Ox01 waiting Tas O 1 1 Task Marne ID Status Wat Factor Wat Data Time Left Interupt Current P BU Wak SEM OXMO UU Disable 2 Context menu The context menu displayed in response to a right mouse click differs as follows depending on the area clicked 1 Header row Display Displays cascade menus for selecting the header items to
34. mory capacity K kilo 210 _ 1024 M mega 2 1024 Related Documents The related documents indicated in this publication may include preliminary versions However preliminary versions are not marked as such Caution The related documents listed above are subject to change without notice Be sure to use the latest edition of each document when designing All trademarks or registered trademarks in this document are the property of their respective owners TABLE OF CONTENTS CHAPTER 1 GENERAL 6 1 1 Overview 6 1 2 Features 6 CHAPTER 2 FUNCTIONS 7 2 1 Overview 7 2 2 Open Realtime OS Resource Information Panel 8 2 2 1 Select item 8 2 2 2 Change display order 9 2 3 Confirm Resource Information 10 APPENDIX A WINDOW REFERENCE 11 A 1 Description 11 APPENDIX B INDEX 51 RIS5OMP V1 00 01 CHAPTER 1 GENERAL CHAPTER 1 GENERAL The CubeSuite is an integrated development environment used to carry out tasks such as design coding build and debug for developing application systems for microcontrollers manufactured by Renesas Electronics This manual describes the resource information tool This tool is useful for debugging programs using the RI850MP real time OS functionality within this integrated program development process 1 1 Overview When debugging programs using the RI850MP functionality it is possible to use the resource information tool to con firm the
35. nded Information The extended information of the cyclic handler is shown Attribute The attributes of the cyclic handler coding language of cyclic handler initial activa tion state of cyclic handler and existence of saved activation phases are shown in the following format Coding language Initial activation state Existence Coding language of cyclic handler ET Context menu The context menu displayed in response to a right mouse click differs as follows depending on the area clicked 1 Header row Display Displays cascade menus for selecting the header items to display Selected item name The following items are displayed for selection Cyclic Handler Name ID Status Interval Phase Time Left Start Address Extended Information Attribute Checked The item in question will be displayed Not checked The item in question will not be displayed Displays cascade menus for selecting the display notation Selected item name The following items are displayed for selection ID Interval Phase Time Left Start Address Extended Information De Displays value in signed decimal number HEX Displays value in hexadecimal number 2 Footer row Jump to Source Start Address Opens the Editor panel and displays the source code of the cyclic handler Jump to Disassemble Start Opens the Disassemble panel and displays the results of disassembling the cyclic Address handler Reset Display Item The display item e
36. nding on the area clicked 1 Header row Display Displays cascade menus for selecting the header items to display Selected item name The following items are displayed for selection Mailbox Name ID Queue Status Message Max Priority Attribute Checked The item in question will be displayed Not checked The item in question will not be displayed Displays cascade menus for selecting the display notation Selected item name The following items are displayed for selection ID Message Max Priority Displays value in signed decimal number Displays value in hexadecimal number 2 Footer row Reset Display Item The display item e g whether or not to display header items display notation dis play order and display width is reset R20UT0755EJ0101 Rev 1 01 LENESAS Page 35 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Mutex tab This tab displays the mutex information e g Mutex Name and ID of the RI850MP Figure A 17 Mutex Tab Realtime 05 Resource Informahon E ND XML M MEE Muter Name ID Queue Statue Locking Task ID Attribute Ceding Priorat cag ID MTA SIMI Aa TA TFIFO The following items are explained here How to open Description of each area Context menu How to open From the Debug menu select Download From the View menu select Realtime OS gt gt Resource Information Description of each area 1 Information displa
37. nics does not warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Renesas Electronics products are classified according to the following three quality grades Standard High Quality and Specific The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below You must check the quality grade of each Renesas Electronics product before using it in a particular application You may not use any Renesas Electronics product for any application categorized as Specific without the prior written consent of Renesas Electronics Further you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas Electronics product is Standard unless otherwise expressly specified in a Renesas Electronics data sheets or data books etc Standard Computers office equipment comm
38. ontents of the Current Task SP Memory panel and displays the contents of the Current Task SP Jump to Source Tex Start This item will be grayed out Address Meenas Jump to Disassemble Tex Start This item will be grayed out Address Reset Display Item The display item e g whether or not to display header items display notation dis play order and display width is reset R20UT0755EJ0101 Rev 1 01 LENESAS Page 23 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Semaphore tab This tab displays the semaphore information e g Semaphore Name and ID of the RI850MP Figure A 6 Semaphore Tab Realtime 05 Resource Information f SaN MaN 5 Wee Y D MO M Y Fi Y C In Yini Y 1 Semaphore Name ID Queue Status Current Count Max Count Initial Count p 8 ID SEMI The following items are explained here How to open Description of each area Context menu How to open From the Debug menu select Download From the View menu select Realtime OS gt gt Resource Information Description of each area 1 Information display area a First layer This layer displays the semaphore information e g Semaphore Name and ID of the RI850MP This layer consists of the following items Semaphore Name An icon indicating the current status of the semaphore and the name of the semaphore are shown in the following format Icon Name Note that if the name of the se
39. or if you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics Readers Purpose Organization How to Read This Manual Conventions How to Use This Manual This manual is intended for users who design and develop application systems using V850 microcontrollers products This manual is intended for users to understand the functions of real time OS RI850MP manufactured by Renesas Electronics described the organization listed below This manual consists of the following major sections CHAPTER 1 GENERAL CHAPTER 2 FUNCTIONS APPENDIX A WINDOW REFERENCE APPENDIX B INDEX It is assumed that the readers of this manual have general knowledge in the fields of electrical engineering logic circuits microcontrollers C language and assemblers To understand the hardware functions of the V850 microcontroller gt Refer to the User s Manual of each product Data significance Higher digits on the left and lower digits on the right Note Footnote for item marked with Note in the text Caution Information requiring particular attention Remark Supplementary information Numeric representation Decimal XXXX Hexadecimal OXXXXX Prefixes indicating power of 2 address space and me
40. ot be displayed Displays cascade menus for selecting the display notation Selected item name The following items are displayed for selection ID Current Flag Pattern Initial Flag Pattern D Displays value in signed decimal number HEX Displays value in hexadecimal number 2 Footer row Reset Display Item The display item e g whether or not to display header items display notation dis play order and display width is reset R20UT0755EJ0101 Rev 1 01 LENESAS Page 28 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Data Queue tab This tab displays the data queue information e g Data Queue Name and ID of the RI850MP Figure A 10 Data Queue Tab Realtime 05 Resource Information MMM TON SON EL DON MOY MON Fi CUM In Y Ini Y Data Queue Name ID Queue Status Total Butters Free Butters 210 DILI 001 Empty 0 The following items are explained here How to open Description of each area Context menu How to open From the Debug menu select Download From the View menu select Realtime OS gt gt Resource Information Description of each area 1 Information display area a First layer This layer displays the data queue information e g Data Queue Name and ID of the RI850MP This layer consists of the following items Data Queue Name An icon indicating the current status of the data queue and the name of the data queue are
41. plays cascade menus for selecting the display notation Selected item name The following items are displayed for selection Start Address Extended Information Displays value in signed decimal number Displays value in hexadecimal number 2 Footer row Jump to Source Start Address Opens the Editor panel and displays the source code of the initialize routine Jump to Disassemble Start Opens the Disassemble panel and displays the results of disassembling the Address initialize routine Reset Display Item The display item e g whether or not to display header items display notation dis play order and display width is reset R20UT0755EJ0101 Rev 1 01 LENESAS Page 45 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Ready Queue tab This tab displays the ready queue information e g Priority and Number of Tasks of the RI850MP Figure A 24 Ready Queue Tab Realtime 05 Resource Informabon ie Ges NUS Mey Pricrty Number of Tasks The following items are explained here How to open Description of each area Context menu How to open From the Debug menu select Download From the View menu select Realtime OS gt gt Resource Information Description of each area 1 Information display area a First layer This layer displays the ready queue information e g Priority and Number of Tasks of the RI850MP This layer consists of the follo
42. re A 21 Cyclic Handler Tab Realtime 05 Resource Informahon Vi Tie Use Ea Dh ME Fie Cyclic Handler Name ID Interval Phase Time Left Start Addre Bo Ee ST EMO 50 _cychdi _ The following items are explained here How to open Description of each area Context menu How to open From the Debug menu select Download From the View menu select Realtime OS gt gt Resource Information Description of each area 1 Information display area This area displays the cyclic handler information e g Cyclic Handler Name and ID of the RI850MP This area consists of the following items Cyclic Handler Name An icon indicating the current status of the cyclic handler and the name of the cyclic handler are shown in the following format Icon Name Note that if the name of the cyclic handler is undefined the name will appear as ID CON EII TCYC_STA Operational state STA state The activation cycle in milliseconds of the cyclic handler is shown The initial activation phase in milliseconds of the cyclic handler is shown Time Left The time left before the next activation in milliseconds of the cyclic handler is shown Note that if the current state of the cyclic handler is non operational state appears R20UT0755EJ0101 Rev 1 01 LENESAS Page 40 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Start Address The start address of the cyclic handler is shown Exte
43. request conditions triggering the task s transition to WAITING state are shown Note that if the task s current state is other than waiting state for an eventflag is shown Walt bit pattern Waiting state for an eventflag Data element to be sent to the data queue Sending waiting state for a data queue R20UT0755EJ0101 Rev 1 01 LENESAS Page 20 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Time Left The time left until the delayed state is released in milliseconds is shown Note that if the task is waiting forever TMO_FEVR appears If the current state of the task is other than WAITING state or WAITING SUSPENDED state appears All interrupts are enabled Task Stack Area The start address end address and size in bytes of the task stack are shown in the following format Initial Priority The initial priority of the task is shown Suspend Count The suspension count of the task is shown Wakeup Count The wakeup request count of the task is shown Activate Count The activation request count of the task is shown Attribute The attributes of the task the task s coding language initial activation state task type initial preemption state and initial interrupt state are shown in the fol lowing format Start address End address Size Coding language Initial activation state Initial interrupt state TA_ENAINT All interrupts are enabled at task activation Extended
44. resource information e g system information and memory area information that changes dynamically as the program executes 1 2 Features Below are the features of the resource information tool Confirm resource information When the program running in the debugging tool is stopped at an arbitrary location the current status of the resource information appears in the Realtime OS Resource Information panel R20UT0755EJ0101 Rev 1 01 RENESAS Apr 01 2012 Page 6 of 55 RIS5OMP V1 00 01 CHAPTER 2 FUNCTIONS CHAPTER 2 FUNCTIONS This chapter describes the key functions provided by the resource information tool along with operation procedures 2 1 Overview The resource information tool can be used to confirm the resource information e g system information and memory area information that changes dynamically as the program executes The operating procedures for the resource information tool are described below 1 Start CubeSuite Launch the CubeSuite from the start menu of Windows Remark See CubeSuite Integrated Development Environment User s Manual Start for details on Start CubeSuite 2 Open project Open the project to debug Remark See CubeSuite Integrated Development Environment User s Manual Start for details on Open project 3 Select debug tool Select the type of debugging tool with which to debug the program IECUBE MINICUBE2 E1 E20 or Simulator Remark See CubeSuite Integrated
45. rict Shanghai 200120 China Tel 86 21 5877 1818 Fax 86 21 6887 7858 7898 Renesas Electronics Hong Kong Limited Unit 1601 1613 16 F Tower 2 Grand Century Place 193 Prince Edward Road West Mongkok Kowloon Hong Kong Tel 852 2886 9318 Fax 852 2886 9022 9044 Renesas Electronics Taiwan Co Ltd 13F No 363 Fu Shing North Road Taipei Taiwan Tel 886 2 81 75 9600 Fax 886 2 8175 9670 Renesas Electronics Singapore Pte Ltd 1 harbourFront Avenue 06 10 keppel Bay Tower Singapore 098632 Tel 65 6213 0200 Fax 65 6278 8001 Renesas Electronics Malaysia Sdn Bhd http www renesas com Unit 906 Block B Menara Amcorp Amcorp Trade Centre No 18 Jln Persiaran Barat 46050 Petaling Jaya Selangor Darul Ehsan Malaysia Tel 60 3 7955 9390 Fax 60 3 7955 9510 Renesas Electronics Korea Co Ltd 11F Samik Lavied or Bldg 720 2 Yeoksam Dong Kangnam Ku Seoul 135 080 Korea Tel 82 2 558 3737 Fax 82 2 558 5141 2012 Renesas Electronics Corporation All rights reserved Colophon 1 1 RISSOMP V1 00 01 LENESAS Renesas Electronics Corporation R20UT0755EJ0101
46. shown in the following format Icon Name Note that if the name of the data queue is undefined the name will appear as ID D There are queued tasks sending waiting tasks e There are queued tasks receiving waiting tasks There are queud data receiving waiting data P There are no queued tasks data waiting tasks receiving waiting data w Tre Dorme dat queve is shown R20UT0755EJ0101 Rev 1 01 LENESAS Page 29 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Queue Status The current status of the data queue is shown Waiting Tasks Send There are queued tasks Sending waiting tasks Waiting Tasks Receive There are queued tasks receiving waiting tasks Waiting Data There are queud data receiving waiting data Empty There are no queued tasks data waiting tasks receiving waiting data Total Buffers Displays the maximum number of data buffers that can be queued Free Buffers Displays the number of free buffers in the data queue The number of free buffers is the total number of buffers minus the number of buffers receiving waiting data Number of data is shown Attribute Displays the queuing method of the sending waiting tasks If the queuing method if the receiving waiting tasks is data reception request order then the queuing method of the receiving waiting data will be data send request order TA_TFIFO FIFO order TA_TPRI Task priority order b Second
47. u displayed in response to a right mouse click differs as follows depending on the area clicked 1 Header row Display Displays cascade menus for selecting the header items to display R20UT0755EJ0101 Rev 1 01 LENESAS Page 49 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Selected item name The following items are displayed for selection Object Type Number of Objects Checked The item in question will be displayed Not checked The item in question will not be displayed Displays cascade menus for selecting the display notation Selected item name The following items are displayed for selection Number of Objects De Displays value in signed decimal number COS Displays value in hexadecimal number 2 Footer row Reset Display ltem The display item e g whether or not to display header items display notation dis play order and display width is reset R20UT0755EJ0101 Rev 1 01 LENESAS Page 50 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX B INDEX APPENDIX B INDEX C S Cyclic Handler tab 40 Semaphore tab System tab 14 D Data Queue tab 29 T Task tab 19 E Eventflag tab 26 W F Fixed Sized Memory Pool tab 38 Functions 7 Initialize Routine tab 44 Interrupt Handler tab 42 M Mailbox tab 33 Memory Area tab 17 Mutex tab 36 R Ready Queue tab 46 Realtime OS Resour
48. unications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems safety equipment and medical equipment not specifically designed for life support Specific Aircraft aerospace equipment submersible repeaters nuclear reactor control systems medical equipment or systems for life support e g artificial life support devices or systems surgical implantations or healthcare intervention e g excision etc and any other applications or purposes that pose a direct threat to human life You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use cond
49. wing items Priority An icon indicating the current status of the ready queue and the task priority are shown in the following format Icon Task priority There are no queued tasks Number of Tasks The total number of queued tasks tasks with of READY state or RUNNING state is shown b Second layer The executing task information e g Task Name and ID only appears if there are tasks queued in the ready queue See the Task tab for details about executing task information R20UT0755EJ0101 Rev 1 01 LENESAS Page 46 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE Figure A 25 Ready Queue Tab Executing Task Information Realtime 05 Resource Informabon EMM TOY S l KEL DU A MA MY Pricrty Number of Tasks E 2 Task Name ID Status Wait Factor Wal Data Time Left Intern unnina 3 ID TSKE PEJ ID TSEC PEI 0x03 Pricrty Number of Tasks Context menu The context menu displayed in response to a right mouse click differs as follows depending on the area clicked 1 Header row Display Displays cascade menus for selecting the header items to display Selected item name The following items are displayed for selection Priority Number of Tasks Checked The item in question will be displayed Not checked The item in question will not be displayed Notation Displays cascade menus for selecting the display notation Selected item name The following items are displayed
50. x Attribute Checked The item in question will be displayed Not checked The item in question will not be displayed Notation Displays cascade menus for selecting the display notation Selected item name The following items are displayed for selection ID Wait Factor Wait Data Time Left Current Priority Task Start Address Current PC Current Task SP Task Stack Area Initial Priority Suspend Count Wakeup Count Activate Count Extended Information Tex Start Address Tex Request Pattern Tex Executing Pattern Displays value in signed decimal number Displays value in hexadecimal number R20UT0755EJ0101 Rev 1 01 LENESAS Page 22 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE 2 Footer row Jump to Source Task Start Opens the Editor panel and displays the source code of the task Address Jump to Disassemble Task Start Opens the Disassemble panel and displays the results of disassembling the task Address Jump to Source Current PC Opens the Editor panel and displays the contents of the Current PC Opens the Editor panel and displays the contents of the Current PC Editor panel and displays the contents of the Current PC Jump to Disassemble Current PC Opens the Disassemble panel and displays the contents of the Current PC Jump to Memory Current Task SP Opens the Memory panel and displays the contents of the Current Task SP Opens the Memory panel and displays the c
51. y area a First layer This layer displays the mutex information e g Mutex Name and ID of the RI850MP This layer consists of the following items Mutex Name An icon indicating the current status of the mutex and the name of the mutex are shown in the following format Icon Name Note that if the name of the mutex is undefined the name will appear as ID 3 There are no waiting tasks The ID of the mutex is shown Queue Status The current status of the mutex is shown Waiting Tasks There are waiting tasks Empty There are no waiting tasks Locking Task ID The ID of the locking task is shown Attribute The task queuing method is shown TA TFIFO FIFO order TA TPRI Task priority order R20UT0755EJ0101 Rev 1 01 LENESAS Page 36 of 55 Apr 01 2012 RIS5OMP V1 00 01 APPENDIX A WINDOW REFERENCE b Second layer The waiting task information e g Task Name and ID only appears if there are tasks queued in the mutex s wait queue See the Task tab for details about waiting task information Figure A 18 Mutex Tab Waiting Task Information Realtime 05 Resource Informaton YMY TY SLY EY D Y MY MOY Fi Y C Y In Ini Y Mutex Name ID Queue Status E Task ID Attribute Ceiling Priorit oh ID MTA 0x01 Waiting Tasks 0x01 TA TFIFO Task Name LI KO Wait Factor Wait Data Time Context menu The context menu displayed in response to a right mouse click differs as follows depending on the area clicked 1 Hea

Download Pdf Manuals

image

Related Search

Related Contents

DL6400/6600 BookITA  PIZZAOFEN PO 1239 CB Bedienungsanleitung/Garantie  CARIS Pre-Training Exercises  Point of View TGT-550-A1-C NVIDIA GeForce GTX 550 Ti 1GB graphics card  Melag Vacuklav 41B+/43B+    Tenant Handbook - Defence Housing Australia  Multibrackets 7 350 073 731 183  Untitled - TrekStor  

Copyright © All rights reserved.
Failed to retrieve file