Home
User`s Manual
Contents
1. Wait status with time limit User s Manual U13737EJ2VOUMO00 CHAPTER 3 WINDOW REFERENCE There may be several of the above described task statuses In this case these statuses are displayed separated by a he Moreover if tasks have resources event flag 1 bit event flag semaphore mailbox fixed length memory pool variable length memory pool the names of these resources are displayed in addition to the status 3 7 2 Task source display By double clicking the entry and pc lines in the task detailed display area the Source window of the debugger is opened if there is debug information and the Assembler window of the debugger is opened if there is no debug information User s Manual U13737EJ2VOUMO00 25 CHAPTER 3 WINDOW REFERENCE 3 8 Event Flag Window 3 8 1 Event flag information display Figure 3 5 Event Flag Information Display RD850 EVENTFLAG File View Help List display area Event flag detailed display area Tables 3 6 to 3 8 show the information displayed in the list display area and event flag detailed display area Table 3 6 Display Contents of List Display Area Table 3 7 Display Contents of Event Flag Detailed Display Area If a task with an event flag exists the following information is displayed Table 3 8 Display of Event Flag Wait Tasks wait tsk Wait task name ptn Wait pattern Wait option TWF_ORW OR wait TWF_ANDW AND wait clr Existence of clear specification
2. RD850 Resource Type 3 5 Selection Buttons The RD850 has the following buttons Table 3 1 Description of Selection Buttons Button Description Shows task information Shows event flag information Shows 1 bit event flag information Shows semaphore information Shows mailbox information Shows fixed length memory pool information Shows variable length memory pool information Shows cyclic startup handler information Shows system queue timer queue ready queue Switches between Hold Active 20 User s Manual U13737EJ2VOUMOO CHAPTER 3 WINDOW REFERENCE 3 6 Menu Bar 3 6 1 File menu The file menu consists of the following items RCa50 File View Quit Closes the RD850 3 6 2 View menu The view menu consists of the following items RD850 File View Help Task Eventf lag ibit eventflag Semaphore Mailbox Fixed size memorypool Variable size memorypool Cyclic handler System queue Task Shows task information Eventflag Shows event flag information 1bit eventflag Shows 1 bit event flag information Semaphore Shows semaphore information Mailbox Shows mailbox information Fixed size memorypool Shows fixed length memory pool information Variable size memorypool Shows variable length memory pool information Cyclic handler Shows cyclic startup handler information System queue Shows the system queue timer queue ready queue information User
3. 27 3 11 Display of 1 Bit Event Flag Wait Task 27 3 12 Display Contents of List Display Area 28 3 13 Display Contents of Semaphore Detailed Display Arez cnn na nan cnn na nn arannnrncnns 28 3 14 Semaphore Wait Task Display 28 3 15 Display Contents of List Display Area 30 3 16 Display Contents of Mailbox Detailed Display Area 30 3 17 Message Wait Task Display cc iic a n re pd natalie daran 30 3 18 Information when Messages Exist secceceseeceeesseceeteseeeeeceeeeenessaneesesencessaaeeenesaaeeeeeseesessegeegeeeeeneeseeeesenseneesees 30 3 19 Display Contents of List Display Area 31 3 20 Display Contents of Fixed Length Memory Pool Detailed Display Area A 31 3 21 Memory Block Wait Task Display 31 3 22 Display Contents of List Display Area 32 3 23 Display Contents of Variable Length Memory Pool Detailed Display Area 32 3 24 Memory Block Wait Task Display 33 3 25 Display Contents of List Display Area 34 3 26 Display Contents of Cyclic Startup Handler Detailed Display Arez nnncnnnnnns 34 3 27 Activation Statuses of List Display Area and Cyclic Startup Handler Detailed Display Area 35 3 28 Display Contents of List Display Area 37 3 29 Display Contents of System Queue Detailed Display Area Timer Queue Display coooonncccnnninnnccconcnnancnnancnnns 37 3 30 Display Contents of System Queue Detailed Display Area Ready Queue Display ooonicccnncnnncccnnconncccnnnnnnn 37 12 User s Manual U13737EJ2V0UM00 CHAPTER 1
4. 3 12 Fixed Length Memory Pool WindOW cccssseesseneeeeseeeeeesseeeeeseeeeeeaseeeeeenseeeeaseeeeeeaseeeseesseneeaseneeeeaseeeneenees 31 3 12 1 Fixed Length Memory Pool Information Display 31 3 13 Variable Length Memory Pool WindOW ccssesseseenseseeeessseeneaseeeeeesseeeseaseeeeeaseeeeeesseeeeeaseneeeaseeneaneeeneenees 32 3 13 1 Variable length memory pool information display A 32 3 14 Cyclic Startup Handler Window ccccscsseeseeeeseeeeseeenseeeseeeeaseeeneeeeaseeeneeesaseesseeesaseesseeesaseesseeeseeeeseeeeeseeenenes 34 3 14 1 Cyclic startup handler information display ccccceeceeeceeceeeeeeeeseeeeeseeeseeeeeseeeseeeeeseeeseeessieeeeeeeneeeenaes 34 3 14 2 Cyclic startup handler source display ccccceeceeseeeeeeeeeeeeeseeeeeeeeeseeeeeeeeseeessaeeeeeeeeeeeseeeeeee caeeeeeeeeeaes 35 3 15 System QUEUC WINdOW eege Deele EES 36 3 15 1 System queue information dleplay AA 36 User s Manual U13737EJ2V0UM0O 9 CHAPTER 4 ERROR MESSAGES 2 eisteg iegerugeegiEuge EEN eedeedh eased EE cda dE EES ENEE CHAPTER 5 CAUTIONS cuina ice iia 41 5 1 Next Step Execution civic 41 5 2 ReS rved Kr ET 41 A AS LTE 41 5 2 2 Cautions on program creation for RD850 USOS cccceeeceeeseeeeeeeeeneeeeeeeeeaeeeeaeeeeaeeeeaneseeeeeeeeeeneeeeneaees 41 APPENDIX A INDEX ai 43 APPENDIX B REVISION HISTORY cccescceeeescceeeeeseeeeeenseeeeeseneeeeeseneeeseseaeeeseseseeeseseseeesessecenseseseness 45 10 User s Manual U
5. ON Clear specification OFF No clear specification 26 User s Manual U13737EJ2VOUMOO CHAPTER 3 WINDOW REFERENCE 3 9 1 Bit Event Flag Window 3 9 1 1 bit event flag information display Figure 3 6 1 Bit Event Flag Information Display RD850 1 BIT EVENTFLAG File View Help Tsk PELS CG 1EF SEM List display area 1 bit event flag detailed display area Tables 3 9 to 3 11 show the information displayed in the list display area and 1 bit event flag detailed display area Table 3 9 Display Contents of List Display Area Table 3 10 Display Contents of 1 Bit Event Flag Detailed Display Area If there is a task that waits for a 1 bit event flag the following information is displayed Table 3 11 Display of 1 Bit Event Flag Wait Task wait tsk Wait task name Existence of clear specification ON Clear specification OFF No clear specification User s Manual U13737EJ2VOUMO00 27 CHAPTER 3 WINDOW REFERENCE 3 10 Semaphore Window 3 10 1 Semaphore information display Figure 3 7 Semaphore Information Display RD850 SEMAPHORE File View Help TSK CG 1EF SEM List display area Semaphore detailed display area Tables 3 12 to 3 14 show the information displayed in the list display area and semaphore display area Table 3 12 Display Contents of List Display Area Existence of wait task TSK Wait task NON No wait task Table 3 13 Display Contents o
6. gt Stop or Execute gt Stop in the menu bar in the main window Next step execution may not function appropriately during RX processing A break may occur inside a subroutine 5 2 Reserved Words Symbols reserved by the RX850 and RD850 are listed below 5 2 1 RX definition symbols The RX and RX configurators are defined as external symbols and are referenced by the RD850 RX850 Sit SysintEnt RX system call name 5 2 2 Cautions on program creation for RD850 users To realize useful debugging functions using the RX850 for the RD850 the RX850 and RD850 have reserved symbols see section 5 2 1 RX definition symbols Using symbols that have the same name as these reserved symbols will interfere with the debugging functions of the RD850 Do not use the reserved symbols of the RX and RD850 in user programs User s Manual U13737EJ2VOUMO00 41 MEMO 42 User s Manual U13737EJ2VOUMO00 APPENDIX A A Activation STATUS ccccccccooonnncnnncconnnconononcnnoronennnononos 34 B Bit pattern iia AA 26 27 C GAB5 Ola cei et E EE EA hs tens EE 14 COMO E 14 D Directory Copfiouraton ce eeeeeeeeeneeeeeeeeeeeteneeees 15 E Error EES EIER HE 39 F File Melia a A N 21 G Global SyMboOIS occooooccccnnocccccononccnnonnonnnnonnnncnnonnnncnnnns 14 H A aL GEie 22 HLD check box 19 1 IDS5 Os EAEI EE ATEA AE AAEE ATAT 17 41 M Memory DlOCK A 24 31 32 N Next step executiON ooooocc
7. 9782 Fax 408 588 6130 800 729 9288 NEC Electronics Germany GmbH Duesseldorf Germany Tel 0211 65 03 02 Fax 0211 65 03 490 NEC Electronics UK Ltd Milton Keynes UK Tel 01908 691 133 Fax 01908 670 290 NEC Electronics Italiana s r l Milano Italy Tel 02 66 75 41 Fax 02 66 75 42 99 NEC Electronics Germany GmbH Benelux Office Eindhoven The Netherlands Tel 040 2445845 Fax 040 2444580 NEC Electronics France S A Velizy Villacoublay France Tel 01 30 67 58 00 Fax 01 30 67 58 99 NEC Electronics France S A Spain Office Madrid Spain Tel 91 504 2787 Fax 91 504 2860 NEC Electronics Germany GmbH Scandinavia Office Taeby Sweden Tel 08 63 80 820 Fax 08 63 80 388 User s Manual U13737EJ2VOUM00 NEC Electronics Hong Kong Ltd Hong Kong Tel 2886 9318 Fax 2886 9022 9044 NEC Electronics Hong Kong Ltd Seoul Branch Seoul Korea Tel 02 528 0303 Fax 02 528 4411 NEC Electronics Singapore Pte Ltd United Square Singapore 1130 Tel 65 253 8311 Fax 65 250 3583 NEC Electronics Taiwan Ltd Taipei Taiwan Tel 02 2719 2377 Fax 02 2719 5951 NEC do Brasil S A Electron Devices Division Rodovia Presidente Dutra Km 214 07210 902 Guarulhos SP Brasil Tel 55 11 6465 6810 Fax 55 11 6465 6829 J99 1 Major Revisions in This Edition Addition of supported host machine OS in 1 3 Operating Environment Modification of explanation in 2 1 Installation Modific
8. GENERAL 1 1 Functional Outline The RD850 consists of a debugger and geg y and provides powerful debugging functions for applications that use the RX850 The RD850 provides the following functions e e RTOS resource display function RTOS status change function Notes 1 TIP Tool Interface Protocol 2 RTOS Real Time Operating System 1 2 System Configuration The RD850 consists of a debugger and TIP which extends the debugger functions The system configuration of the RD850 is as follows Figure 1 1 RD850 System Configuration IE ROM monitor User s Manual U13737EJ2V0UM00 13 CHAPTER 1 GENERAL 1 3 Operating Environment A debugger environment is required to use the RD850 The operating environment of the RD850 is described below Host Machine CPU Pentium 100 MHz or faster Memory 32 MB or more OS Windows 95 Windows 98 or Windows NT 4 0 e Software Compiler CA850 from NEC CCV850 from Green Hills Software Inc Debugger TIP compatible debugger SM850 etc 1 4 Input Format 1 4 1 Numerical values Octal numbers decimal numbers and hexadecimal numbers can be input Octal O 0 7 Hexadecimal 0 xX 0 9a fA F Decimal Other than above The range of numerical values that can be input is as follows Octal 0 lt Numerical value lt 037777777777 Hexadecimal 0x0 lt Numerical value lt Oxffffffff Decimal 2147483648 lt Numeri
9. U13737EJ2VOUM00 7 Related Documents Read this manual together with the following documents The related documents indicated in this publication may include preliminary versions However preliminary versions are not marked as such Documents related to development tools user s manuals Document Name Document Number IE 703002 MC In circuit emulator for V851 V852 V853 V854 V850 SA1 V850 SB1 U11595E V850 SB2 V850 SV1 IE 703003 MC EM1 Peripheral I O board for V853 uer 1596E IE 703040 MC EM1 Peripheral I O board for V850 SV1 IE 703102 MC In circuit emulator for V850E MS1 IE V850E MC In circuit emulator for SE IE V850E MC A In circuit emulator for V850E1 U14487E NB85E core V850E MA1 IE 850E MC EM1 B IE V850E MC MM2 Peripheral I O board for V850E1 NB85E core 1D850 Ver 1 31 Integrated Debugger SM850 Ver 2 20 System Simulator 8 User s Manual U13737EJ2VOUMO00 CONTENTS GHAPTER T GENERAL 2 ai 13 1 1 Functional Outline wcsecciseesccsccrccctsccctecescessereerceveweceeeesnecteaesceeereeceececeesetee anaana iniaa anaana Wiis 13 1 2 System COMPIGQUPATION EE 13 1 3 Operating Environment in eege 14 1 4 A A ENEE AEOEEEAENEEEKE EENEG 14 14 4 Numerical valles 6 il let Rv A ee 14 14 2 SYMONS tects elena A ee ee Ee a 14 1 5 Symbol DISPLAY todabia 14 CHAPTER 2 INSTALLATION AND STARTUP ccccecsseceeeseeeeeeeseeeeeenseeeeeeeneaeseeeseeeseenenaes
10. customers agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely To minimize risks of damage to property or injury including death to persons arising from defects in NEC semiconductor products customers must incorporate sufficient safety measures in their design such as redundancy fire containment and anti failure features NEC semiconductor products are classified into the following three quality grades Standard Special and Specific The Specific quality grade applies only to semiconductor products developed based on a customer designated quality assurance program for a specific application The recommended applications of a semiconductor product depend on its quality grade as indicated below Customers must check the quality grade of each semiconductor product before using it in a particular application Standard Computers office equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots Special 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 life support systems and medical equipment for life
11. s Manual U13737EJ2VOUMO00 21 CHAPTER 3 WINDOW REFERENCE 3 6 3 Help menu The help menu consists of the following items RD850 File View Help Contents About RD850 Contents Opens the help file About RD850 Shows the RD850 version information 22 Users Manual U13737EJ2VOUMOO CHAPTER 3 WINDOW REFERENCE 3 7 Task Window 3 7 1 Task information display Figure 3 4 Task Information Display RD850 TASK tsk_main 1 tpl_1 c 15 _main RUN List display area Task detailed display area Tables 3 2 to 3 5 show the information shown in the list display area and the task detailed display area Table 3 2 Display Contents of List Display Area 2nd item Current task priority displays when the task status is DMT WTX WTX SUS Task status Remark Tasks are shown in the order of the ID number in the list display area User s Manual U13737EJ2VOUMO00 CHAPTER 3 WINDOW REFERENCE Table 3 3 Display Contents of Task Detailed Display Area Task start address If there is debug information File name line number symbol If there is a symbol Symbol If there is no symbol Address The statuses of the tasks shown in the list display area and task detailed display area are as follows Table 3 4 Tasks Displayed in List Display Area and Task Detailed Display Area If the task is in the wait status information additional to the status is displayed Table 3 5 Additional Task Information
12. support etc The quality grade of NEC semiconductor products is Standard unless otherwise expressly specified in NEC s data sheets or data books etc If customers wish to use NEC semiconductor products in applications not intended by NEC they must contact an NEC sales representative in advance to determine NEC s willingness to support a given application Note 1 NEC as used in this statement means NEC Corporation and also includes its majority owned subsidiaries 2 NEC semiconductor products means any semiconductor product developed or manufactured by or for NEC as defined above M8E 00 4 User s Manual U13737EJ2VOUM00 Regional Information Some information contained in this document may vary from country to country Before using any NEC product in your application please contact the NEC office in your country to obtain a list of authorized representatives and distributors They will verify Device availability Ordering information Product release schedule Availability of related technical literature Development environment specifications for example specifications for third party tools and components host computers power plugs AC supply voltages and so forth Network requirements In addition trademarks registered trademarks export restrictions and other legal issues may also vary from country to country NEC Electronics Inc U S Santa Clara California Tel 408 588 6000 800 366
13. 13737EJ2VOUMO00 LIST OF FIGURES Figure No Title Page 1 1 RD850 System ee tele 13 3 1 Resource Information Display WiNdOW AA 17 3 2 Example of Resource Information Display Window Display AAA 18 3 3 Detailed Display o i 19 3 4 Task Information Display iaa 23 3 5 Event Flag Information D Sp A a a ai r a KAES AOE a EENET EAR SETER NS 26 3 6 1 Bit Event Flag Information Display 27 3 7 Semaphore Information Display AAA 28 3 8 Mailbox Information DIS Ay e aaea e e ra a aaa a a a Ae a a a Ae AA ea NEERA ESAI AE EEE AARSE EERI 29 3 9 Fixed Length Memory Pool Information Display AN 31 3 10 Variable Length Memory Pool Detailed Display 32 3 11 Cyclic Startup Handler Information Display 34 3 12 System Queue Information Display 36 User s Manual U13737EJ2VOUM00 11 LIST OF TABLES Table No Title Page 3 1 Description of Selection Buttons kA 20 3 2 Display Contents of List Display Area cinco co io EAn 23 3 3 Display Contents of Task Detailed Display Area oooooonncncinncnnnnccnnncnnocncoonncnnnncnonnnnnn nn ronca nan cc nn carr cnn carr ran nn rnnnns 24 3 4 Tasks Displayed in List Display Area and Task Detailed Display Area AA 24 3 5 Additional Task Information oi iio 24 3 6 Display Contents of List Display Area 26 3 7 Display Contents of Event Flag Detailed Display Are 26 3 8 Display of Event Flag Wait TaskS AAA 26 3 9 Display Contents of List Display Area 27 3 10 Display Contents of 1 Bit Event Flag Detailed Display Area
14. Activation status TCY_ON TCY_OFF TCY_ULNk Table 3 26 Display Contents of Cyclic Startup Handler Detailed Display Area Cyclic startup handler name Cyclic startup handler number Cyclic startup handler start address If there is debug information File name line number symbol If there is a symbol Symbol If there is no symbol Address Cyclic startup interval Activation status 34 User s Manual U13737EJ2VOUMO00 CHAPTER 3 WINDOW REFERENCE The activation statuses of the list display area and cyclic startup handler detailed display area are as follows Table 3 27 Activation Statuses of List Display Area and Cyclic Startup Handler Detailed Display Area TCY_ON Started up status TCY_OFF Not started up status TCY_ULNK TCY_OFF status and removed from timer queue 3 14 2 Cyclic startup handler source display By double clicking the entry line in the cyclic startup handler detailed display area the Source window of the debugger is opened if there is debug information and the Assembler window of the debugger is opened if there is no debug information User s Manual U13737EJ2V0UM0O 35 CHAPTER 3 WINDOW REFERENCE 3 15 System Queue Window 3 15 1 System queue information display 36 Figure 3 12 System Queue Information Display RD850 SYSTEM QUEUE File View Help TSK TimerQueue tsk6 4096 ReadyQueue 3 ReadyQueue 5 AE Ru Om LP SSS G i O List display area System queue detailed displa
15. Figure 3 2 18 User s Manual U13737EJ2VOUMOO0 CHAPTER 3 WINDOW REFERENCE 3 2 Detailed Display At the debug stage resource lists are required as is detailed resource information In this case click the resource for which you want to display detailed information When a resource is clicked the detailed information for that resource is displayed in the right area of the window Figure 3 3 Detailed Display TASK_WUPCNT 6 RDY TASK_SUSCNT 6 SUS 3 SLP 3 SLP SUS 3 DLY 3 DLY SUS 3 SEM 3 SEM TIM 3 SEM SUS 3 EVF 3 EYF TIM 3 EVF SUS 3 1EF 3 1EF TIM 3 1EF SUS 3 MBX 3 MBX TIM Figure 3 3 shows an example of tasks but the operation is the same for all other resources 3 3 Display Fixing TASK_SEM1 10 task c 153 _task_sem1 SEM SEM1 The HLD check box at the lower left corner of the window is a switch that fixes the status currently displayed Normally it is OFF When the HLD check box is set to ON the display information is not updated until the check box is set to OFF again regardless of whether program execution or breaks occur thereafter By using this function statuses at different times can easily be compared by starting up several RD850 User s Manual U13737EJ2VOUMO00 19 CHAPTER 3 WINDOW REFERENCE 3 4 Title Bar The title bar shows the type of resource currently selected The title format is as follows
16. Manual Installation U13410E User s Manual U13737EJ2VOUMO00 15 CHAPTER 2 INSTALLATION AND STARTUP 2 3 Starting the Debugger The RD850 is described using the Tcl Tk script language Therefore the RD850 itself is not an execution file Moreover since the RD850 operates while communicating with the debugger it requires a Tcl Tk that includes a communication mechanism This expanded Tcl Tk is called wishtip file name wishtip exe The RD850 is interpreted and executed using wishtip There are two methods to start up the RD850 1 Startup using startup parameter of wishtip 2 Double clicking icon after linking with wishtip The operation is the same with either of these startup methods but method 2 is recommended because it is the simpler of the two For the linking method see the Windows manual 16 User s Manual U13737EJ2VOUMO00 CHAPTER 3 WINDOW REFERENCE The RD850 is started up with the startup methods described in section 2 3 Starting the Debugger However it cannot be used just on its own The RD850 operates by collecting information via the debugger so it must operate at the same time as the debugger For the operation of the debugger refer to the ID850 Ver 2 20 Integrated Debugger User s Manual Operation Windows Based U14580E When the RD850 starts up the following window appears Figure 3 1 Resource Information Display Window Title bar RD850 Menu bar gt Eile View Help TSE 1EF SEM
17. O O RX703000 OO User s Manual NEC RD850 Task Debugger Windows Based Target Devices V850 Family Target Real Time OS RX850 Ver 3 13 Target Task Debugger RD850 Ver 3 01 Document No U13737EJ2VOUMO0 2nd edition Date Published June 2000 N CP K NEC Corporation 1998 2000 Printed in Japan MEMO User s Manual U13737EJ2VOUM00 V800 Series V850 Family V851 V852 V853 V854 V850 SA1 V850 SB1 V850 SB2 V850 SV1 V850E MS1 V850E MA1 and V850E IA1 are trademarks of NEC Corporation UNIX is a registered trademark in the United States and other countries licensed exclusively through X Open Company Limited Windows and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and or other countries Pentium is a trademark of Intel Corporation Green Hills Software is a trademark of Green Hills Software Inc User s Manual U13737EJ2VOUM00 3 The export of this product from Japan is regulated by the Japanese government To export this product may be prohibited without governmental license the need for which must be judged by the customer The export or re export of this product from a country other than Japan may also be prohibited without a license from that country Please call an NEC sales representative The information in this document is current as of June 2000 The information is subject to change without notice For actual design in refer to the latest
18. Selection buttons E a Ga Ka HLD check box List display area Detailed display area At this time the RTOS resource information etc is not displayed User s Manual U13737EJ2V0UM0O 17 CHAPTER 3 WINDOW REFERENCE 3 1 List Display To display resource information click the buttons lined up on the left side of the window There are nine buttons lined up vertically By pressing them it is possible to display tasks event flags 1 bit event flags semaphores the mailbox fixed length memory pool variable length memory pool cyclic startup handler and system queue information However the following conditions are required to display this information 1 The application linking the RX850 to the debugger must be loaded 2 OS initialization must complete Remark 2 is no problem if control is transferred to the task that operates first The operation is not guaranteed if selection buttons are pressed while these conditions are not satisfied A task information example is shown below Figure 3 2 Example of Resource Information Display Window Display help TASK_WUPCNT 6 RDY TASK_SUSCNT 6 SUS 3 SLP 3 SLP SUS 3 DLY 3 DLY SUS 3 SEM 3 SEM TIM 3 SEM SUS 3 EVF 3 EVF TIM 3 EVF SUS 3 1EF 3 1EF TIM 3 1EF SUS 3 MBX 3 MBX TIM A list of the resources corresponding to the pressed button is displayed as shown in
19. ation of explanation in 2 2 Directory Configuration Addition of APPENDIX B REVISION HISTORY The mark x shows major revised points 6 User s Manual U13737EJ2VOUM00 Target readers Purpose Organization How to read this manual Conventions INTRODUCTION This manual is intended for users who design and develop application systems using V850 Family products This manual describes the functions of the RD850 following the organization listed below This manual consists of the following major sections e General e Installation and startup method e Window reference e Error messages e Cautions 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 Family Refer to the User s Manual Hardware of each product To understand the instruction functions of the V850 Family Refer to the V850 Family User s Manual Architecture U10243E 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 Binary XXXX or XXXXB Decimal XXXX Hexadecimal OxXXXX Prefixes indicating power of 2 address space memory capacity K kilo 2 1024 M mega 2 1024 User s Manual
20. cal value lt 4294967295 1 4 2 Symbols Global symbols of assembly language level are used Usable characters depend on the language processing system 1 5 Symbol Display Entry address symbols are displayed as Detailed Display area task and cyclic startup handler symbols but if symbols do not exist the entry address is display in hexadecimal notation 14 Users Manual U13737EJ2VOUMO0O CHAPTER 2 INSTALLATION AND STARTUP D 2 1 Installation This section describes the RD850 s installation procedure 1 Start up Windows 2 Start up the installation program in the RD850 s release media Use either of the following installation programs Japanese setup_j exe English setup_e exe 3 Perform the setup procedure by following the messages displayed on the screen D 2 2 Directory Configuration After installing the RD850 the configuration of the directory related to the RD850 is as follows Install directory bin Execution file wishtip exe rd850 tcl etc hlp Help file lib T tcl7 6 Tcl7 6 library tk4 2 Tk4 2 library windows TIP library tipxdbg dll RD850 TIP processing library tipdbg dll Debugger TIP processing library tipcmm dll TIP processing common library Tcl Tk library tcl76 dll tcl1676 dll tcltip76 dll tk42 dll Because the RD850 is included in the RX850 object release package the RX850 installer is used for installation For the details of the installation procedure refer to RX850 User s
21. cconoccncconnancncnannnnnnnannnnnnnnnos 41 R ADO ii Na eh Reels So 13 17 41 Reserved words 41 Resource count cooooccccnnncccncnnconnnnnnnononaronnnnnonanonaronennns 28 Resource information ooccccccncccnononcnnnnnocinonanononnns 18 Resource information 1 bit event Tags cee cceeceeeeeeeeeeeneeeeeeees 18 27 Cyclic startup handler ocooccccninccinccnnonacincccnnnos 18 34 Event lag WEE 18 26 Fixed length memory Do 18 31 INDEX Ma iIDOX iceceetts esain anea 18 29 Se Ve ICT 37 Semaphore io isis 18 28 System QUBUB ooccccncccnoccnonnnononcnnnnconancnnnncnranoss 18 36 RT EE 18 23 Timer QUOUC issih ee ds 37 Variable length memory Do 18 32 RTOS Since tite esd a its 13 RX definition symbol AA 41 RXS iaa aia 13 18 41 S Script language cooconocccnoccconcccnocaconcncnnncnanononnncnnncncnno 16 M8 gestreet e peter a deh A 14 SOUTCO WINdOW EE 35 Systemicall liviana ida rales 33 m task nannaa iE 26 27 28 30 31 32 MP E se octets ET 13 15 Title baea e ia aa 17 V Version information ooooccononcccnononcnonanancnnnancnananannnnnnns 22 VIEW EE 21 User s Manual U13737EJ2VOUMO0 43 MEMO 44 User s Manual U13737EJ2VOUMO00 APPENDIX B REVISION HISTORY A history of the revisions up to this edition is shown below Applied to indicates the chapters to which the revision was applied Applied to Second edition Addition of target OS to operating environment host machine CHAPTER 1 GENERAL Mod
22. e status cannot be changed because the system is in the interrupt disabled status Retry after setting the interrupt enable status Error contents RX is not loaded Load RX User s Manual U13737EJ2VOUMO0 39 MEMO 40 User s Manual U13737EJ2VOUMO0O0 CHAPTER 5 CAUTIONS This chapter describes cautions that apply to debugging a load module incorporating the RX850 using the ID850 integrated debugger including the RD850 5 1 Next Step Execution When debugging a load module that incorporates the RX850 observe sthe following three points when executing the next step 1 2 3 Do not next step execute the ext_tsk Tasks which are next step executed hereafter known as target tasks simply terminate and no break occurs Even if a break occurs it may occur during processing after sta_tsk is issued for the next target task or a task sharing a task with the target task Even if no break has occurred H may occur by selecting Execute X gt Stop or Execute gt Stop in the menu bar in the main window Be careful with next step execution of tasks for which ter_tsk can be performed If ter_tsk is performed during next step execution the target task simply terminates and no break occurs Even if a break occurs it may occur during processing after sta_tsk is issued for the next target task or a task sharing a task with the target task Even if no break has occurred a break may occur by selecting Execute X
23. eeesaeeeeeenes 15 EIVCHEN 15 2 2 Directory Configuration ee 15 2 3 Starting the Debug Le EE 16 CHAPTER 3 WINDOW REFERENCE ccccssccccssssceesssscceessseeceesnseecensnseccensnseeceesnseeeesnseesensnsensoess 17 co List DiSplQY E A E A E A E 18 3 2 Detailed Display sseccsscseeressseesesscenessceeesessneesessenesenscceeseseneesesencessnsnceesasenessesensesenencesensnesensenseseneneesenses 19 3 3 Display FIX ING DE 19 E A ees 20 3 5 Selection BUItOnS 0000 a 20 3 6 Men Bal accionaria aia AN AAN AAA SANA AAA ESA ANA i 21 En E En EE EA 3 0 2 En EE 21 3 6 3 Help Menu ia 22 3 7 O O 23 3 7 1 Task TN e e e aiai a EE a 23 3 122 Fask Source display constata na ee i EE 25 3 8 Event Flag Window aseene ia ee aeaaaee eaae a aaraa raan aaa a AEEA EAn rae EN Aaa a E An OA aaar aaa aean aa SENE 26 3 8 1 Event flag information display ccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseaeeseaeeseaeeeeaeeseaeeseaeeseaeeseeeseaeeeeeeneeesieeeeaes 26 3 9 1 Bit Event Flag WiNdOW oonmcccinnnicccnnnccnncccncccnercrc cc 27 3 9 1 1 bit event flag information deplay cnn rnon cnn nano cnn nar nnnrnnrn rn rnnr rr rre nn narran 27 3 10 Semaphore WiNdOW nnmccccicmc rn 28 3 10 1 Semaphore information display AAA 28 3 11 Mailbox Wind OW ico a 29 34111 Mailbox information display citan a tica 29 3 11 2 Message Memory deplem cis cc c esc ccsassdecaddcsasenaecsazeidacsassaadeneacadecnassiatepascaidchaeagasnasceiasaaseiacdenaveapesnancaie 20
24. f Semaphore Detailed Display Area If there is a task that waits for a semaphore the following information is displayed Table 3 14 Semaphore Wait Task Display Wait task name 28 User s Manual U13737EJ2V0UM00O CHAPTER 3 WINDOW REFERENCE 3 11 Mailbox Window 3 11 1 Mailbox information display Figure 3 8 Mailbox Information Display RDS50 MAILB File View TSK mbx2 NON name mbx1 mbx1 TSE mbxid 2 EVF mopt TA_MFIFO wait tsk 1EF tsk2 tsk SEM tsk4 MBX Ill AA List display area Mailbox detailed display area RD850 MA LB IO File Vie Help me 2 MON e mbxi TSK EVF message addr 1EF Ox 101074 Ox 100ff4 SEM Ox 100f74 Ce Tables 3 15 to 3 18 show the information displayed in the list display area and mailbox detailed display area User s Manual U13737EJ2VOUMO00 29 CHAPTER 3 WINDOW REFERENCE Table 3 15 Display Contents of List Display Area 2nd item Existence of wait task TKS Wait task MSG Receive wait message NON No wait task no receive wait message Table 3 16 Display Contents of Mailbox Detailed Display Area If a task waiting for a message exists the following information is displayed Table 3 17 Message Wait Task Display Wait task name If a message exists the following information is displayed Table 3 18 Information when Messages Exist message Message address 3 11 2 Message
25. ification of explanation for installation method CHAPTER 2 INSTALLATION Modification of explanation for directory configuration AND STARTUP Modification of directory configuration diagram User s Manual U13737EJ2V0UM0O 45 46 MEMO User s Manual U13737EJ2VOUMO00 NEC Although NEC has taken all possible steps essage to ensure that the documentation supplied to our customers is complete bug free and up to date we readily accept that From errors may occur Despite all the care and precautions we ve taken you may Name encounter problems in the documentation Please complete this form whenever Company you d like to report errors or suggest improvements to us Tel FAX Address Thank you for your kind support North America Hong Kong Philippines Oceania Asian Nations except Philippines NEC Electronics Inc NEC Electronics Hong Kong Ltd NEC Electronics Singapore Pte Ltd Corporate Communications Dept Fax 852 2886 9022 9044 Fax 65 250 3583 Fax 1 800 729 9288 1 408 588 6130 Korea Japan NEC Electronics Hong Kong Ltd NEC Semiconductor Technical Hotline EE Sogu Branch Fax 044 548 7900 Fax 02 528 4411 Europe Technical Documentation Dept Fax 49 211 6503 274 South America Taiwan NEC do Brasil S A NEC Electronics Taiwan Ltd Fax 55 11 6465 6829 Fax 02 2719 5951 I would like to report the following error make the following suggestion Document title Docu
26. memory display The debugger s Memory window can be opened by double clicking the message line of the mailbox detailed display area 30 User s Manual U13737EJ2VOUMO0 CHAPTER 3 WINDOW REFERENCE 3 12 Fixed Length Memory Pool Window 3 12 1 Fixed Length Memory Pool Information Display Figure 3 9 Fixed Length Memory Pool Information Display RDS50 FIXED SIZE MEMOR File View TSK mpf1 TSK mp 2 NON EVF 1EF SEM ES Ce List display area Fixed length memory pool detailed display area Tables 3 19 to 3 21 show the information displayed in the list display area and fixed length memory pool detailed display area Table 3 19 Display Contents of List Display Area List display area Fixed length memory pool name Existence of wait task TSK Wait task NON No wait task Table 3 20 Display Contents of Fixed Length Memory Pool Detailed Display Area If there is a task that waits for a memory block the following information is displayed Table 3 21 Memory Block Wait Task Display Wait task name User s Manual U13737EJ2V0UM0O 31 CHAPTER 3 WINDOW REFERENCE 3 13 Variable Length Memory Pool Window 3 13 1 Variable length memory pool information display Figure 3 10 Variable Length Memory Pool Detailed Display RD350 VARIABLE SIZE MEMORY POO File View Tsk mp11 1d 1 EVF 0x100000 ize 0x28 1EF 0x10 0x10 SEM MBX List display area Va
27. ment number Page number If possible please fax the referenced page or drawing Document Rating Excellent Acceptable Clarity a Technical Accuracy a Organization m
28. publications of NEC s data sheets or data books etc for the most up to date specifications of NEC semiconductor products Not all products and or types are available in every country Please check with an NEC sales representative for availability and additional information No part of this document may be copied or reproduced in any form or by any means without prior written consent of NEC NEC assumes no responsibility for any errors that may appear in this document NEC 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 NEC semiconductor products listed in this document or any other liability arising from the use of such products No license express implied or otherwise is granted under any patents copyrights or other intellectual property rights of NEC or others Descriptions of circuits software and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples The incorporation of these circuits software and information in the design of customer s equipment shall be done under the full responsibility of customer NEC assumes no responsibility for any losses incurred by customers or third parties arising from the use of these circuits software and information While NEC endeavours to enhance the quality reliability and safety of NEC semiconductor products
29. riable length memory pool detailed display area Tables 3 22 to 3 24 show the information displayed in the list display area and variable length memory pool detailed display area Table 3 22 Display Contents of List Display Area List display area Variable length memory pool name Existence of wait task TSK Wait task NON No wait task Table 3 23 Display Contents of Variable Length Memory Pool Detailed Display Area Variable length memory pool name Variable length memory pool ID If there is a task that waits for a memory block the following information is displayed 32 User s Manual U13737EJ2VOUMOO CHAPTER 3 WINDOW REFERENCE Label Table 3 24 Memory Block Wait Task Display Contents Wait task name size Wait block size Unit byte The value that is the result of adding the 4 bytes required by the OS is displayed upon request with a system call User s Manual U13737EJ2V0UM0O 33 CHAPTER 3 WINDOW REFERENCE 3 14 Cyclic Startup Handler Window 3 14 1 Cyclic startup handler information display Figure 3 11 Cyclic Startup Handler Information Display File View cycl 1 tpd_1 c 44 _cychdr 256 List display area Cyclic startup handler detailed display area Tables 3 25 to 3 27 show the information displayed in the list display area and cyclic startup handler detailed display area Table 3 25 Display Contents of List Display Area List display area Cyclic startup handler name
30. y area RD850 SYSTEM QUEUE Bisi x File Vie Help TSK TimerQueue ReladyQueue 3 EVF ReadyQueue 5 1EF SEM MBX MPF User s Manual U13737EJ2VOUMO00 CHAPTER 3 WINDOW REFERENCE The system queue information display shows the timer queue and ready queue information Tables 3 28 to 3 30 show the information displayed in the list display area and system queue detailed display area Table 3 28 Display Contents of List Display Area List display area System queue name TimerQueue ReadyQueue Priority None in the case of timer queue Table 3 29 Display Contents of System Queue Detailed Display Area Timer Queue Display Cyclic startup handler name task name wait block count Table 3 30 Display Contents of System Queue Detailed Display Area Ready Queue Display User s Manual U13737EJ2V0UM0O 37 MEMO 38 User s Manual U13737EJ2V0UM00 CHAPTER 4 ERROR MESSAGES The description of error messages is done in the following format Error No The error number Error message Message that is output Error contents The contents of the message that is output The error messages are listed below Error contents Displayed when the display resources are changed or a status is changed when the status is not the break status Operation when in the break status Error No 1200 Error message Maybe RX not loaded Error No 1300 Error message Interrupt Disabled Error contents Th
Download Pdf Manuals
Related Search
Related Contents
CNB Technology A1263PL Hilti 3423950 Use and Care Manual seismic pavement analyzer operations manual with technical s Benutzerhandbuch GTH-844 from SN GTH0813-16606 (PN 218230) USER MANUAL 仕 様 書 取扱説明書 Seguridad - Facultad de Ciencias Agrarias 新着図書を紹介します Copyright © All rights reserved.
Failed to retrieve file