Home
CW Workbench Operating Manual
Contents
1. Installer License Agreement By selecting I ACCEPT the terms of this license agreement and clicking Next you consent to the terms of this agreement If you do not wish to be bound by the terms of this agreement click Cancel and do not install this software Aj THE SOFTWARE AND ACCOMPANYING DOCUMENTATION ARE WIND RIVER PROPERTY AND PROTECTED BY UNITED STATES COPYRIGHT LAW AND INTERNATIONAL TREATY UNAUTHORIZED USE REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES BY CLICKING ON THE I ACCEPT BUTTON YOU ACKNOWLEDGE THAT YOU HAVE ENTERED INTO AN AGREEMENT WITH MITSUBISHI ELECTRIC CORPORATION RELATED TO YOUR USE OF THIS PRODUCT O4April2010 1 ACCEPT the terms of this license agreement OIDO NOT ACCEPT the terms of this license agreement Cog JD lt s jJ ae NECNN S7 To the next page Select I ACCEPT the terms of this license agreement and click the Net button CHAPTER 6 INSTALLATION AND UNINSTALLATION 5 To continue the installation select one of the following procedures If the permanent license file is not obtained Installation using a temporary license a personal computer can be connected to the Internet c 1 2 3 Page 32 Installation using an install key on the DVD ROM a personal computer cannot be connected to the Internet c 4 L gt Page 34 If the permanent license file is obtained Installation using a permanent
2. LL 38 51 Product with license 2 000000 eee 14 Project Explorer window LL 55 Remote Systems window 55 Sample programs llle 38 Setting Optimization Option 72 Setting Target Server 00002 eee eee T5 Se A kx d E EE EE NAP S ER E ES 83 Specifications ua aacenkco ku ck dodo Ck n 17 SUDDON maarr 8s ER e464 5 he bn d ea 09 QR aS 119 the installation location 29 TROUBLESHOOTING nnn 96 Uninstallation 2252 a2 oye EO ow ee E era 39 Updated license product 0 15 Hi eg ie iw ode yw ais ke Se eh es ac oe 12 W window Memory Browser window 55 VxWOrks aaa ee ee 11 VxWorks 6 4 1 Application Developer 38 VxWorks 6 8 1 Application Developer 38 51 VxWorks COMX 000 5 eee e eee 38 51 VxWorks Development Shell 38 51 Wind River Registry for Workbench 3 2 38 41 51 Wind River Systems Inc llle 11 Wind River Workbench 3 2 sess 13 REVISIONS The manual number is given on the bottom left of the back cover Print date Jan 2011 SH NA 080982ENG A First edition MANUAL PAGE ORGANIZATION GENERIC TERMS AND ABBREVIATION TERMS Section 2 1 Section 2 2 Section 2 3 Section 2 4 Section 3 1 Section 3 2 Section 5 1 Dec 2012 SH NA 080982ENG B Section 6 1 1 Section 6 1 2 Sect
3. CW Workbench cannot be connected to the C Controller module When Connect is executed on the Remote Systems window an application error occurs and CW Workbench cannot be connected to the C Controller module Failed to Target server Connect to Target connection The connection status of the Remote Systems suddenly changes from Connected to Disconnected The selected target connections are not imported out file cannot be downloaded on the C Controller module Downloading out file sometimes cannot be downloaded on the C Controller module Installation using a temporary license After an LAC code and user information are entered and the button is clicked an error message appears and the installation does not progress 96 Reference Page 97 Section 11 1 1 Page 97 Section 11 1 2 Page 97 Section 11 1 3 Page 98 Section 11 1 4 Page 99 Section 11 1 5 Page 100 Section 11 2 1 Page 100 Section 11 2 2 Page 100 Section 11 2 3 Page 101 Section 11 3 1 Page 102 Section 11 3 2 Page 102 Section 11 3 3 Page 103 Section 11 3 4 Page 103 Section 11 3 5 Page 104 Section 11 4 1 Page 105 Section 11 4 2 Page 105 Section 11 4 3 Page 106 Section 11 5 1 Page 106 Section 11 5 2 Page 107 Section 11 6 1 CHAPTER 11 TROUBLESHOOTING 11 1 Basic Operation 1 The CW Workbench installer has stopped working half way through Or the i
4. license co License TE Ethernet file Application Form CW Workbench CW Workbench SW1DND CWWLQ12 E User program creating and building SW1DND CWWLQ24 E 2 Additional license product mm Permanent B amp Permanent license co zi License file Application Form C Controller module CW Workbench SW1DND CWWLQ12 EZ CW Workbench SW1DND CWWLQ24 EZ Ethernet Q CW Workbench CW Workbench SW1 DND CWWLQ1 2 E User program creating and building SW1DND CWWLQ24 E 1 The DVD ROM is not included with the CW Workbench additional license product SW1DND CWWLQ12 EZ To install CW Workbench the DVD ROM included with the CW Workbench product with license SW1DND CWWLQ12 E is required 2 The DVD ROM is not included with the CW Workbench additional license product SW1DND CWWLQ24 EZ To install CW Workbench the DVD ROM included with the CW Workbench product with license SW1DND CWWLQ24 E is required 14 CHAPTER 2 SYSTEM CONFIGURATION 3 Updated license product C Controller module C Controller module Q12DCCPU V Q24DHCCPU V VG User program debugging SW1DND CWWLQ24 E Permanent Permanent EI F4 E license co x License file Application Form CW Workbench J SW1DND CWWLQ24 EVZ 1 User program debugging SW1DND CWWLQ12 E Q CW Workbench bi rad NN SW1DND CWWLQ12 E User program creating and building SW1DND CWWLQ12 E 24 SW1 DND C
5. Build Properties gt Build Support and Specs E Build Tools ne Builders Genera Build tool C Compiler Project Info Project References e Refactoring History Suffixes kc Run Debue Settings Task Taes Build output generation Validation Generated build output is an object Generated build output is a build target Build target can be p Build spec specific settings Active build spec Derived suffix Command Tool Flags Debue mode flags Debug mode Non Debug mode SH 50gnule o echo building Xccompilerprefix TOOL_PATHccsh Debug ModeF lags ool a el a CFLAGS SIncludes 4ADDED INCLUDES CPL DTOOL FAMILYS COOL FAMILY DTOOL TOOL D WRS KERNEL CC ARCH SPEO ansi Wall MD MP 02 fno builtin Apply Symbol Description i Menunameonamens bar 000000 os Screen name or item name on a screen Button on a screen Keyboard key Reference page Reference manual Example Project il Build tool lt lt Build Tools GENERIC TERMS AND ABBREVIATIONS Generic term abbreviation Q24DHCCPU V Q24DHCCPU VG Q12DCCPU V Q12DCCPU V Basic mode Q12DCCPU V Extended mode C Controller module Setting monitoring tools for the C Controller module VxWorks Wind River Workbench CW Workbench VxSim CW Sim CW Sim Sta
6. UserProject If the Generate Includes Le pn Problems Feeds 4 Eid Build Console 53 Command make no print directors BUILD_SPEC a us MODE 0 TRACE 1 clean all Working Directory C WindRiver workspace UserProject SH7750enule make removing targets and objects of C WindRiver workspace User Project SH7750enule if d 7 UserProject J then cd ier Project rm rf NonDebue fi 4 d YserProject partiallmage then cd UserProject partialImage rm rf NonDebue fi if d dir User Project qi dual NonDebug Objects l UserProject Sampleo then mkdir p dirname UserProject_partiallmage NonDebue Objects UserPro building User Proj ect_partiallmage NonDebue Objects UserProject Sam if d dirname UeerP rojen portiallimage NonD ebur lil ar Ben mago y then mkdir p dimame UserProject_partiallmage NonDebue UserProject_partiallm building UserProject_partiallm mage No nDebue UserProject_partiallm mage if d dirname UserProject NonDebug UserProjectout J then mkdir p raang UserProject NonDebue UserProject out fiecho building UserProject NonDebu building Oe ee ie ectout make built targets of C WindRiver workspace UserProject SH7750enule Build Finished in Project grape 2010 10 30 14 50 27 3 Ifthe message shown to the left appears click the Continue button The build process is displayed on the Build Console window Build Finished is d
7. Set event poll interval msec default 200 Cp Startup file of shell commands to execute s Other Options Show this dialog before host shell starts i94 2 Shell starts WIND RIVER Development JNPON Jejouo2 2 eui 0 uoueqxoM MI 19euuo2 0 MOH 0l Host ased on Completed 83 10 3 Downloading Module Follow the instructions below to download a module file on the C Controller module The module is used for an application such as to download a file on the memory on the C Controller module and start a task from the shell VWelorke6x 192 168 3 3 Wind River VxWorks 64 SMe Wind River Target Debugger Wind River VxWorks 64 GS Veelorks 64 5 H7780 stateless SH7780 H S Kernel Tasks mL TU Man Basic Device Development CW Workbench 2 File Edit Source Refactor Navigate Search Project Run Window Help Mo ilem iE 9o o n MO imm i oO Ee s a Y TO cetting starter B E EntryWDTInt Wind River VxWorks 6 4 Downloadable Kernel Module Project El gN TestProj Wind River VxWorks 6 4 Downloadable Kernel Module Project Gl VH UserProject Wind River Vx Works 6 4 Downloadable Kernel Module Project M Build Targets SH7750enule Ws Wind River Launches 8 i Binaries UserProject_partiallmage o sh le SH 750gnule UserProject_partiallmage o sh le SH7750gnule debug UserProject out sh le SH 750gnule UserProject out sh le SH 75
8. select your hard disk serial number as your host ID instead C e JL lt Back J NS 3 Installer User Information Please enter your contact information and License Authorization Code LAC Note Required fields are marked with an asterisk 6 LAC User Name Mitsubishi Electric Corporation 1 14 Yada minami 5 chome Higashi ku Company Address1 Address2 City Nagoya State Aichi Japan 461 8670 81 52 712 2278 Country Zip Code E mail Phone me lt Back mec Ta 32 Check the content of Note on the window Select either Ethernet Adapter or Disk Serial Number for the Host ID and click the Next gt button Enter a License Authorization Code LAC and user information listed below and click the CHAPTER 6 INSTALLATION AND UNINSTALLATION Point Use alphanumeric characters for the LAC and user information Items with a mark on the window must be entered correctly License Authorization Code id described in the License Agreement included with CW Workbench User Name User name Company Company name Address1 Address such as town name and block number Address2 Building name etc can be left blank City City State State Country Country Zip Code Zip code E mail E mail address Phone Phone number M Go to the step 6 Page 36 L9 uonel
9. w nmt e Bus interface function QbfFunc h T MELSEC data link function Mdfunc h e uum C Controller module dedicated function T CcpuFunc h c For Q12DCCPU V e Bus interface function QbfFunc h e MELSEC data link function Mdfunc h X Completed joeloud Bunesg 1 9 63 2 Adding source file Follow the instructions below to add a source file that has been already created to the project 1 Copy the created source file to the current folder of C WserProject SELARA a project to be added File Edit wiew Favorites Tools Help O Back a pe Search Wey Folders Bat Es Address So i Folders Mame E E gt UserProject A QsIMNtonu project to be added UserProject on the Explorer E B SIMNTgnu E CommonDef h E ic UserProject l E Entry Vp TInE c 9 Debug Sample c 3 UserProject_partiall E Eg WINDOWS vi ii x a Type File Date Modified 3 23 2010 2 57 4 89 KB X My Computer Copy EntryWDTInt c to the current folder of the 2 Select the project to be added on the Project Explorer window Select Refresh in the pop up menu Otro Ctrlev 3 Delete D elete Hename F2 Mowe Attributes pag Import gg Export Open Wind River VxWorks 64 Development Shell Build Project Ctrl Shitt 4 NS Rebuild Project Build Options k E Retresh mellow Pete ak H 9 The file EntryWDTInt c copied in the step 1 has Em
10. 5 0 2 5 22 5 5 5 2 2 22 inserted on the Breakpoint window id StatusCheckRt s E MEM Clearing the check box of the breakpoint information on novia cd the Breakpoints window disables the breakpoint being long plInfo 15 inserted without canceling the breakpoint long event 4 TD poo unsigned long ulBufSize Breakpoints 22 x A ae pete une i x RB ENRLIES if ret O Q 00000000000 e amp TestPraj EntryWDTInt c 81 amp Planted Restricted Scope printf OBF Open error ret thd hxH jin ret ret return To add a breakpoint double click on the left edge of the edit window at the line where the breakpoint is to be set The breakpoint can be removed by a double click once more V7 To the next page 89 yse euo Buibbngeq vp 0L ujeJ6o44 65nqeq 01 MOH t 0l 8 Click the H button to restart the task operation bes sm How to see the status of the task operation x at D cop ss The following table lists how to see the status of the task E ah fe I T l l i d i T operation based on enabled or disabled status of the E s Entry WD TMain Entry WDTIntout VsxWorks amp x 192 168 3 3 vx E eg eye O00 Task Made three buttons Resume jf Suspend HH and om Lr pone Ox49582F BC Stopped SS EntrywWwOTMain Entry WDTINLE43 Terminate B ZS vx Task Entry 0 Ox490496aa bee pal tEntreswWOT Main x43382 FBC Button status Task operation
11. On the Project Explorer window right click a Basic Device Development CW Workbench File Edit Source Refactor Navigate Search Project Run Window Hel a LLL project where a file is added Select from the pop up MTS ei m OQ 4 in t g o om Project Explorer 3 E Sth gt YO Gettine Started 2N menu New gt File amp User Project Wind River VxWorks 6 4 Downloadable Kerns BEES s Go Int Bald E Build Target Copy Ctrl C pt DTD f Paste Ctrl V File 3 Delete Delete iy File from Template Point TO Various files can be added to the project using the new file addition function File gt gt New gt File or Refresh However note the following before adding files to the project Do not add projects with the same name as the project name Ifa file with the same name as the project name exists in the project do not use the Rename function of CW Workbench for the file Delete the file from the project if possible Note that the file is also deleted from the hard disk Change the file name on the Explorer if the file cannot be deleted After changing the file name on the Explorer execute Refresh in the pop up menu of the project Ifa file name is the same as a project name and is changed using Rename of CW Workbench the build cannot be executed 34 15 Enter a file name of a source file for File name w New File File
12. Overall License for the Wind River Workbench Invalid host The hostid of this system does not match the hostid specitied in the license file Feature WR WORE BENCH Hosztid REEL License path C xWindRiver license s WES License ic CAW REO X licenze Cw RECA license CAP Bilicengse 4 MELSECEC Ww cenge C WVOP license Wind River license zwrs Licenge licic license WRs License lic FLEXIm error 857 For further information refer ta the FLEAIm End User Manual available at www macrovision cam Cancel a How to recover from the error Recheck the Host ID of the personal computer where CW Workbench is being used e f the Host ID is wrong Apply for license transfer using License Transfer Certification Agreement Form in PermanentLicenseApplicationForm xls stored in the DVD ROM The Host ID to enter here is as follows Enter the wrong Host ID registered last time for Previous License Enter a new Host ID to be registered this time for New License e f the Host ID is correct Contact your local Mitsubishi service center or representative 115 soJnpoooud 49A099J pue seDessaui 10419 esu9oil UIEN ez xipueddy SJOJI su 91 7 Z xipueddy 3 Use of a file without license When CW Workbench has been installed using an install key the following dialog box appears at the startup of CW Workbench Click the Cancel button to start CW Workbench After the startup the following license error message appea
13. Project References L Refactoring History L Run Debue Settings Task Tags L Validation Specify all build properties Build Support and Specs 4 Build Tools Build Macros E Build Paths m Libraries Redirection root directory Browse Build spec specific settings Note Leave this field blank to store build output together with the sources or enter an absolute path environment variables are permissible to redirect the output Active build spec SH7750gnule Redirection directory SH7750gnule Include paths Include directories I WIND_BASE tareet h IG MELSEG GGPU DVx Include If WIND_BASE tareet h wrn coreip Generate Add to all Remove Remove from all i H Point Click the LK button If the following message box appears click the ne To the next page C C Index configuration changed CHAPTER 8 CREATING AND BUILDING USER PROGRAM 1 2 Check that the folder specified on the Select directory window has been selected Click the LK button 13 Check that the include path of MELSEC added to Include directories in Include paths appears Click the LK button button 9 The C C index needs to be rebuilt to reflect the build property d changes you just made Do you wish to rebuild the index now Remember my decision 61 joefoug BULI 4 8 14
14. and Windows 7 where HyperTerminal is not installed Menu Description Uninstalls and updates CW Workbench and applies a patch Product Maintenance Installation at X YYYY X drive name Y folder name of the installation location CW Workbench Starts CW Workbench Starts Wind River Registry for Workbench 3 2 en orkbench is started Wind River Registry for Workbench 3 CW Workbench When CW Workbench is started Wind River Registry for Workbench 3 2 Registry i s also starts except when it is running already An icon is registered on the task tray Workbench 3 2 Wind River Workbench 3 2 document io t Documentation M c VxWorks 6 8 VxWorks 6 8 document 25 FTP Server Starts WFTPD o 2 c ol Starts HyperTerminal for Telnet connection 2 state a Appicano VxWorks COMx VxWorks COMx cannot be used on the operating system such as D eveloper VxWorks Development Shell Starts a command line Shell in which the Gnu compiler can be used 51 CHAPTER 7 APPLYING PATCH This section explains how to apply a patch in case it is released in the future Unless operations differ depending on the operating system windows and dialog boxes of Windows XP are used for explanations Point Log on as a user with the Administrator attribute when applying a patch to the product on the development environment personal computer Terminate the product before applying a patch Apply a patch in Product Maintenance Produc
15. at the same time or the product may not be properly installed If the installation was not completed properly uninstall the product and execute setup exe again 3 For installation on Windows Vista or Windows 7 a dialog box asking whether to enable or disable User Account Control appears Click Allow or Yes to continue the installation uonejEjsu L 9 e For Windows Vista r Account Control Don t run the program unless you know where it s from or you ve used it before C l setup exe Unidentified Publisher gt Cancel Click Allow I don t know where this program is from or what it s for uonejejsu e10jeq uoneJedeJgd L L 9 v Details User Account Control helps stop unauthorized changes to your computer 2 28 e For Windows 7 ed gt Y Program name setup exe Publisher Unknown File origin CD DVD drive v Show details Click the button Change when these notifications appear 4 Acquire a permanent license file If you require the Permanent License Application Form or if you have purchased the updated license product please consult your local Mitsubishi representative Point Stop all other applications running on Windows before installation The installer may not operate the functions properly due to the automatic start of update programs of the operating system or any other software such as Windows Update or Java Update Change the setting to
16. connected target server running is displayed at the bottom of the main window after the target server is started and connected Under Disconnect unconnected is displayed at the bottom of the main window after the target server is disconnected nii zy sun FXZJEJSIEEXJIJIES Se vsxWorks amp 4 5H7780 stateless SH PTS H S Kernel Tasks fg Real Time Processes 38 ECMPLoutOx5 Symbol file SYSTE a4 ECPCCLoutOxd Symbol file SYSTE AB EP SocketGPPForMD outOx3 Symbo 90 ftodLlib outOx8 Symbol file STSTE 3 m z d connected target server running Kernel im Point Once the target server is started the C Controller module is automatically reconnected to the target server after the module is normally started even if the power supply of the module is turned off and on To disconnect the target server select the connected target server on the Remote Systems window and click the Disconnect button 80 CHAPTER 9 CONNECTING CW WORKBENCH TO THE C CONTROLLER MODULE e Vx Works 5 4 5H7780 statelesz GHrT80 H S Kernel Tasks Hg Real Time Processes AB EOMPL out x5 Symbol file SYSTE Sa ECPCGLoutOxd Symbol file SYSTE 0 ExSocketCPPForMD out0x3 Symbo 44 ftpdLib outDx8 Symbol file SYSTE bo LM Gn zDoGPU V 12052 B x1l Svmbo M v ES LN connected target server running Kernel im The indication of the Connect and Disconnect buttons switches between enabled a
17. z Installation at X YYYY menu is not uninstalled and remains Uninstalling CW Workbench following the steps described earlier can delete the remaining menu Nr To the next page CHAPTER 6 INSTALLATION AND UNINSTALLATION Select Start gt All Programs gt Wind River Product Maintenance gt Installation at X fan Product Maintenance gt Installation at WindRiver fm Wind River an E YYYY jan j 1 f Installer Choose Installation Type x Select Remove and click the Next gt button Product Updates 5 Download and apply updates for entitled product Apply Patches individual fixes for individual problems Remove parts or all installed features Come c DEO ort Go to the step 3 Page 44 uone ejsuluf Z 9 u9ueq x10M MO I E SUIUN 0 MOH Z9 43 3 Check that items to be uninstalled have been Installer Remove Details selected Click the button to start the uy Select features to uninstall un i nstallation Se Wind River Workbench 3 2 for VxWorks 6 8 Enabler Rev 3 Be Vx Works 6 4 1 Application Developer Be Wind River GNU Compiler 3 4 4 for VxWorks 64 modified for Windows Vista and Windows 7 SR Wind River Setup 201 EJE Wind River Workbench Core 32 03 Point If the argument to uninstall the patch has been added in the step 2 2 select all the items not only the patch for uninstallation Note that uninstallin
18. 24 Sue E 101 11 4 Target Server Connection 0 0 0 0 00 rr 104 11 5 Downloading asana aaa anaana rl 106 11 6 Installation using a temporary license nnaou naana ananuna 107 APPENDIX 108 Appendix 1 Installation and Uninstallation of the Plug in Software 0 0 0 0 eae 108 Appendix 1 1 metalation ERE TQ Geer 6b a a a aa td Babee dads ade 108 Appendix 1 2 CIN SAN ANON uu oua ce eee ice eee ed a lee wee ee ee 111 Appendix 2 License EHnOLSu saute coe chee eeen 112 Appendix 2 1 Ligene eNO vod key seve 9 724929 929 2 9 270 Y E eee EPEN TE 112 Appendix 2 2 License error MESSAGE icio ee eee Chae a ewes ee Piu 113 Appendix 2 3 Main license error messages and recovery procedures sss 114 MANUAL PAGE ORGANIZATION The following illustration is for explanation purpose only and should not be referred to as an actual documentation AA eer currently open page zi 3 Select C Compiler for Build tool Click the Tool Flags button indicates the useful tip Select C Compiler for C 4 Onthe Optimization dialog box select Enable maximum speed optimizations Check that O2 8 has been added to Selected option and click the OK button Indicates the section of currently open page p MM MEAE uondo uogeziumdo amp umes v 8 Point indicates the particular Point To cancel the optimization option click in Enable Optimization on Optimizat
19. 3 c CA MELSECSCCPUS DVx ToolssQ12DOCPLU V 12052 B A 192 168 3 3 Select the File radio button in Kernel image and click Open File Look in Gio 1 O M Q em the Browse button E Q12DCCPU V 12042 B Q12DCCPU V 12052 B My Recent Documents Select the VxWorks image file and click the button The VxWorks image file specified here should be the same file as that of the C Controller module Acquire the VxWorks image file from C Controller File name DIDDCCPUN 1205098 M Open module using FTP Page 16 Section 9 1 1 1 Open My Network Files of type pa v Click the button to start connecting with the C Controller module JeAJeg jebsie Dumes 16 Ut Completed UOIlJo29UUOO JOAJOS eBJe 18S 0 MOH ZLi 6 19 9 2 Starting and connecting the target server After setting the target server select the added target server on the Remote Systems window Connection and disconnection can be executed for the C Controller module by clicking the Connect b or Disconnect aj button Ex Below is an example of the window when VxWorks6x_192 168 3 3 Wind River VxWorks 6 4 is selected ne He ti not H co B S WxWorks6x 192 169 3 3 Wind River VxWorks 6 4 ig unconnected Wind River VxWorks 64 Or select the added target server with the mouse and right click Select Connect or Disconnect from the menu Under Connect
20. 7 To the next page 08 CHAPTER 8 CREATING AND BUILDING USER PROGRAM f Onthe Project Explorer window select a project Basic Device Development CW Workbench File Edit Source Refactor Navigate Search Miya Run Window Help where properties should be set With the project i B8 c7 0 01010 NM Pee Egea Noi selected select from the menu bar Project gt EI UserProject Wind River VxWorks 6 4 Downlo Open Wind River VxWorks 6 4 Development Shell Properties Build All i Build Project Clean Build Options 8 Select Build Properties from the tree view to the Properties for UserProject prem ee left on the window and click the lt lt Build Support Specify all build properties Binary Parser Build Support and Specs 4 Build Tools Build Macros Build Paths m Libraries and Specs gt gt tab Check that the following item has Build support NM M d build makefil ted by the IDE Project Info lanaged bui makefiles generated by the F Projet References O Disabled been selected for Available and enable build actoring History Run Debue Settings Task Tags Validation Build command Nmakeprefix amp make no print directory specs Available and enabled build specs SH7750enule Enable Al Disable Al c gt For Q24DHCCPU V VG PENTIUM4gnu Rename E c gt For Q12DCCPU V SH7750gnule Default bui
21. Compiler for VxSim GCC for VxWorks Simulator Windows 3 O compiler VxWorks Downloadable Kernel Module Project A project used for normal application development Applications which are executed in the kernel mode of O VxWorks 6 x are created Project system and build system Project creation and management Wind River VxWorks Simulator A simulation function to execute debugging by Debugger running the Wind River VxWorks application on the operating system without x Q the actual devices MemScope Specify memory leaks by monitoring the memory usage ProfileScope Analyze bottleneck of tasks by conducting statistical analysis on coding status Runtime analysis tool StethoScope Analyze memory leaks by monitoring variables and data O structures in real time System Viewer Analyze deadlock and task execution order by monitoring interrupt task status CPU utilization etc J ZLOIMMO ANALMS Ulm uosueduio p e xipueddy uoueqxJoM JOAN pulM ui uosueduio e xipueddy 117 Appendix 3 2 Comparison with SW1DND CWWLQ24 E O Applicable x Not applicable CW Workbench Item SW1DND Wind River Workbench 3 2 CWWLQ24 E Microsoft Windows 7 Professional Operating System Microsoft Windows 7 Enterprise Operating System Microsoft Windows 7 Ultimate Operating System Operating system Microsoft Windows Vista Business Operating System O Microsoft Windows Vista Ultimate Operating System Microsoft Window
22. General Entry Point g Arguments gt Advanced v Debue Break on Entry C Automatically attach spawned Kernel Tasks isl 3 Filter matched 9 of 9 items To the next page CHAPTER 10 HOW TO DEBUG PROGRAM 2 Double click VxWorks Kernel Task to create a new debug configuration 3 Check that the target server connected to the C Controller module to be debugged has been selected Click the Browse button 8 yse euo Hulbbngeq p v oL weIpold 6nqeq 01 MOH t 0l 4 Select the function Entry Point where debugging uw Entry Points Select Entry Point r starts Click the OK button G Please select an entry point B E Downloads a E Entry WD TInt aut i ele B StatusCheck Rtn B VX START TEXT WOTIhtHook Rtn Word WriteRtn Task 5 Check that the function name selected in the step 4 Debug Configurations peras ea ce RE has been selected for Entry Point be 8 B ntryWDTMain EntryWDTInt out VxWorks6x 19216833 Click the Debue button pe filter text ri El pads Launch Context gt L ABB Attach Target Context E E C C Application VxWorks Kernel Task Options e C C Attach to Application fe C C Postmortem Debugger E C C Remote Application Launch Control E E Q default localhost a VxWorks Kernel Task Ea Qe VxWorks Real Time Process v General Advance
23. LzerProject Vind River VxWorks 6 4 Downloadable Kernel Module Project fall Build Targets SH 750enule been added to the project vee is Wind River Launches E Binaries A UserProject_partiallmage o sh le SH775 gnule Pe LlzerPraject partialImage o sh le SSH 50enule debug Pe UserProjectaut she SH 75 gnule Poe User Projectout ehle SSH 50enule debug E i Includes gs SH7750gnule Completed 64 CHAPTER 8 CREATING AND BUILDING USER PROGRAM 8 2 Adding Project In CW Workbench multiple projects can be managed on the same workspace by adding other projects following the instructions below Ex Adding a C Controller module sample project EntryWDTint 1 Right click on the Project Explorer window and uw Basic Device Development UserProject Sampl select Import File Edit Source Refactor Navigate Search Project fal DAT my er Ge ae EF on Bs g no 3n hto Copy IE Paste 3 Delete Rename Z di Wind River Launches El Includes Move Attributes pg Export x 2 Select General gt Existing Projects into Workspace Select Create new projects from an archive file or directory Click the Mext gt button select an import source yooloid Buippv zg type filter text General 0 E Archive File fii Build Settings Ig Combined Workspace Import l Existing Projects into Workspace 0 File System EDS Persp
24. MODULE CHAPTER 9 CONNECTING CW WORKBENCH TO THE C CONTROLLER MODULE 9 1 Setting Target Server The host CW Workbench and the target device C Controller module communicate through the target server on the CW Workbench and the C Controller module Below is a setting procedure to establish communication Host Target device iQ Platform compatible Development environment CW Workbench C Controller module Eclipse framework Eclipse C C Development Tools personal computer m Ethernet JeAJeg jebsie Dumes 16 19 9 1 1 Preparing for target server setting The following settings are required for CW Workbench to connect to the C Controller module through the target server e Setting an IP address of the C Controller module e Setting a VxWorks image file The files must be ZI VxWorks the same Zl VxWorks image image file Development environment personal computer N C Controller module IP address 192 168 3 1 IP address 192 168 3 3 Point VxWorks image files are required to be copied from C Controller module to the development environment personal computer 1 How to acquire a VxWorks image file from the C Controller module Use the FTP to copy a VxWorks image file on the C Controller module to a folder on the development environment personal computer Do not copy the VxWorks image file to a p
25. Properties ger Oe a zw Close Project B UserProject Wind River VxWorks 6 4 Downlo Open Wind River VxWorks 6 4 Development Shell Hg Build Targets SH7750enule dis Wind River Launches Build All H P Binaries Build Project GE EM Includes Clean H E SH 75 enule Sample c Build Options S7 Select Build Properties from the tree view to the Properties for UserProject type filter text left on the window Click the lt lt Build Tools gt gt tab Build Properties Resource L Binary Parser a Build Properties Builders H C C General Project Info Project References L Refactoring History L Run Debue Settings Task Tags Validation Specify all build properties Build Support and Specs E Build Tools Build Macros Build Paths B Libraries Ce Ree Ceo ieee Build tool C Compiler Suffixes c Build output generation Generated build output is an object Generated build output is a build target Build target can be passed Build spec specific settings Active build spec Derived suffix Command Tool Flags eg SH7750enule o echo building 8 3ccompilerprefix amp TOOL PATH ccsh DebugModeF lags ToolF lags CADDED CFLAGS Includes zl ADDED INCLUDES DGPU GPL DTOOL FAMILY TOOL FAMILY DTOOL TOOL D WRS KERNEL OC ARCH SPEC ansi Wa
26. TX 1000BASE T Microsoft Windows 7 Professional Japanese English Microsoft Windows 7 Ultimate Japanese English Microsoft Windows 7 Enterprise Japanese English gt og 1 2 84 Microsoft Windows Vista Business Japanese English Operating System Microsoft Windows Vista Ultimate Japanese English Operating System Microsoft Windows Vista Enterprise Japanese English Microsoft Windows XP Professional Japanese English Operating System Service Pack3 or later 4 A 64 bit operating system is not supported 2 The following functions cannot be used Using the following functions may lead to improper operation of CW Workbench e Application execution in Windows Compatibility Mode e Fast User Switching e Remote Desktop e Large fonts detailed setting in the screen properties e DPI setting other than 100 o Log on as a user with the Administrator attribute when installing and uninstalling CW Workbench 4 TCP IP is required 5 The following function cannot be used e Windows XP Mode 16 CHAPTER 2 SYSTEM CONFIGURATION 2 4 Specifications Below are specifications of CW Workbench Item Specifications Product name CW Workbench Operating system of applicable host Refer to Operating environment _ 5 Page 16 Section 2 3 machine Applicable C Controller module Refer to Relevant Module s Page 16 Section 2 2 Q24DHCCPU V VxWorks 6 8 Applicable
27. describes the system configuration and operation method of Setting Monitoring Tools for the C Controller Module SW4PVC CCPU The manual describes the system configuration specifications functions and troubleshooting of CW Sim The manuals describe specifications usage methods troubleshooting and relevant documents of Wind River Workbench 3 2 that is the base for this product Refer to the manuals for the same functions as Wind River Workbench A PDF file of the manuals is stored on the DVD ROM disc of the product CONTENTS Sie Terps STAINS eo cuc Mr M eA Mim SN otc sd dad c T aram ce CONDINONS OFUSE FORTHE PRODUCT E S c nie M MU na A aci RE INTRODUCTION ecc c pu Cr C c n T CHAPTER 1 OVERVIEW 1 1 RICH DTI ETEICCDCCRTCCERERRQUUCROCPTRTRRERERRPCCLCCCP CHAPTER 2 SYSTEM CONFIGURATION 2 1 2 2 2 3 2 4 Environment Configuration for Each License Type nnana anaa aaae Relevant MOGUIC TTTT ER Opera ENVIronMeM 24 224 5no5 2 eters pag yee hehe ma qe PR BIDS PESE SPCCHICANONS cacans ete tne ak er eehate en Shee eee see EET TOTIS TIT CHAPTER 3 PACKING LIST 3 1 3 2 P ackRIUg LISI semearen eer ene kw Ree a ASAREE ERER EA EEA TANGOS 1OCE SOD ANG RTT CHAPTER 4 PROCEDURE OVERVIEW 4 1 From Installation to Debugging muc rx mw eee RETE ee wwe eee eee CHAPTER 5 PERMANENT LICENSE 5 1 5 2 9 9 5 4 6 1 6 2 6 3 Obtaining Permanent LIGGNSe lt oscs 22
28. disable the automatic start of update programs before installation CW Workbench cannot be over installed on the development environment personal computer where CW Workbench has been already installed Uninstall the product before reinstallation Do not install the product on the development environment personal computer where Wind River Workbench has been already installed To install the product uninstall Wind River Workbench or prepare another development environment personal computer When the product is installed by using a temporary license the product operates for 31 days A regular license is issued after a permanent license is obtained Use the permanent license to start the product amp License Not Found The license error message shown below appears after 31 uj Launching the Wind River Debug Server DFW Backend failed to obtain the days The product continues to operate by clicking the license Overall License for the Wind River Workbench Feature has expired E MEN Lancel button but the project creation compiling ees Mia pat erates building and debug functions cannot be used FLEXIm error 10 32 For further information refer to the FLEXIm End User Manual i available at www macrovision com License error message License path Error text Feature has expired Error code 10 To install CW Workbench using a temporary license it can be obtained via the Internet Before installation check tha
29. following license error message appears after 31 days since installation Ww License Not Found Launching the Wind River Debug Server DFW Backend failed to obtain the license Overall License for the Wind River Workbench Feature has expired Feature WR WORK BENCH Expire date 31 mav zl License path GA REC WW icenseszwrz License ice WwRYC WAN X license Lx WVOP B license xx MELSEUCXCWWSX license CWO P cense x WindRuver license Wind Riverdtlicensetzwre License icc licensex WwRS License lic FLEXIm error 10 32 For further information refer ta the FLERIm End User Manual available at www macravision cam a How to recover from the error Acquire a permanent license and overwrite the file to use CW Workbench 114 APPENDIX 2 Use of an illegal license If there is an error in host information to be registered when a permanent license is acquired the following license error message appears Point When DISK is selected and a DISK serial number other than the one on the C drive is specified on the Permanent License Application Form the same error occurs Enter a DISK serial number on the C drive for the Host ID When there are multiple drives on the development environment personal computer in use do not enter a DISK serial number other than the one on the C drive for the Host ID Ww License Mot Found Launching the Wind River Debug Server DFW Backend failed to obtain the license
30. for Workbench 3 2 Warning T Do you really want to shutdown the Wind River Registry You will not be able to start any new Wind River tools or target servers Select one of the following procedures e When a patch has been applied gt 1 2 3 4 L gt Page 42 e When a patch has not been applied c 3 4 s Page 43 CHAPTER 6 INSTALLATION AND UNINSTALLATION 41 u9ueq x10M MO I E SUIUN 0 MOH Z9 uone pejsuluf Z 9 em a B 42 BI Iac Product Maintenance gt Installation at C WindRiver Installation at C WindRiver Properties General Shortcut Compatibility Security Q Installation at WindRiver Target type Application Target location amp Bb win3z Target Installer ex RET E ELT patch removal true Start i L vindRrieer maintenance wrlnstaller 85 wn3z Shortcut key Mane Run Normal window Comment 9 Cee ave Point Sort by Name Fi Documentation Properties Select Start gt All Programs gt Wind River gt Product Maintenance c gt Installation at X YYYY In the menu that pops up by right clicking select Properties At the end of the Target field on the lt lt Shortcut gt gt tab add the following argument then click the K button Argument vmargs Dallow patch removal true When a patch has been applied and uninstallation is executed without the argument the Wind River gt Product Maintenance
31. has been applied but the display does not change Old data may be in the cache Action When starting CW Workbench specify clean in the argument After CW Workbench has been started with clean specified delete clean from the boot argument Keeping clean being specified slows the startup of CW Workbench a How to specify clean 1 Select the CW Workbench shortcut on the desktop In the menu that pops up by right clicking on the shortcut select Properties Open Run as Scan with OfFiceScan Client Pin to Stare menu Send Ta ut Copy Create Shortcut Delete Rename Properties 2 Entera space at the end of Target on the CW CW Workbench Properties Workbench Properties General Shortcut Compatibility Security n Enter clean after the space and click the I CDS OF button Target type Application Target location eclipse Target rmsb win dz eclipse swinwb sBb win X2 exe Essa Start irr Cw ind Aver Shortcut key Mone Rur Normal window Comment b How to delete clean In the step 2 of How to specify clean delete the space and clean Click the LIK button CHAPTER 11 TROUBLESHOOTING 5 The install menu of the plug in software cannot be found To install the plug in software select from the menu bar Help c Install New Software If Install New Software cannot be found on the Help menu the display mode of CW Workbench is Basic Device
32. install txt Manually enter all install keys Click next to enter the install keys for each product WZ Go to the step 6 gt Page 49 48 Installer Choose Installation Filters Target Architectures Select one or more target architectures c i may select all of them Dre Cl SuperH Deselect all e Moe oo E omn f Installer Select and Install Products Cak Products and Features Wind River Workbench 32 for Mitsubishi C Controllers Installation Directory OXWindRiver Disk Space Information Total Disk Space Required Disk Space Available 127 GB 2817 GB 8 Installer Select and Install Products Products a aw gi VxWorks 6 4 1 Application Developer G Wind River GNU Compiler 3 4 4 for VxWorks 6 4 modified for Windows Vista and Windows 7 G Wind River Setup 201 Q Wind River Workbench 3 2 for VxWorks 6 8 Enabler Rev 3 gq Wind River Workbench Core 3 2 0 3 Installation Directory OXWindRiver Disk Space Information Total Disk Space Required Disk Space Available Installation Progress Installation Complete 127 GB 2801 GB SUB es NCC S To the next page CHAPTER 6 INSTALLATION AND UNINSTALLATION Select the following items and click the cz For Q24DHCCPU V VG Intel cz For Q12DCCPU V SuperH Check that Wind River Workbench 3 2 for Mitsubishi C Controllers has been selected Click the Install button If t
33. operating system Q24DHCCPU VG Q12DCCPU V VxWorks 6 4 Framework Wind River Workbench 3 2 base Eclipse3 5 Project creation and management VxWorks Downloadable Kernel Module Project Q24DHCCPU V GNU compiler GCC 4 1 2 for Intel Atom Z5xx Building Q24DHCCPU VG Q12DCCPU V GNU compiler GCC 3 4 4 for SH 4A Debugging execution restart Debugging execution forced stop Breakpoints e Step through execution Debugger Variables structure variables reference and editing Register value reference and editing e Memory block reference and editing Target connection agent Dynamic Printf Q24DHCCPU V VG only License format Node locked Document Wind River Workbench 3 2 Help document suoneoyimeds y Z 17 CHAPTER 3 PACKING LIST 3 1 Packing List The following items are included with CW Workbench Check that all the items are included before use 1 Items included with CW Workbench DVD ROM _ gt Page 18 Section 3 1 2 1 Before Using the Product 1 Product with license SW1DND CWWLQ12 E License Certificate 4 SW1DND CWWLQ24 E End User Software License Agreement 1 Permanent License Application Form sample 1 Additional license product Before Using the Product 1 SW1DND CWWLQ12 EZ SW1DND CWWLQ24 EZ License Certificate 1 Updated license product End User Software License Agreement 1 SW1DND CWWLQ12 EVZ SW1DND CWWLQ24 EVZ Permanent License Application Form sample 1 1 The DVD ROM is not included wit
34. status Suspended status during suspension non Click the l button turns to the status of No 2 Click the Bi button turns to the status of No 3 Resume status during execution ne Click the button turns to the status of No 1 Click the Bl button turns to the status of No 3 No 3 Termination status debugging terminated TN 9 The task operation goes into the Suspended status Module status monitor processing at the point where the breakpoint was inserted in KONCORCRCRCECECHCH Ch Ch Kk KCKCH Ch Ch h EEE EERE EERE k CK K AK Ch hc h k KK hh hc kh KK EEE EH void StatusCheckEtn i the step 7 and the operation has stopped hort Le i enc did Continue debugging by operations such as checking long plInfo 15 variables with step through execution and changing long event 4 unsigned long UlLBuLSize variables if iret LIBE printf QEF Open error ret hd hxH n return 10 Use the following step execution buttons on the tool a button on the Debug window to continue c debugging C RE LO d we E Icon Description F eg sys O00 Task Mode Step Into Er aa SmpTask 1 Ox49CB3074 Stopped Breakpoint Hit S Steps into the called function and stops at the first line StatusCheckRtn Entry WDTIRtc 81 orte TUNGHON Step Over EL Executes the current line of the function and then stops at the next line of the function Step Return ir Continues executio
35. used Fill out the Permanent License Application Form Send the Application Form to the address described on the form A permanent license file will be e mailed to you Apply the permanent license file to the development environment personal computer Completed Refer to the Permanent License Application Form sample included with the product for how to acquire host machine information lt gt Refer to the Permanent License Application Form sample included with the product for how to fill out the form Directly enter information on the Application Form stored on the DVD ROM PermanentLicenseApplicationForm xls on the Permanent License Application Form gt ag Permanent License Application Form Will be replied within 5 working Permanent f days MAIL license file pL m Page 25 Section 5 3 i For the development environment personal computer information on the Permanent License Application Form for the updated license product enter the same information as the one registered to acquire the permanent license previously 22 CHAPTER 5 PERMANENT LICENSE 5 2 License Transfer Another permanent license is required on a new development environment personal computer for license transfer due to reasons such as when the development environment personal computer where CW Workbench has been installed crashed Follow the instructions shown below for license tr
36. x fs di D Q Gee Started TA Sar a o Build Targets SH7750enule New dis Wind River Launches Go Into E A Includes A Samplec Copy d B Paste Ctrl 3 Delete Dele Rename F2 Move Attributes gg Import LA Export Open Wind River VxWorks 6 4 Development Shell Build Project Ctrl MA Rebuild Project Build Options Close Project X Not On the Project Explorer window right click on a Ww Basic Device Development UserProject Sample c CW Work File Edit Source Retactor Navigate Search Project Run Window F project name to be built In the menu that pops up select Rebuild Project imr golgmi 0 c9 28gmim s Q2 Project Explorer 3 a En wb VO HI Gg Getting Sta T E eE TA cm Cc 9 H a Build Targets z dis Wind River L NL AEN D fei Includes L i Sample c Copy Ctrl Paste Ctr 3 B E 3 D Uelete eli e X Del Del e Rename F2 Move Attributes gg Import py Export Open Wind River Vx Works 6 4 Development Shell Build Project trl g Rebuild Project Build Options h X To the next page 69 w Build included files are unambiguous and visible in the workspace you can generate the path now and the build will proceed To manually set the projects build properties cancel the build To proceed without generating the include search path click Continue i fou may need to set the include search path for
37. 0gnule debug Fs EN Includes New H E SH 50enule Sample c Open Open With Copy B Paste 3 Delete Rename F2 Move Attributes Ctrl C Ctrl V Delete gy Import py Export Open Wind River VxWorks 6 4 Development Shell Build Project Ctrl Shift A MA Rebuild Project Build Options Refresh F5 amp Run VxWorks Kernel Task a8 Remote Systems X ty Debug VxWorks Kernel Task Download VxWorks Kernel Task E ET Local i32 To the next page 84 On the Remote Systems window select the target server where the module file is downloaded Select the target server connected to the C Controller module for the target server On the Project Explorer window select the module file to be downloaded In the menu that pops up by right clicking select Download VxWorks Kernel Task UserProject out has been selected for the module file here as an example CHAPTER 10 HOW TO DEBUG PROGRAM Download Configurations Click the Download button Create manage and run configurations Select the launch context for executing the launch operations A The module file UserProject out selected in the step 2 noEntryPoint UserProjctout VWorks6x 19216833 has been downloaded on the C Controller module fig Launch Context I5 I aa ROEICUSTER which is a destination of the target server selected in the sis step 1 ltyp
38. Click the button Create a new file resource Sample c has been entered here as an example Enter or select the parent folder User Project fy 1 RemoteSystems TempF iles ofS UserProject Wind River VxWorks 6 4 Downloadable Kernel Module Proj File name Gey Advanced gt gt EIN S To the next page 62 CHAPTER 8 CREATING AND BUILDING USER PROGRAM Point Enter a file name with extension c h cpp hpp for File name Do not use two byte characters for a file name Do not execute the compile for a file that has a name including two byte characters or a compile error occurs e If characters that cannot be used or a project name that is already used are entered for File name an error text appears on the header of the window and the button becomes disabled Ww New File File is an invalid character in resource name Samp le c Enter or select the parent folder User Project i tS RemoteSystemsTempF iles ES UserProject Wind River VxWorks 6 4 Downloadable Kernel Module Proj xal Iii 3 File name Samp le c o Erish 16 Edit the source files on the Editor window and Basic Device Development UserProject Sample c CW Workbench Fie Edit Source Refactor Navigate Search Project Run Window Help include the following include files MO S M MEAP LEE 6i e e et ere rw e Ss For Q24DHCCPU Vi VG ae E W w
39. Development Check the current display mode of CW Workbench on the title bar Ww Basic Device Development CW Workbench File Edit Source Refactor Navigate Search Project Run Window Help Action Change the display mode of CW Workbench to Advanced Device Development a How to change the display mode 1 Select from the menu bar Window gt Open UTRUM Help Perspective gt Advanced Device Development Hew Window Mew Editor Open Perspective Show View Mae Advanced Device Development D Basic Device Development S Device Debug Remote System Explorer Import Perspectives Export Perspectives Customize Perspective Save Perspective s Other Another way to change the display mode is click the Open Perspective icon ET at the upper right corner of CW Workbench and select Advanced Device FY Advanced Device Development n ES my Basic Device Development Development from the menu displayed E5 Device Debug Other uoneJedo oiseg LLL i 2 Check that the title display of CW Workbench has Advanced Device Development CW Workbench File Edit Source Refactor Navigate Search Project Target Run Window Help been changed to Advanced Device Development NE 3 To install the plug in software select from the menu bar Help Install New Software ga Welcome 7 Help Contents DP Search Dynamic Help Key Aseist Ctr l shi
40. GE THAT YOU HAVE ENTERED INTO AN AGREEMENT WITH MITSUBISHI ELECTRIC CORPORATION RELATED TO YOUR USE OF THIS PRODUCT 04April2010 1 ACCEPT the terms of this license agreement 1DO NOT ACCEPT the terms of this license agreement MR HNCCNN To the next page 47 5 To continue the installation select one of the following procedures If the permanent license file is not obtained Installation using a temporary license a personal computer can be connected to the Internet It is the same installation procedure as the one for temporary license using product with license L gt Page 32 Enter the LAC License Authorization Code written on the License Agreement of updated license product to LAC on the User Information window Installation using an install key on the DVD ROM a personal computer cannot be connected to the Internet Note that the installation using the following install key files cannot be executed e nstall SH IA txt of SW1DND CWWLQ24 E e Install SH4 txt of SW1DND CWWLQ12 E If the permanent license file is obtained Select Permanent install key file and click the button Select the permanent license file from the tree view Then Choose Install Key Type Q Use the existing product activation file O Temporary install key requires an Internet connection cl ic k th e Me vt T b u tto n Permanent install key file Enter the full path to your install key file O Mits06214 Vx6468 WB32 SH4
41. HOWTO USerrrojecty SH rovente Wind River VxWorks 6 4 make removing targets and objects of C user WS wb3 2 cww_HowTo UserProject SH7750ent s i wi HB VxWorks6x 19216833 Wind River VxWorks 6 4 meke er be Qn Variables window if d UserProject partiall ge i IM i 7 if d dirname UserPra A o Registers window Remote Systems building UsorProject pa Build Console roj jecto window ildi j T sro altae LE e o Expressions window if d di hrti then mkdit palling UserProject_pa i wi if d dirname HUserProject Debue UserProjectout gt then mkdir p dirname User Pre Memory Browser window buildine UserProject Debue UserProject out make built targets of C user WS wb3 2 cww_HowTo UserProject SH 50gnule Build Finished in Project UserProject 2010 08 26 09 15 06 Elapsed Time 01 gt 20M of 43M D The layout of each window can be changed by dragging with the mouse The layout shown above is the default layout OO 8 1 Creating Project 1 How to create a project 1 To start CW Workbench select Start gt All Programs gt Wind River gt CW Workbench gt CW Workbench Enter a folder of storage location of workspace for Workspace Launcher X Select a workspace Workspace A folder can be also selected from CW Workbench stores your projects in a folder called a workspace the tree view by clicking the Browse b
42. MITSUBIS ELECTRIC Integrated FA Software CW Workbench Operating Manual jc pd i3 prin 5 navel x Sent imer e No 4 Ll F cyc pow i a ae Synenranscarson a v ee vee goles we SuSE LN XE ic in p Pi o pe x 5 A gt AIR Prob 3 o A ft War ee ae 4 Int Name TYP volue a eg 57780 stateles a o mod int 0 E Processes yp 3 e 8 serv struct S 0x49CC F messa n 7 13 48 amp die struct S ox49CC or jos Symbol i 96 ontristonelodModuestiecutor K com windriver ide laun wo ze oo dile int 286331 i B ne TIL LII es p Td TU 69 len short int 4370 t Symbol fl z indriver ide E Dum i Conindfiveworbench 2H foundation com windriveride target D e or pet short int am ie E al 9 Failed to launch target server for connectior com windriveride target 10 10 E XT E onset veriorkbench 3 2 foundation com windriveride target 10 10 27 13 45 ta fd i 331 j Wind River Debug Server API Version 02 00 com windriveride target 10 10 27 13 28 j Connected to dfwserver at 127 0 0 1 127 0 com windriver ide target 10 10 27 13 28 i windRiver workbench 3 2 dFWi x86 Wit com windriver ide target 10 10 27 13 28 sworpM Smart Insert Grid to launch target server for i CirWindRhverkiworkibendh 3 29fo 53 vend auto Symb Debug Server 53 VxMQBF rv oUt G7 Sym Tis p vietqefrusicout uas Syr 1 connact
43. OxECOOOOs 4 OxECOOOOS0 OxECOOOOSC CHAPTER 10 HOW TO DEBUG PROGRAM 11 Clicking the lt lt Variables gt gt lt lt Registers gt gt lt lt Expressions gt gt and Memory Browser tabs during suspension of tasks displays each window Checking and changing values allows efficient debugging Variables Displays the current values of local variables Registers Displays the current values of registers Expressions Displays the current values of variables in the Watches window Memory Browser Displays the memory dumps on the C Controller module The color of cell changes to yellow when the value has changed from the previous value by step through execution or when the value has been changed On Memory Browser the color of cell does not change but the color of font changes to green On Memory Browser timing to refresh values can be selected unlike other windows Right click on the Memory Browser window Select Update Mode from the pop up menu Always update Radix Galumnz PR d rds x 2 NET M FOWSer On Breakpoint T e PEN 5 Copy To Clipboard Manual Oc opy Address oul fae ee oc Reset To Base Address DI Benuesh 7 FE Geclesace vt nian riri MMos Update during suspension Manual update Refresh with a breakpoint inserted 91 yse euo Buibbngqeq v 0L weIpo
44. P address The default IP address is 192 168 3 3 5 Check the Kernel image Set the correct VxWorks image file 7 gt Page 76 Section 9 1 1 Do not change the Advanced target server options setting The default value is recommended 82 CHAPTER 10 HOW TO DEBUG PROGRAM CHAPTER 10 How To DEBUG PROGRAM 1 0 1 How to Connect CW Workbench to the C Controller Module e Set the target server gt Page 75 Section 9 1 e Start and connect the target server gt Page 80 Section 9 2 10 2 Starting Shell On the Remote Systems window select the target server connected to the C Controller module where the shell is started In the menu that pops up by right clicking select Target Tools gt Host Shell to start the shell ith pem userueli te UserPro Target Tools WTX Console WT Console Properties ze PT Connect Ee e f Disconnect VxWorks amp x 192156833 Run Debugger WTA Connection Test AF Remote Syst ETC d Refresh P ti Host Shell resh Properties di bt Host Shell Properties EF Local Properties 4lt Enter By VxWorksbx_ 192 100 00 Wind Fiver VxwWorks O4 77 1 Click the button Start Host Shell VxWorks6x 192 168 3 39 meiw0228 Ed Please select the command line options and press OK to start the host shell Options FA Execute Tcl expression after intialization Ce Indicate mode to start either C Tcl Gdb Omd Cm
45. P are used for explanations 6 3 1 How to update CW Workbench Start installing CW Workbench Insert the CW Workbench SW1DND CWWLQ12 E r1 DVD ROM into the DVD drive to start the installer 1 After the installer is started execute one of the following operations and click the DK Wind River Installer Select the wind River install location button windFiiver Bros Enter a folder name of the installation location Cancel e Click the Browse button to select a folder R of the installation location from the tree view Point The following characters can be used for a folder name of the installation location e Alphanumeric characters space cannot be used Hyphen Underscore The product cannot be properly installed if characters other than those described above are used for a folder name The dialog box shown below may appear after the IK button is clicked however clicking the Cancel button does not cancel the operation Wind River Installer Preparing installer LT 2 Click the button To the next page 46 CHAPTER 6 INSTALLATION AND UNINSTALLATION Installer On line Update Settines ox 3 Click the button Choose on line update settings v Check on line for latest updates for this installer v Check on line for latest Wind River product updates URL for update repositories http updates windriver com oem mitsubishi updates rep
46. Progress Installed selected updates successfully Overall Installation Progress installed 1 of 1 selected patches Completed o4 CHAPTER 8 CREATING AND BUILDING USER PROGRAM CHAPTER 8 CREATING AND BUILDING USER PROGRAM The layout of CW Workbench is shown below Menu bar Toolbar Device Debug UserProject UserProject c CW Workbench ile Edit Source Refactor Navigate Search Project Target Run Window Help 35 0 Q e YVeeesv PS Project Explorer 52 f Debug Symbol Browser O UserProjectc 52 E35 Debus 3 E Eu go include lt VxWorks h gt amp UserProject Wind River VxWorks 64 Downloadable Kernel include lt stdio h gt Wi Build Targets SH7750enule debug Mrnoxude sae tag me dis Wind River Launches include lt stdlib h gt p Debug 8 e Binaries include lt taskLib h gt d a Includes include lt tickLih WInGOW include lt sysLib Project Explorer Pinetu crime Rh Editor window Winclude ObfFund window Hinclude MdFunc Al 95 Breakpoints p2 A define MAX DEV_NO 31 RATHAABS Breakpoints is window lt qfedcha 0111001 iB Remote Systems 52 a jv f Iq x EINK el 69 Variable disi Register amp Express Memory 3 E Local H Q Wind River Registries Build Console 23 Error Log L3 Properties ibis E H n Local Files es v amp 4 5B gl Bg vil an Local Shells Working Directory C 7USET7 _WosWDS 27 CWW
47. QBF Y Out WordEx path 0 0 1 data 0 if ret O printf OBF Y Out WordEx error ret hd hxH n ret r break e El 3 To debug another task use the mouse to select another function on the Debug window Switch tasks while multiple tasks are being debugged An example of when switching from the task 2 to task 1 weIpold 6nqeq 01 MOH rl EntryWDTIntc 83 cm D 53 A ri ew X ez is e syse ejidnjnui bulb6ngeq z 0l Y output task J void YWord WriteRtnTaski a le SH7780 Task Mode 5 94 tEntryWDTMain 0x49382FBO Stopped 1 Aaro sinc i iR VDT Main processin vxTaskEntryO 0x480496aa KREERKKRERRERKKRERRRRERERERS FREER x i d p tEntryWDTMain 0x49382F BC void EntryWDTMaini Hf SH7780 Task Mode NES eh amp 9 tYWord WriteRtnTask 0x4FFF5E90 Stopped Breakpoint Hit YWord WriteRtnTask 0 Entry WI TInt c 187 Start the module status monitor vxTaskEntryO 0x480496aa ret Gis TASK NAME 1 oS tYWord WriteRtnTask Ox4FFF5E90 PRIORITY 150 0 STACK FUNCPTR StatusCheckRtn The task 1 function is in the Current 0 O O 0 0 0 O O O 0 status if ret ERROR printf StatusCheckRtn task start error ret hd hxH The selected function IS NOW yerum displayed 93 10 5 How to Execute Dynamic Printf This section explains how to execute Dynamic Printf Dynamic Printf is a function to dynamically insert or cance
48. WWLQ24 E 1 The DVD ROM is not included with the CW Workbench updated license product SW1DND CWWLQ24 EVZ To install CW Workbench the DVD ROM included with the CW Workbench product with license SW1DND CWWLQ12 E is required 2 The configuration before installing the updated license product SW1DND CWWLQ24 EVZ is indicated Point If the CPUs to be used after update are not written in Target CPU of Permanent License Application Form please consult your local Mitsubishi representative ed esueor uoe4 104 UONeINBYUOD jueuuoJIAU3 LZ 15 2 2 Relevant Module CW Workbench is compatible with the following C Controller module Model Operating System Relevant software package Q24DHCCPU V SW1DND CWWLQ24 E VxWorks 6 8 SW1DND CWWLQ24 EZ Q24DHCCPU VG SW1DND CWWLQ24 EVZ SW1DND CWWLQ12 E Q12DCCPU V VxWorks 6 4 SW1DND CWWLQ12 EZ SW1DND CWWLQ12 EVZ 2 3 Operating Environment Below is a list of the operating environment of a personal computer where CW Workbench can be operated Item Description PC AT compatible personal computer in which the following operating systems can be Computer operated CPU Intel Core MV2 Duo 2GHz or higher is recommended Memory requirements 1G byte or more 2G bytes or more is recommended Install size HDD 4G bytes or more Hard disk space Executable size Virtual memory 512MB or more Display 1024 by 768 resolution or higher Disk drive DVD ROM drive Interface Ethernet 10BASE T 100BASE
49. and or its affiliates VxWorks is a trademark or registered trademark of Wind River Systems Inc Adobe Reader is trademark or registered trademark of Adobe Systems Incorporated in the United States and or other countries 122 CW Workbench Operating Manual MobEL SW1DND CWWLQ12 0 E MODEL 13JU71 SH NA 080982ENG E 1407 KWIX MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission Specifications subject to change without notice
50. ansfer Start license transfer Has the development environment personal computer crashed L z Page 39 Section 6 2 Uninstall CW Workbench on the current development environment personal computer Page 26 Section 5 4 Delete the current permanent license file Delete the permanent license file saved as a backup file as well J9JSUBJ BSUBDIT Z S Obtain a License Transfer Certification Agreement Form on the DVD ROM Obtain host information on the development environment personal computer where CW Workbench is used For how to obtain host information refer to the Permanent License Application Form sample To the next page 23 24 From the previous page Fill out the License Transfer Certification Agreement Form Fax the License Transfer Certification Agreement Form with your signature to your local Mitsubishi service center or representative where you purchased the product A permanent license file will be e mailed to you Install CW Workbench on the new development environment personal computer using the new permanent license y Completed Directly enter information on the License Transfer Certification Agreement Form stored on the DVD ROM PermanentLicenseApplicationForm xls on the License Transfer Certification Agreement Form i License Transfer Certification Agreement Will be replied within 5 wo
51. as to Gtwserver at 127 0 0 1 127 0 amp d e Copyright Wind River Systems Inc 2010 Al rights reserved Powered b y CW Workbench was jointly developed by Mitsubishi and W IND RIVER wind River Systems Inc Integrated FA Software SW1DND CWWLQ12 E oW1DND CWWLQ24 E SAFETY PRECAUTIONS Read these precautions before using this product Before using this product please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly The precautions given in this manual are concerned with this product only For the safety precautions of the programmable controller system refer to the user s manual for the CPU module used In this manual the safety precautions are classified into two levels A WARNING and N CAUTION NWARNING Indicates that incorrect handling may cause hazardous conditions resulting in death or severe injury Indicates that incorrect handling may cause hazardous conditions NCAUTION resulting in minor or moderate injury or property damage Under some circumstances failure to observe the precautions under A CAUTION may lead to serious consequences Observe the precautions of both levels because they are important for personal and system safety Make sure that the end users read this manual and then keep the manual in a safe place for future reference Design Precautions NWARNING For the following controls configu
52. ath or a folder that has two byte characters and katakana A VxWorks image file of the C Controller module is stored in SYSTEMROM OS_IMAGEFILE gt For Q24DHCCPU V SYSTEMROM OS IMAGEFILE Q24DHCCPU V XXXXX Y i c For Q24DHCCPU VG SYSTEMROM OS_IMAGEFILE Q24DHCCPU VG_XXXXX Y c For Q12DCCPU V Extended mode SYSTEMROM OS_IMAGEFILE Q12DCCPU V_XXXXX Y_ModeEX c gt For Q12DCCPU V Basic mode SYSTEMROM OS_IMAGEFILE Q12DCCPU V_XXXXxX Y 1 XXXXX First five digits of the serial number of the C Controller module Y Function version of the C Controller module For how to check serial numbers and function versions refer to the following manual For Q24DHCCPU V VG and Q12DCCPU V Extended mode MELSEC Q C Controller Module User s Manual e For Q12DCCPU V Basic mode C Controller Module User s Manual Hardware Design Function Explanation Below are the default user name and password to connect CW Workbench to the C Controller module using the FTP User name target e Password password If the default user name and password have been changed use the user name and the password acquired 76 CHAPTER 9 CONNECTING CW WORKBENCH TO THE C CONTROLLER MODULE 2 When VxWorks image files are not identical When the VxWorks image file of the development environment personal computer is not identical with that of the C Controller module copy the image file from the C Controller module to the development e
53. ative Develop merit c For Q12DCCPU V Wind River VxWorks 6 4 i 5 Select Downloadable Kernel Module for Build New Wind River Workbench Project Build Type type Click the Net button Select the build type for the project Downloadable Kernel Module Downloadable Kernel Module Real Time Process Application Relinkable Kernel Module Shared User Library Static Kernel Library static User Library User Detined Mone joefoug Bunea g To the next page of a New Wind River Workbench Project Project Create a new project with the specified data Point If characters that cannot be used or a project name that is already used are entered for Project name an error text appears on the header of the window and the Finish button becomes disabled If space is included in the Project name the following error message appears New Wind River Workbench Project Project is an invalid character in project name User Project Directory O WindRiver workspace User Project e If a project name that is already used is entered for Project name the following error message appears New Wind River Workbench Project Project e project with that name already exists in the workspace a Directory O WindRiver workspace UserProject In addition a space entered at the end of the project name is dropped lex UserProject UserProject lt
54. btained with the updated license product overwrite all files 25 5 4 Deleting Permanent License Follow the instructions shown below to delete the current permanent license for license transfer Start deleting the permanent license Yes CW Workbench is running Terminate CW Workbench Delete all the files in the license folder of CW Workbench C WindRiver license Completely delete the permanent license file from the license folder of CW Workbench Delete the permanent license file saved as a backup file as well ic Wind River iu 3 wind M ca docs Recycle bin amp cz enu fm ire E License file aa Completed 26 CHAPTER 6 INSTALLATION AND UNINSTALLATION CHAPTER 6 INSTALLATION AND UNINSTALLATION 6 1 installation This section explains how to install the product how to operate and precautions Unless operations differ depending on the operating system windows and dialog boxes of Windows XP are used for explanations 6 1 1 Preparation before installation 1 Log on as a user with the Administrator attribute when installing the product on the development environment personal computer 2 Insert the DVD ROM into the development environment personal computer the installer automatically starts If the installer does not automatically start double click setup exe on the DVD ROM to start it Do not execute more than one setup exe
55. d f v Debug re too Revert Filter matched 9 of 9 items Debug J lose Point To debug a task created taskSpawn from the function specified in Entry Point Automatically attach spawned Kernel Tasks at the bottom middle of the dialog box also needs to be selected Sn To the next page 88 CHAPTER 10 HOW TO DEBUG PROGRAM x 6 At first debugging starts at the beginning of the T E i Y output task 1 ifi Int i AG mure Write ceras function specified for Entry Point in the Suspend status WDT Main processing lt The function specified for Entry Point short ret ret taskSpawn TASK NAME 1 lt The location being suspended is highlighted in green The display is in the same form as that of when a task is suspended at a breakpoint described in the step 9 STACE FUNCPTR StatusCheckRtn 0 0 0 0 0 0 O O O 0 if ret ERROR printf StatusCheckRtn task start error ret thd hxH return Start Y output task t7 ret taskSpawniTASK NAME 2 PRIORITY_160 0 STACK FUNCPTR YWord WriteRtnTask O O 0 O O O O 0 0 0 if ret ERROR 7 Insert the breakpoint to a place where a task operation needs to be suspended PRET EAA TAA TAA ATA ATA TAA TAA AAA AAA A ATTA ATR A Adding the breakpoint displays breakpoint information Module status monitor processing ig i H TOP XXL XX CX C CX X 2 f 2 2
56. d Rivers license s WindRiver x icensexzwrsLicense lic cxX license WES License lic 4 FLEXIm error 1 388 System Error 2 Mo such file or directory 5 No 1 2 3 4 5 ii or turther information reter to the lm End User Manual m a m available at www macravisian cam Cancel Displays an error outline within 80 characters Error details Displays error details and solutions measures within 3 to 5 lines Support information Information such as a license file name and path information Displays the error number and minor number of a license error case A number used when an FLEXIm vendor provides support This guidebook omits explanations e FLEXIm error O A O Error number 1 to negative number FLEXIm error information A Minor number 1 to positive number In the error message above FLEXIm error 1 359 Error number 1 Minor number 359 Indicates the latest error number and error text of the operating system acquired before a license error 1 System error information These items are not displayed for the specific errors 113 oDessouJ JOU esueor zz xipueddy SJOJI3 su 91 7 Z xipueddy Appendix 2 3 Main license error messages and recovery procedures This section explains license errors that may occur during operations of CW Workbench and how to recover from errors 1 Trial period expiration If CW Workbench is used with a temporary license the
57. e Clicking the OF button with the box selected deletes the project from the workspace The file is deleted from the hard disk at the same time The deleted file cannot be recovered 102 CHAPTER 11 TROUBLESHOOTING 4 The following errors occur Xxx sh syntax error near unexpected token yyy_partiallmage Debug Objects nnn Xxx sh cannot execute binary file Makefile xxx missing separator Stop yy o command not found No such file or directory The source file name may have symbolic characters Action Remove the following symbols and characters that cannot be used from the file name with an error message nnn and from the name of the source file added to the project Symbols characters that cause a build error H Sharp sign Ampersand Apostrophe Parenthesis Parenthesis Semicolon Equality sign Grave accent Two byte characters Katakana The following symbols that cannot be used for file names on Windows also cannot be used for the source file Symbols that cannot be used for file names on Windows Backslash Slash Colon Asterisk Question mark Quote lt Less than gt Greater than Pipe 5 out file is not created The build terminates with a message Generation of makefiles started The source file name may have a dollar sign Action Remove from the source file name 103 Buiping LI 11 4 Target Se
58. e filter text amp v Qj default localhost rt vx Works6x_192 168 3 3 Wind River VxWorks 6 4 The following window appears on and after the second Advanced operation Select Launch the selected launch configuration and click the OK button Launch Contigeuration Selection i m gt Aw Rever Filter matched 2 of 2 items Download Close Choose Action Workbench has found one or more existing launch configurations that match your selection What do vou want to T noEntryPomt User Proiectout Vx Work sti 1927 BEER L9 Jer A Completed ginpoy Buipeojuvoq 0L 85 10 4 Howto Debug Program This section explains how to debug a program by using a sample program EntryWDT Int c of the C Controller module as an example 1 Note The executing module needs to be built in Debug Mode when a project is debugged on CW Workbench Y output task Task name SmpTask 2 Function name YWord WriteRtnTask WDT main processing Task start EntryWDTMain 10 4 1 Debugging one task Connect the C Controller module to CW Workbench For details gt Page 75 Section 9 1 Page 80 Section 9 2 On the Project Explorer window select a project Device Debug UserProject Sample c CW Workbenc File Edit Source Refactor Navigate Search Project Target to be debugged Click the Y mark on the right side am XE of a debug icon Xx on the to
59. e the mark to if cancel Check that O has been deleted from Selected option S To the next page 73 uondo uoneziumdo Bumes r9 Properties for UserProject type filter text B Build Properties Builders E C C General i Project Info Project References L Refactoring History Run Debug Settings Task Tags Validation 14 Build Support and Specs Build Tools Build Macros G Build Paths ses Fe Build output generation Generated build output is an object Q Generated build output is a build target Build target can be passed Build spec specific settings Active build spec SH7750enule Derived suffix Command echo building Xccompilerprefix amp TOOL PATH cesh Debug MadeF lags ToolF lags ADDED CFLAGS XIncludes amp B 4ADDED INCLUDES DGPU GPL DTOOL_FAMILY TOOL_FAMILY DTOOL TOOL D WRS KERNEL Tool Flags OC ARCH SPEO ansi Wall MD MP Debug mode flags Debug mode g Non Debug made 02 fno builtin MUT Completed 5 Checkthat O2 has been added to Tool Flags in Build Properties and click the button After the K button is clicked the following button CHAPTER 9 CONNECTING CW WORKBENCH TO THE C CONTROLLER
60. ectives Ed Preferences 15 Wind River Target Connections Ss Wind River Workbench Breakpoints E E C C ae pas ae Desktop ae Remote Systeme H E Run Debug H E Team ae Vx Works 6 x NI Finish To the next page 65 3 Select Select root directory radio button and click Import Projects A the button Select a directory to search for existing Eclipse projects Browse Setect AI Deselect All Refresh _ Select Finish Cancel r 4 Select the folder where the project to be imported is Browse For Folder stored and click the 0K button D sntpTimeSet 3 3 OBFhest 53 cFchange MationLink LL OBR Message E E Script iz Vx Entry WDTInt Make New Folder OK l i i 1 E To the next page 66 CHAPTER 8 CREATING AND BUILDING USER PROGRAM 5 Alist of the projects stored in the folder including l subfolders specified in Select root directory is Import Projects A A p displayed in Projects Check that the project to select a directory to search for existing Eclipse projects be imported has been selected Select root directory C MELSECYOGPLAOOPLTOOLYSample D n TM Click the button COO Select archive file Projects EntryWDTInt Cc MELSEGIOGPLIGGPLUTOOL Sample Die Select All Deselect All Gopy projects into workspace Working sets Add project to working sets Working Sets Point When a project created in Wind Riv
61. eijsu u9ueq x1o0M MO E SUI 0 MOH ZL 9 33 34 Installation using an install key on the DVD ROM 4 Select Permanent install key file click the button specify the following install key file stored on the gece qu activation file DV D RO M 3 a n d cl i ck th e b utto n O Temporary install key requires an Internet connection e For Q24 D H CC P U V VG i nstal IS H IA txt Permanent install key file ear c For Q12DCCPU V Install_SH4 txt Manually enter all install keys Click next to enter the install keys for each product a NET M NC E MR WNCCI NAR Point When the installation is executed with specifying the install key file CW Workbench is installed without license and only the following functions can be used Editor function such as creation editing saving and searching Import Export To use all the functions of CW Workbench obtain and apply a permanent license s Page 22 Section 5 1 s Page 25 Section 5 3 sS Go to the step 6 gt Page 36 CHAPTER 6 INSTALLATION AND UNINSTALLATION Installation using a permanent license 5 Select Permanent install key file and click the button Choose Insta Key Type Select the permanent license of the product to be Q Use the existing product activation file Installer Choose Activation Type installed from the tree view Then click the Q Temporary install key requires an Inter
62. ems Inc V Click the menu bar Help gt Help Contents lt gt Wind River Partners Documentation Eclipse Workbench User Guide Tasks Updating and installing software Appendix 1 1 _ installation Follow the instructions below to install the plug in software Point When installing the plug in software check that the product is in the Advanced Device Development mode Ww Advanced Device Development CW Workbench File Edit Source Refactor Navigate Search Project Tare If Basic Device Development is displayed on the title bar change it to Advanced Device Development by one of the following methods e Select from the menu bar Window gt Open Perspective gt Advanced Device Development From the menu that appears by clicking the Open Perspective icon ES at the upper right corner select Advanced Device Development The plug in software install method explained in this chapter is the same as the general install method of Eclipse3 5 To install the plug in software follow instructions provided by plug in software manufactures For details on how to use the plug in software installed contact the plug in software manufacturer ifthe installed plug in software does not properly operate check if the software can be operated in Eclipse3 5 on public operating environment provided by the plug in software manufacturer 108 APPENDIX 1 To in
63. eo tev ee m Ende 91 he es 9e OW ovre x rv es License Transf se ce oc ak amp saidi eon ok oem See S ee ee cee ee es HT ee a ech Ee Applying Permanent License 0 00 ccc eee ee eee eee Deleting Permanent License saoveeseccce ede ay Uude x hr uo FEES ves em EsiV Een CHAPTER 6 INSTALLATION AND UNINSTALLATION liiis T 6 1 1 Preparation before installation 4499 3o EE REESE DT CR Ro Rau RERO Y E RE 6 1 2 How to install CW Workbench iuc aci oid d ic ter d RR aio dE 2 6 E n ei n 6 1 3 After installation C aaO 2293 93 9973 rE Bede 3o 0 dace Aon n arson a AOE E AR Go 6 2 1 Preparation before uninstallation n naana aaaea aaea ee Ie 6 2 2 Howto uninstall CW Workbench 0 0 ees 623 Amer OninstslavOn C ia qvin ut nd aus card pw abi RS Se Ewes Oe noe draps bon Er ae RR Bol e RMRTMTCTCCPCr rKPPK 6 3 1 How to update CW Workbench iius ied nace qd ce e E et le nce e C can ca 13 13 14 14 16 16 17 18 18 19 20 20 22 22 23 25 26 CHAPTER 7 APPLYING PATCH 52 TA How to Obtain Patch zu su echec p ace aree iod oom rne eniro DX RE En sedo B ac a tad oon ond 53 L2 HowtoApply Pateh coss undenamhedssreeedesxsa cmn RESCIEOS SEES GdR esses 53 CHAPTER 8 CREATING AND BUILDING USER PROGRAM 595 8 1 Creating Project naana anaana anana e 56 8 2 Adding Project 0 0 en ee eee eee een
64. er Workbench 2 6 1 is imported the following message appears Click the Project Migration Existing project description files in this workspace have ta be converted to the new Workbench format If these files are nat converted some functionality may be compromised Converting projects may make these Incompatible with older Workbench versions Convert now yooloid Bulppy zg The following warning message appears on the header of the window when there is no project that can be imported in the specified folder Import Projects Fr Mo projects are found to import NUT To the next page 67 The specified EntryWDTInt project has been e Basic Device Development CW Workbench imported to the workspace P Eft EE Entry WDTInt Wind River VxWorks 64 Downloadable TE UserProject Wind River VxWorks 6 4 Downloadable ceo Build Targets SSH 75 gnule debug Qt Wind River Launches a Binaries gei Includez H E SH7750gnule c sample c V7 Completed 68 CHAPTER 8 CREATING AND BUILDING USER PROGRAM 8 3 How to Build Project Follow the instructions below for how to build the project 1 Onthe Project Explorer window right click on a Basic Device Development UserProject Sample c CW Workbench File Edit Source Refactor Navigate Search Project Run Window Help project name to be built In the menu that pops up M O ieg i A gg m i Ron select Refresh
65. function 000 05 eee 12 C C Controller module 002 11 16 Creating Project llle 56 CW Workbench 0000 eee eee eee 11 D Debug mode 2 0 0 eee 59 DEBUG PROGRAM 000002 e eee 83 Debug window llle 55 Deleting Permanent License 26 Documentation leen 38 51 Downloading Module lll 84 Dynamic Printf 2 scias ios odi ae cac dde qe aod ora dios 94 E Zelle a E E E E E EE 12 NECIOL WIDOW oa edit ud 3 808 Ordi RU Te CUR eben 55 F FTP SSfVel 22d oot ea whe a 38 51 H How to Apply Patch a 223 8 act ard iii aww thew aha 53 How to Build Project llle 69 How to Obtain Patch iaa tnt dc ar ens 93 Install Key file caudis doa 3x RE E dose de 18 Instalation llle 2f Installation at X YYYY 38 51 Installation using a permanentlicense 20 Installation using a temporary license 20 L PG eek a Cee bees eee eee 32 License Errors clean 112 License Transfer lernen 23 Installation using an install key in the DVD ROM 20 120 MELSEC data link function 12 Obtaining Permanent License 22 Operating Environment a 16 Permanent License Application Form 18 Permanent License Application Form sample 18 Plug in Software llle 108 Product Maintenance
66. g only the patch may lead to improper operation Installer Remove Details BEE 4 Click the button uy Uninstall completed Hep lt Back o EN Nr Completed 44 CHAPTER 6 INSTALLATION AND UNINSTALLATION 6 2 3 After uninstallation Some folders and files are left in the folder of the installation location after the product is uninstalled The remaining files and files are left to speed up the start up of the installer when the product is installed again There is no problem even if the remaining folders and files are directly deleted from Explorer if they are not necessary Data not to be deleted Some files including Workspace folders and image files in Folder of the installation location After uninstallation a deletion error dialog box shown below may appear when a folder of the installation location is deleted Click the LIF button Restart the development environment personal computer and delete the folder of the installation location again Error Deleting File or Folder Cannot delete libwpwr41 Access is denied Make sure the disk is nat Full ar write probected and that the File is nat currently in use uone ejsuiun Jey z 9 uone pejsuluf Z 9 45 6 3 Update This section explains how to install the updated license product SW1DND CWWLQ24 EVZ how to operate and precautions Unless operations differ depending on the operating system windows and dialog boxes of Windows X
67. h document provided by Wind River Systems Inc KO Help in the menu bar gt Help Contents gt Wind River Documentation Guides Host Tools Wind River Workbench By Example VxWorks 6 Version 3 2 If the SWAPVC CCPU or SW3PVC CCPU has been already installed on the development environment personal computer the sample programs for the C Controller module can be imported to the product and used 38 CHAPTER 6 INSTALLATION AND UNINSTALLATION 6 2 uUninstallation This section explains how to uninstall CW Workbench and precautions Unless operations differ depending on the operating system windows and dialog boxes of Windows XP are used for explanations 6 2 1 Preparation before uninstallation 1 Log on as a user with the Administrator attribute when uninstalling the product on the development environment personal computer 2 Terminate the product before uninstallation 3 Uninstall the product in Product Maintenance The product cannot be uninstalled from Add or Remove Programs in the Control Panel Product Maintenance can be executed as follows Start gt All Programs gt Wind River gt Product Maintenance c Installation at X YYYY X and YYYY of Installation at X YYYY mean as below X The drive to which the product has been installed YYYY The folder to which the product has been installed If the folder of the installation location selected upon installation is C WindRive
68. h the CW Workbench additional license product or updated license product To install CW Workbench the DVD ROM included with the CW Workbench product with license is required 2 Contents of CW Workbench DVD ROM A CW Workbench install image An install image file of CW Workbench images Relevant manuals of VxWorks and Wind River Workbench 3 2 T Relevant document PDF A license notice PDF of the third party used in CW Workbench V3rd party licensor notices Manual CW Workbench Operating Manual PDF manual An application form for a permanent license and a license transfer Permanent License PermanentLicenseApplicationForm xls Application Form Use the form when applying for a permanent license and a license transfer A file to be used as an install key when you do not have a permanent license file and do not have the Internet Install key file l CW Workbench operates with no license when having been installed using an install key file Install SH IA txt CW Workbench A CW Workbench open source file src open source file 18 CHAPTER 3 PACKING LIST 3 2 Things to Prepare The following lists things to prepare before using CW Workbench 1 Development environment personal computer Prepare a personal computer to install and use CW Workbench Point Enter the host name within 2 to 15 alphanumeric characters for a personal computer to be used as a development environment personal computer Operating Environ
69. he plug in software type filter text 000 Babel Language Packs in Italian m pg Babel Language Packs in Japanese 808 Babel Language Packs in Klingon 000 Babel Language Packs in Korean Bak net gt Enin C Canco Ne Completed 110 APPENDIX Appendix 1 2 uninstallation Follow the instructions below to uninstall the plug in software 1 Select the menu bar Help gt About CW Click the Installation Details button Installation Details Open the Installed Software gt gt tab and select the w About C W Workbench Features packages to be deleted Click the button to uninstall the plug in software ack for birt in Japa 3 5 D v2 L8 ore eclipse baa CT ack for datatools in 3 arg eclipse ba ack for dedp mt in arg eclipze b ack for dsdp tm in arg eclipse b ack for eclipse in J 3 B ore eclipse be ack for madeling em 3 5 d argeclipze ba ack for modeling er 3 5 d argeclipse ba ack for madeling mz 3 5 0 20091 arg eclipse ba Babel Language Pack for madeling mz 3 5 0v20091 arg eclipse ba g ii ES ae Completed uoneljeysuluM Z xipueddy BJEMYOS ur Bn gd eui JO uonejjejsuru pue uonej pejsu xipueddy 111 Appendix 2 License Errors This section explains license errors that may occur when CW Workbench is started and being used Appendix 2 1 License errors CW Workbench operates as below when a license error occurs at s
70. he check box is s or keep clicking the box until it changes to Click the button 49 uoueqx10M M2 eiepdn o1 MOH L 9 ejepdn 9 9 Clickthe Next gt button Useful readme information is provided below ee NES EE ecc m ENCOO NNN 10 Click the Finish Installer Finish Installation Thank you for installing Wind River Workbench 3 2 for Mitsubishi C Controllers Please select the configuration tasks you would like the installer to perform Ira Desktop Shortcuts v E Start Menu Entries Hep J Be j gae Completed 90 CHAPTER 6 INSTALLATION AND UNINSTALLATION 6 3 2 After update This section explains an icon registration sample programs and a patch application after the product is installed with the updated license product SW1DND CWWLQ24 EVZ 1 How to start CW Workbench After the product is installed Wind River is added to All Programs in Start CW Workbench Documentation Product Maintenance and VxWorks 6 8 1 Application Developer menus can be selected Start the product from CW Workbench in the CW Workbench menu fan wind River Cw Workbench cw Workbench All Programs m an Documentation af Registry P Log Off o Lechi E Product Maintenance an WeWworks 6 6 1 Application Developer k Below is a list of descriptions of each menu described above a Menus to be registered Windows Vista
71. hown below may appear after the LIF button is clicked Clicking the Cancel button does not cancel the operation Wind River Installer Preparing installer UOHEJE SU L 9 Installer Welcome JER 2 Click the button uo9ueq x 1o0M MO IIE Su 0 MOH ZL 9 Wind River Installer for Wind River Workbench 3 2 for Mitsubishi C Controllers e NN NN To the next page 29 Installer On line Update Settings Choose on line update settings v Check on line for latest updates for this installer v Check on line for latest Wind River product updates URL for update repositories http updates windriver com oem mitsubishi updates repos Connect to internet using proxy server me J lt Back j ae ECCNES Point If the personal computer is connected to the Internet via a proxy server check the box of Connect to internet using proxy server and configure the proxy server setting set for the Internet connection on the personal computer d 30 Installer On line Update Settings Choose on line update settings V Check on line for latest updates for this installer V Check on line for latest Wind River product updates URL for update repositories http updates windriver com oem mitsubishi updates repos Choose proxy server type O Web Proxy OSOCKS Proxy Enter URL information for proxy server IP Address Pot
72. ind River Workbench 3 2 for Mitsubishi C Controllers has been selected Click the button Install If the check box is s or keep clicking the box until it changes to y button CHAPTER 6 INSTALLATION AND UNINSTALLATION 9 Click the button Installer readme txt SAR Useful readme information is provided below button Installer Finish Installation Thank you for installing Wind River Workbench 32 for Mitsubishi Controllers Please select the configuration tasks you would like the installer to perform v amp Desktop Shortcuts Start Menu Entries ENCEM NNGNM mec 9m WGCO NR ia Completed uone ejsu L 9 u9ueq 10M MOD I E SUI 0 MOH C9 3 6 1 3 After installation This section explains an icon registration sample programs and a patch application after the product is installed 1 How to start CW Workbench After the product is installed Wind River is added to All Programs in Start CW Workbench Documentation Product Maintenance and VxWorks 6 4 1 Application Developer VxWorks 6 8 1 Application Developer menus can be selected Start the product from CW Workbench in the CW Workbench menu All Programs m Wind River fas CW Workbench Cw Workbench Fi Documentation Registry lap Product Maintenance v Lag Off 9 Shut Dor E veWorks 6 4 1 Application Developer Be
73. ints 3 X 4 cw lI FASB seh 5 nrintf path Xd path ATOMTest AtomTestPro cpp 208 added on the Breakpoints window The execution result is displayed on the Console window z To display the result of Dynamic Printf on the Console Lu Debue Configurations H Pacis sur dp con GN window select Allocate Console necessary for input fs UTE Ti Em on the lt lt Common gt gt tab of the Debug Configurations RE E Name mdTest Q24DHOCPUI V SHout Q24DHOCPLI V sh lype niter a ng Launch Context E Downloads f Projects to Build Source E3 Common gt d ia og box 4B Attach Target Context Sess SST 8 Q24DHOCPU V SH H07 f 3 Q24DHCCPU V SH H07 1 Local file E C C Application O Shared file Browse E C C Attach to Application E C C Postmortem Debugger Display in favorites menu Console Encoding E C C Remote Application C Debug Default inherited M5932 Launch Control O Q Ran OOther 150 8859 1 B Q VxWorks Kernel Task El X Download 2 mdTest Q24DHOCPU V SH ou OQ VxWorks Real Time Process Standard Input and Output M liocate Console necessary for input OFite ksp File tem bl Uld onueu g ejno9x3 01 MOH SQL 95 CHAPTER 11 TROUBLESHOOTING The following table lists errors that occur during use of CW Workbench and their solutions Categor
74. ion and change the mark to eg cancel Check that O has been deleted from Selected option atte ntion Vv To the next page Operating procedures Three styles of descriptions are used in this manual as below 1 When there is only one operation 4 Menu bar Help gt Help Contents 2 When there are steps 1 Copy the created source file to the current folder of a project to be added 2 Select the project to be added on the Project Explorer window 3 When there are multiple operations Enter a folder name of the installation location and click the OK button e A folder can be selected by clicking the Browse button 10 Symbols used in this manual The following shows the symbols used in this manual with descriptions and examples File Edit Source Refactor Navigate Search gaupi sg Open Praject R8 F3 mi O x bi J Project References D T ETE hse Project iR i ect Ci nt s t pM 2 al E ee t Wind River vix SSeS Open Wind River VixMWorks 6 4 Development Shell 6 0 Build Targets GH75 enule wes Wind River Launches Build All m3 Binaries Build Project 2d Includes Glean E oH folenule _ Sample c Build Options d 0 0 d Basic Device Development UserProject Sample c CW Workbench Properties for UserProject Build Properties Resource Binary Parser Specify all build properties
75. ion 6 1 3 Section 6 2 1 Section 6 2 2 Chapter 7 Section 8 1 Section 8 3 Section 9 1 1 Section 9 1 2 Section 11 3 Section 6 3 Section 10 5 Appendix 3 May 2013 SH NA 080982ENG C Chapter 11 Section 11 4 orrection RELEVANT MANUALS GENERIC TERMS AND ABBREVIATION Section 8 1 Nov 2013 SH NA 080982ENG D Section 9 1 1 Section 9 1 2 Addition PRODUCT ORGANIZATION RELEVANT MANUALS GENERIC TERMS AND ABBREVIATION TERMS Jul 2014 SH NA 080982ENG E PRODUCT ORGANIZATION Section 2 1 Section 2 2 Section 2 4 Section 6 1 2 Section 6 1 3 Section 6 3 1 Section 8 1 Section 8 3 Section 9 1 1 Section 9 1 2 Section 9 3 Section 10 5 Section 11 3 Japanese Manual Version SH 080981 F This manual confers no industrial rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual 2011 MITSUBISHI ELECTRIC CORPORATION 121 Microsoft Windows and Windows Vista are trademarks or registered trademarks of Microsoft Corporation in the United States and other countries Core2Duo is a trademark or registered trademark of Intel Corporation in the United States and other countries Ethernet is a trademark or registered trademark of Xerox Corporation Oracle and Java are trademarks or registered trademarks of Oracle
76. iple tasks 1 To debug multiple tasks execute steps 1 to 5 in Section 10 4 1 Debugging one task as many times as the number of tasks to be started 2 The Debug window displays the executed tasks Ex An example of when two tasks have been started A EntryWDTIntc 23 H 5 Debug 53 5 return Oe isi bj 2A R iz SZ Gef SH7780 Task Mode POE eg eee ce eee nena 5 9 tEntryWDTMain 0x49382F BC Stopped 5 Y word output processing Task 1 Entry WDTMainO Entry WDTInt c 44 LRL ge zs 2 zx KEEKEREERREERERRERREEE r yxTaskEntry 0x490496aa B icnt WDTMai s void i h Y Word WriteRtnTask EntryWDTInt out VxWorks6x_192 168 3 3 VxWorks Ke uiis rer cf SH7780 Task Mode long path tYWord MriteRtnTask x4FFFBE90 Stopped Breakpoint Hit unsigned short data 1 Word WriteRtnTask EntryWDTInt c 187 yxTaskEntry 0x480496aa Execute QBF Open id pi tYWord WriteRtnTask Ox4F FF5E9O ret QBF Open UNIT amp path if ret Oj f printf OBF Open error ret hd hxH jin ret ret return The task 2 function is in the Current status KONCRCRNCNCKCKCNCKCKCNCKCNONOKCNCNCKCNONCNCKCNONCKONCKCNCKONCKONCKCNCNCKCKCNCKCNONCKCNOKON AAA AAA AH P The source code in the left dialog Increment YO YF every one second box shows the breakpoint HE EEXEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEREEEEREEEEEEREREREREEEEN data 0 0 while 1 Write YO YF value t ret
77. isplayed after the build is completed Check for error indication red on the Build Console window Point ifthe following error command not found occurs for the build result an unsupported compiler may have been used Check that only the following build specification has been selected for the lt lt Build Support and Specs tab in Build Properties of the project If check boxes of build specifications other than the following have been selected clear them gt Page 56 Section 8 1 c Q24DHCCPU V VG PENTIUM4gnu gt Sea V e ED B ij Feeds 4 a 2 Error Error Log EE Console S a s i2e9 building UserProj ject Debue Objects UserProject Sample o AP SES GNDOCUME MIN PS30985 LOCALS IXTemp make14208 sh dec command not found GCA WVOP_B vxworks 6 4 host x86 win32 bin make exe UserProject Debue Objects UserProject Sall Build Failed in Project UserProject Process Exit Value was 2 2010 07 29 13 18 01 al Ifthe build result has an error error information source file name line number and error details is displayed in red Correct source codes in the error part Execute the build again after correction Repeatedly correct and build the source codes until the build result is not colored red Build Console N 9 Error Log E Properties j el woes 4 B5B 70 i gae removing targets and objects of C user WS wb3 2 cww HowTo UserP
78. kbench is software to offer dedicated integrated development environment for the Mitsubishi C Controller module CW Workbench has the following features 1 Software to offer dedicated integrated development environment for the C Controller module This product is an integrated development environment to execute the following operations project management source code editing building and debugging A user program for the C Controller module can be effectively developed 2 The same specifications as those of Wind River Workbench 3 2 Displays and operations of CW Workbench are the same specifications as those of Wind River Workbench 3 2 for common functions 3 The operating system of the development environment personal computer is compatible with Windows 7 The operating system of the development environment personal computer is compatible with Windows XP TI D Q a c D o Windows Vista and Windows 7 4 Extended functions using plug in software The third party plug in software can be easily added which allows functions to be easily extended 13 CHAPTER 2 SYSTEM CONFIGURATION 2 1 Environment Configuration for Each License Type This section explains the environment for developing user programs in CW Workbench A permanent license is required to install CW Workbench 7 gt Page 22 Section 5 1 1 Product with license C Controller module Permanent A Permanent ix
79. l the printf statement when debugging the program without embedding the printf function to the source code with the similar operation as that of the breakpoint Dynamic Printf is only compatible with Q24DHCCPU V VG 1 Onthe Editor window open the source file which CRC Te UNDE is a target for debugging and right click the left short mdTest void i edge section _ to open the pop up menu IUE Q Select Add Dynamic printf from the pop up Enable Breakpoint menu Breakpoint Properties 6 Add Dynamic printt Breakpoint Tracepoints Go to Annotation Ctrl Add Book mark Add Task show Glick Diff Ctr Shift show Annotation show Line Numbers Folding Preferences 2 The Dynamic printf Properties dialog box Dynamic printf Location and Arguments s appears Enter the printf statement to be displayed when j Rear GT ange RE ER debugging the program for Printf with the same text format as the argument to be written in General Source Lookup Status Scope Advanced LENS on Tn 4 SES he printf function and click the button File Path amp ATOMTest AtomTestPro cpp the p i Line 208 Printf C path d path Enabled C Verbose Mode Oodiim S S SyS C Skip Count lt 7 To the next page 94 CHAPTER 10 HOW TO DEBUG PROGRAM 3 The printf statement entered for Printf is Breakpo
80. ld 65nqeq 01 MOH Ol 12 Placing the mouse over a variable for a certain Register timer event of 500ms cycle 1 Timer event count Expression TE Em period of time displays the current value of the a S event lone int 4 0x49389F BC 0M 69 event D long int 286331154 EH NE variable in a balloon 69 event 2 zs 286331154 The value displayed in the balloon can be also xe event 8 long int 286331154 PE EARN changed like on the Variables window Register a routine for the user WDT error interrupt ret QBF EntryWDTInt path 0 FUNCPTR UWDTIntHookRtn we 13 Click the Terminate E button on the Debug X Debug 53 window to terminate the debugging session a UR x C 8 HR it 5 s Entry WD TMain 7 TestPropout VxWork a SHITE Taek Made s7 Completed Point To debug the task again click the W mark on the right side of the debugging icon X on the toolbar and select the created debug configurations at the top of the pop up menu The steps 1 to 5 can be skipped Device Debug Entry WDTInt Entry WDTInt c CW Workbench File Edit Source Refactor Navigate Search Project Target Run Window Help Stee Entry WDTInt Wind River Vx Debug Configurations p Entry WDTInt_partiallmage H I EntrWDTInt out GHTT5 el Organize Favorites 92 CHAPTER 10 HOW TO DEBUG PROGRAM 10 4 2 Debugging mult
81. ld spec SH 7750gnule Active build spec SH 750gnule s iin mode Restore Defaults Apply Cancel Point When the project has been imported unsupported build specifications may be displayed for Available and enable build specs Since this product supports only the following build specifications clear the check boxes other than the following build specifications c Q24DHCCPU V VG PENTIUM4gnu c Q12DCCPU V SH7750gnule The default is in the debug mode Clear the Debug mode check box during operation joeloud Hune 1 9 9 Select Build Properties from the tree on the left of Properties for UserProject type filter text Build Properties Resource the window Binary Parser amp Build Support and Specs s Build Tools Build Macros E Build Paths Libraries Open the Bu i Id Paths gt gt tab and cl ick the C C General Redirection root directory Browse Project Info Project References Note Leave this field blank to store build output together with the sources or enter an absolute Refactoring History path environment variables are permissible to redirect the output butto n x Run Debug Settings Build spec specific settings Task Tags Active build spec SH7 50enule Validation Specify all build properties Redirection directory SH 750enule Default Include path
82. license c 5 Page 35 uonejEjsu L 9 u9ueq x1o0M MO E SUI 0 MOH ZL 9 31 Installation using a temporary license 1 Installer Choose Activation Type Choose Install Key Type O Use the existing product activation file Temporary install key requires an Internet connection Permanent install key file Enter the full path to your install key file Manually enter all install keys Glick next to enter the install keys for each product tee Beck e ECT Point Select Temporary install key requires an Internet connection and click the button e If Temporary install key is selected the Internet is required to acquire Temporary install key Execute the installation on a personal computer connected to the Internet If the personal computer is connected to the Internet via a proxy server configure the proxy server setting gt Page 30 Point If Temporary install key is selected without configuring the proxy server setting installation does not proceed Nen 2 Installer Host Information Please choose a host ID to identify the computer on which you are installing this software Host Name ser OE Selection Host ID Type Ethernet Adapter Disk Serial Number DISK SERIAL NUM Bedficuct Note host IDs are a way to uniquely identify computers If your computer has multiple mm adapters stea for example wired and wireless
83. ll MD MP Debug mode flags Debug mode Non Debug mode 02 fno builtin Restore Defaults SUE To the next page 72 CHAPTER 8 CREATING AND BUILDING USER PROGRAM 3 Select C Compiler for Build tool type filter text Build Properties r ghee Specify all build properties Click the Tool Flagz button Build Properties Build Support and Specs Build Tools Build Macros Build Paths B Libraries Builders H C C General Build tool C Compiler Project Info Project References L Refactoring History L Run Debueg Settings Task Tags C Compiler G Compiler Linker Partial Image Linker Librarian Assembler L Validation Generated puri ompa Q Generated build output is a build target Build target can be passed Build spec specific settings Active build spec SH7750enule Derived suffix o Command echo building 8 3ccompilerprefix amp TOOL_PATHicesh Debug ModeF lags ToolF lags CADDED CFLAGS XIncludessi Ef ADDED INCLUDES DGPU GPL pum DTOOL F AMILY CTOOL FAMILY DTOOL TOOL D WRS KERNEL v Tool Flags 00 ARCH SPEO ansi Wall MD MP Debug mode flags Debue mode lll Non Debug mode O2 fno builtin Restore Defaults Apply Select C Compiler for C V Gnu Compiler Op
84. low is a list of descriptions of each menu described above a Menus to be registered Menu Description CW Workbench Starts CW Workbench Starts Wind River Registry for Workbench 3 2 CW Workbench When CW Workbench is started Wind River Registry for Workbench 3 2 Registry RN also starts except when it is running already An icon is registered on the task tray Workbench 3 2 Wind River Workbench 3 2 document Documentation VxWorks 6 8 VxWorks 6 8 document Uninstalls and updates CW Workbench and applies a patch Product Maintenance Installation at X YYYY X drive name Y folder name of the installation location FTP Server Starts WF TPD VxWorks 6 8 1 Application M Starts HyperTerminal for Telnet connection Developer or VxWorks VxWorks COMx VxWorks COMx cannot be used on the operating system such as 6 4 1 Application 2 Windows Vista and Windows 7 where HyperTerminal is not installed Developer VxWorks Development Shell Starts a command line Shell in which the Gnu compiler can be used 1 For SW1DND CWWLQ24 E 2 For SW1DND CWWLQ12 E b Sample programs to be registered Sample programs provided by Wind River Systems Inc are installed when the product is installed on the development environment personal computer To check the sample programs to be installed start the product and select from the file menu New gt Example For details on the sample programs refer to the Wind River Workbenc
85. me of the development environment personal computer where CW Workbench has been installed may have only one character or more than 15 characters or may have two byte characters or one byte katakana Action Set the host name of the development environment personal computer within 2 to 15 alphanumeric characters 104 CHAPTER 11 TROUBLESHOOTING 2 When Connect is executed on the Remote Systems window an error occurs and CW Workbench fails to be connected to the C Controller module Failed to Connect to Target The connection status of the Remote Systems suddenly changes from Connected to Disconnected This error occurs when Connect has been executed on the Remote Systems window of CW Workbench on multiple personal computers for one C Controller module or Connect has been executed on the Remote Systems window of CW Workbench multiple times on one personal computer for one C Controller module Action Do not execute Connect on multiple personal computers to one C Controller module at the same time Do not execute Connect on the Remote Systems window of CW Workbench multiple times to one C Controller module 3 The selected target connections are not imported This error occurs when the multiple target connections are selected and the import operation is executed Action Import the target connections one by one which are not imported uonoeuuo JOAIOS Jobe PLL 105 11 5 Downloading 1 o
86. ment for operating specifications of a personal computer 7 Page 16 Section 2 3 2 CW Workbench DVD ROM Prepare a CW Workbench DVD ROM included with the product with license SW1DND CWWLQ12 E SW1DND CWWLQ24 E The DVD ROM is required to install CW Workbench Apply for a permanent license using an application form stored on the DVD ROM 3 License Agreement An LAC described in the License Agreement is required to install CW Workbench by using a temporary license An LAC and a product ID described in the License Agreement are also required to apply for a permanent license Prepare the License Agreement included with CW Workbench 4 Permanent license file A permanent license file is required to install CW Workbench by using a permanent license To acquire a permanent license file use a Permanent License Application Form stored on the DVD ROM and send us the Form eJedeJg 0 sBulu z 5 Internet connection An Internet connection is required to install CW Workbench by using a permanent license Acquire a 31 day temporary license via the Internet 19 CHAPTER 4 PROCEDURE OVERVIEW 4 1 From Installation to Debugging Obtain a permanent license Apply for a permanent license gt Page 22 Section 5 1 Installation How do you install the product Use the permanent license file for Use the temporary license file for Use the install key file for installation installation installation Permanent Lice
87. n until the current function has returned to its caller To the next page 90 Value it xe long int 122825802768 E plnfo 04928 E 9 event long int 4 Ox49399F BC x c ever long int z88331154 ever long int 2886331154 x e ever long int z88331154 x ever long int 206331154 9 ulBufar long unsigne UxEEEEEEEE Type J ret short int x path Name pllInfo Binarw b li d giggiogoiiignooingagi11i1110000000 Variables egisterg i BENE Expressions J Memory Browser ET toss B amp T9 Y Description E M General General au r Drm m n iba rl 1 49382F EG xdaaz F BG Ox4 955 BF C4 0x4 0000000 Oxd82 02 B3C Drs anres DI MI cn zo o o So o JI 1 1 1 1 1 fi C Binary 06501001001001110000010111111101100 Decimal 1225419052 Hex 0x49352FEC Variables i101 Registers d Expression Mame path Binary Ob01001 Decimal 12262 Hex Ox493 5BFC4 Default l1s22B848 Octal 01111533 atrindg Tvpe long int 4 long int long int long int long int Expression path E S8 event event U t event 1 evert 2 eventi Age mew axor 04938289F BC 206331154 200331154 206331154 206331154 12345678 00000000 00000000 OOOOO000 ddiddan googagaou OOOOO000 ddiddan gogaagaou OOOOO000 aagagaagagao gogaagaou OOOOO000 ddiddan gogaagaou pagoaaouadgog ddiddan googagaou iUa To the next page OxECOOOOOC OxECOOOO1S
88. nd disabled depending on the status of connection to the C Controller module During disconnection Connect b for enabled and Disconnect IT for disabled During connection Connect bT for disabled and Disconnect ET Jfor enabled Poin tP The following error message appears if the C Controller module is not running or if the network is not connected while the target server is under Connect uw Failed to Connect to Target Failed to launch target server for connection vxWorksSx 192 168 3 3 Registry localhost Possible cause Back end not connected Removed dead entry from Registry If the error shown above occurs check the following The C Controller module is powered on and is running properly The target server is connected to the C Controller module lt 5 Page 77 Section 9 1 1 3 After the target server is started and connected select the connected target server to use the Host Shell For how to start the shell refer to the following section s Page 83 Section 10 2 For details on Shell refer to the following document by selecting Help in the menu bar gt Help Contents gt Wind River Documentation c Guides zc Host Tools c Wind River Workbench Host Shell User s Guide 3 2 81 JeAJes 1eBJej y Bunoeuuoo pue Hues z 6 9 3 How to Check and Change Connection Settings If the target server cannot be connected to the C Controller module follow
89. ndalone Personal computer Unless otherwise specified this manual uses the following generic terms and abbreviations Description The abbreviation for Q24DHCCPU V C Controller module The abbreviation for Q24DHCCPU VG C Controller module The abbreviation for Q12DCCPU V C Controller module Status that Q12DCCPU V is initialized with the basic mode For Q12DCCPU V Basic mode refer to the following manual C Controller Module User s Manual Hardware Design Function Explanation Status that Q12DCCPU V is initialized with the extended mode For Q12DCCPU V Extended mode refer to the following manual MELSEC Q C Controller Module User s Manual The generic term for Q24DHCCPU V Q24DHCCPU VG and Q12DCCPU V The generic term for Setting monitoring tools for the C Controller module shown below Q24DHCCPU V Q24DHCCPU VG and Q12DCCPU V Extended mode SWAPVC CCPU Q12DCCPU V Basic mode SW3PVC CCPU The real time operating system manufactured by Wind River Systems Inc The generic term for Wind River Workbench manufactured by Wind River Systems Inc The engineering tool for C Controller module The generic term for OEM products of Wind River without the runtime analysis tool and simulation functions VxSim of Wind River Workbench a subset of Wind River Workbench e Q24DHCCPU V and Q24DHCCPU VG SW1DND CWWLQ24 E SW1DND CWWLQ24 EZ SW1DND CWWLQ24 EVZ e Q12DCCPU V SW1DND CWWLQ12 E SW1DND CWWLQ12 EZ SW1DND CWWLQ12 EVZ The generic term fo
90. net connection 9 Permanent install key file Ne ae t E b u tto n Manually enter all install keys Click next to enter the install keys for each product NNCCHEE NNTCEE es N N X Go to the step 6 gt Page 36 uone ejsu L 9 u9ueq x1o0M MO E SUI 0 MOH ZL 9 35 Installer Choose Installation Filters Tareet Architectures intel Select all L SuperH Deselect all ENTER T GNDTENR GN 7 AR Installer Select and Install Products Products and Features Q Wind River Workbench 3 2 for Mitsubishi C Controllers Installation Directory C WindRiver Disk Space Information Total Disk Space Required 1 27 GB Disk Space Available 28 17 GB Installer Select and Install Products gp VxWorks 6 4 1 Application Developer ug Wind River GNU Compiler 34 4 for VxWorks 64 modified for Windows Vista H Q Wind River Setup 201 H Q Wind River Workbench 32 for VxWorks 68 Enabler Rev 3 Ge Wind River Workbench Core 3 2 0 3 Installation Directory C WindRiver Disk Space Information Total Disk Space Required 1 27 GB Disk Space Available 28 01 GB Installation Progress Installation Complete te Jf Be Le and Windows 7 lt 7 To the next page 36 lt Click the Deselect all button Select the following items and click the Hex 3 button c gt For Q24DHCCPU V VG Intel c gt For Q12DCCPU V SuperH Check that W
91. nse File Yes Permanent License File No Permanent License File No Internet Connection Yes Internet Connection No Page 20 Section 4 1 1 Page 20 Section 4 1 2 Page 20 Section 4 1 3 Page 27 Section 6 1 Apply a permanent license Apply a permanent license that is sent later to the development environment personal computer gt Page 25 Section 5 3 20 1 2 3 To the next page Installation using a permanent license This installation is for users with a permanent license regular license All the functions of CW Workbench can be used for unlimited duration Installation using a temporary license This installation is for users with a temporary license acquired on the Internet All the functions of CW Workbench can be used for 31 days after the installation Installation using an install key on the DVD ROM This installation is for users having neither permanent license nor Internet connection Only the editor import and export functions of CW Workbench can be used The build compile or debug functions cannot be used Note that for SW1DND CWWLQ24 EVZ the installation using the following install key files cannot be executed Install SH4 txt of SW1DND CWWLQ12 E e Install SH_IA txt of SW1DND CWWLQ24 E NEN si sme es ee ins Si ee ee eee ee ee ee ee ee s The dialog box shown to the right appears when CW Workbench is started up with no license Click Cancel to co
92. nstaller has terminated suddenly during installation This problem occurs when characters other than alphanumeric characters an underscore and a hyphen have been used for the folder name of the installation location specified at first on the CW Workbench installer Action Use the following characters for the folder name of the installation location and reinstall CW Workbench e Alphanumeric characters e underscore hyphen Space cannot be used 2 A message The install root of your Wind River Workbench installation could not be located appears and CW Workbench cannot be started This problem occurs when characters other than alphanumeric characters an underscore and a hyphen have been used for the folder name of the installation location on CW Workbench Action Uninstall CW Workbench Use the following characters for the folder name of the installation location and reinstall CW Workbench e Alphanumeric characters e underscore hyphen Space cannot be used 3 A message Workspace in use or cannot be created choose a different one appears and CW Workbench cannot be started This message appears if the folder of the workspace specified at first is being accessed by another CW Workbench Action Click the OF button Select a different folder for the Workspace folder displayed again or terminate the CW Workbench that is operating already uoneJedo oiseg L LL 97 98 4 A patch
93. ntinue the operation From the previous page Apply a patch Information and services CHAPTER 4 PROCEDURE OVERVIEW FLEXIm License Finder Your application was not able to obtain a license because the FLEXIm license manager could not determine where to find the licensing data it needs Please choose one of the following Specify the License Server O Specify the License File Copyright c 1999 2003 Macrovision Corporation Cancel For further information and services please consult your local Mitsubishi representative Page 52 CHAPTER 7 Create a project Create a user program project and perform programming Page 55 CHAPTER 8 Build Build a user program z Page 69 Section 8 3 Connect the target Connect CW Workbench to the C Controller module Page 75 CHAPTER 9 Download Download the user program on the C Controller module 7 3 Page 83 CHAPTER 10 Debug Debug the user program z Page 83 CHAPTER 10 21 DuiB6nqegq oj uonej ejsu uoJ4 Lp CHAPTER 5 PERMANENT LICENSE 5 1 Obtaining Permanent License A permanent license is required to use CW Workbench for unlimited duration Follow the instructions shown below to obtain a permanent license Start obtaining a permanent license Obtain a Permanent License Application Form on the DVD ROM Obtain host information on the development environment personal computer where CW Workbench is
94. nvironment personal computer 7 gt Page 76 Section 9 1 1 1 3 Checking the network connection Before setting the target server connection use the ping command to check that the C Controller module a destination of the target server is connected to the development environment personal computer by following the instructions below 1 Start Command Prompt from the start menu on the development environment personal computer 2 Execute the ping command Use the IP address of the C Controller module for the IP address specified for an argument in the ping command The default IP address of the C Controller module is 192 168 3 3 if not changed 3 Check that the development environment is amp Command Prompt network connected to the C Controller module m 132 From EE IG Seeders From 192 168 3 3 by m 192 i 32 168 3 3 bytes 32 time 68 3 3 bytes 3 Il IE ing statistics for 192 168 3 3 Packets Sent 4 Received 4 Lost 0 0 loss Approximate round trip times in mill i secon Minimum Oms Maximum Ims Average JeAJeg 1eDje Dumes 16 Dumes 1eAJes 1eD4e JO BDuuedeJjg 1 16 4 Execute the exit command to terminate the Command Prompt t rom From From t rom Ping statistics for 192 168 3 3 Packets Sent 4 Received 4 Lost Approximate round trip times in mill i secon Minimum Oms Maximum Oms Average C exit Completed nf 9 1 2 How to se
95. olbar and select LIES G dm PM g icon F fc Debug Configurations from the pop up menu ina launch history mansit hz B b germen Wind River m TETE DERI TETTE zi Hy Build Targets SH 50enule Hae bes E Wind River Launches ra A Binaries To the next page 86 w Debue Contieurations Create manage and run configurations Configure launch sett tvpe filter text L1 Press the New Press the Dupl 3 Press the Dele fi Attach Target Context fe G C Application e G O Attach to Applicati r C C Postmortem Debug vee c CAG Remote Applicatior seve e Launch Control l ige E Press the Filte Edit ar view an z WxWorke Kernel Task Gonfigure launch pers Debug Configurations Create manage and run configurations Please enter or select an Entry Point hi C8 x Name noEntryPoint TestProj out VxWorks6x_192 168 3 3 type filter text 9 Attach Target Context E E C C Application VxWorks Kernel Task Options c C C Attach to Applicat c C C Postmortem Debu Launch Context NWN Ed 2 ES c C C Remote Applicatic Launch Control E Q VxWorks Kernel Task noEntryPoint TestPi Q VxWorks Real Time Proce gt Downloads Projects to Build Ey Source E Common SERTER sme default localhost id VeWorks6x_192 168 33 Wind River VxWorks 6 4
96. os Connect to internet using proxy server ETENN Gc NM Point If the personal computer is connected to the Internet via a proxy server check the box of Connect to internet using proxy server and configure the proxy server setting set for the Internet connection on the personal computer f Installer On line Update Settings Choose on line update settings V Check on line for latest updates for this installer V Check on line for latest Wind River product updates URL for update repositories http updates windriver com oem mitsubishi updates repos Choose proxy server type O Web Proxy O SOCKS Proxy Enter URL information for proxy server IP Address Lose J ge J nt gt J Ge epdN e 9 4 Select ACCEPT the terms of this license agreement and click the Next gt button Installer License Agreement By selecting I ACCEPT the terms of this license agreement and clicking Next you consent to the terms of this agreement If you do not wish to be bound by the terms of this agreement click Cancel and do not install this software THE SOFTWARE AND ACCOMPANYING DOCUMENTATION ARE WIND RIVER PROPERTY AND PROTECTED BY UNITED STATES COPYRIGHT LAW AND INTERNATIONAL TREATY UNAUTHORIZED USE REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES YOUSqyYJON M2 eepdn o1 MOH 9 BY CLICKING ON THE I ACCEPT BUTTON YOU ACKNOWLED
97. oxes other than the following build specifications c gt For Q24DHCCPU V VG PENTIUM4gnu c For Q12DCCPU V SH7750gnule Properties for UserProject type filter text Build Properties oo Resource Binary Parser ge Build Properties if Build Support and Specs a Build Tools Build Macros G Build Paths mh Libraries i Builders H G C General Project Info Managed build makefiles generated by the IDE Specify all build properties Build support Project References Disabled i Refactoring History L Run Debug Settings St 2 mi us amp makeprefix amp make na print directory i Validatian Available and enabled build specs C SH 50diab Enable All C SH 50diable C SH 50enu Disable All SH 6Qenule Buiping LI Rename Gn p Delete Default build spec SH 50enule Active build spec SH 75 gnule Debug mode Restore Defaults Apply 101 2 An error no input files No Such file or No such file or directory has occurred The source file may not have been registered in the build project Action Create a file with extension of c or cpp or change the file name to the one with extension of c or cpp Register the file in the build project and execute the build s Page 55 CHAPTER 8 Follow the instruction below to change the file name Basic Device Devel t GW Workbench E i altel Rar E HAE Bana With Sample selected
98. r the menu name is Installation at C WindRiver 4 Do not stop the processing during uninstallation If the processing has been stopped uninstall the product again If the uninstallation processing has failed after the uninstallation processing has been stopped reinstall the product Then uninstall the product again 39 uonej jejsuiun eJ0jeq uoneJedeJd zZ 9 uonej pejsuluf Z 9 40 5 For uninstallation on Windows Vista or Windows 7 a dialog box asking whether to enable or disable User Account Control appears Click Allow or Yes to continue the uninstallation e For Windows Vista Don t run the program unless you know where it s from or you ve used it ore IR wrlnstaller exe Unidentified Publisher Cancel Click Allow I don t know where this program is from or what it s for User Account Control helps stop unauthorized changes to your computer e For Windows 7 Program name wrlnstaller exe Publisher Unknown Click the yes button File origin CD DVD drive Y Show detail xe jJ Change when these notifications appear 6 2 2 How to uninstall CW Workbench 1 2 Start uninstalling CW Workbench ioa If the Wind River Registry for Workbench 3 2 icon exists on the task tray of Windows select Shutdown in the menu that pops up by right clicking the w icon Click after the following dialog box appears to terminate Wind River Registry
99. r information and services please consult your local Mitsubishi representative 2 Extract the downloaded file and store it in the updates folder in the folder of the installation location of CW Workbench Ex When the installation location of CW Workbench is C WindRiver the storage location of the patch is C WindRiver updates 7 2 How to Apply Patch Select Start gt All Programs gt Wind River gt Product Maintenance gt Installation at X YYYY fm Wind River Select Patch and click the button Product Updates 3 Download and apply updates for entitled product Pack Apply Patches individual fixes for individual problems Remove parts or all installed features U9jeg ulE qO 01 MOH 77 To the next page 53 3 Check that the patch to be installed has been selected Installer Install Updates PEE Click the Install button Specify the update source Install Directory Disk Space O3XWindRiver 11059 KB 2745 GB Install Progress Installation has not started Overall Installation Progress installed 0 of 0 selected patches Point If the patch to be installed is not displayed check whether the storage location of the patch file is correct Patch file storage location Install folder updates 4 Click the Installer Install Updates i Specify the update source Install Directory Disk Space O3XWindRiver 11059 KB 2745 GB Install
100. r the VxWorks simulator functions of Wind River Workbench The abbreviation for the VxWorks simulator that can operate the C Controller module program on a personal computer with CW Workbench installed without connecting to the actual machine target The abbreviation for the VxWorks simulator that can operate C Controller module program even on a personal computer without CW Workbench installed amp The generic term for personal computers where Windows operates 11 TERMS Unless otherwise specified this manual uses the following terms Term Description E The generic term for bus interface function MELSEC data link function and C Controller Dedicated function library module dedicated function Dedicated function library offered by C Controller module This function is used when executing the following Bus interface function e Input from or output to I O modules controlled by the C Controller module Access to the buffer memory of an intelligent function module The readout or control of the C Controller module status Dedicated function library offered by C Controller module MELSEC data link function This function is used when writing to reading from a device of other programmable Controller CPUs connected via network or configured with multiple CPUs Dedicated function library that controls C Controller module This function is used when reading the C Controller module status controlling LED and C Controller mod
101. re an interlock circuit in the user program to ensure that the entire system will always operate safely 1 Changing data of the running C Controller module from the development environment personal computer connected 2 Changing the operating status 3 Operation from the development environment personal computer Especially in the case of a control from an external device to a remote C Controller module immediate action cannot be taken for a problem on the C Controller module due to a communication failure To prevent this configure an interlock circuit in the user program and determine corrective actions to be taken between the external device and C Controller module in case of a communication failure Startup and Maintenance Precautions NWARNING For the following controls configure an interlock circuit in the user program to ensure that the entire system will always operate safely 1 Changing data of the running C Controller module from the development environment personal computer connected 2 Changing the operating status 3 Operation from the development environment personal computer Especially in the case of a control from an external device to a remote C Controller module immediate action cannot be taken for a problem on the C Controller module due to a communication failure To prevent this configure an interlock circuit in the user program and determine corrective actions to be taken between the e
102. rking Permanent days MAIL license file E _ a Page 27 Section 6 1 If you have lost the License Agreement and do no know the Product ID contact your local Mitsubishi service center or representative and give them information filled out on the Permanent License Application Form Name of the representative person department name and company name e E mail address e Target CPU CHAPTER 5 PERMANENT LICENSE 5 3 Applying Permanent License Apply the acquired permanent license file to the development environment personal computer specified for Host machineinformation on the application form Follow the instructions shown below to apply the permanent license file Start applying a permanent license Yes CW Workbench is running Terminate CW Workbench Below is a license folder when CW Workbench is installed on the C drive without changing the folder of the installation Copy the obtained permanent license file location on the license folder of CW Workbench C WindRiver license Hip WindRiver E wind tj docs gnu ire o ieee Note Do not store the license file in folders other than the one Start CW Workbench specified above and use the file when applying the license file to the development environment personal computer Completed zz License file osu9or 1ueueuueg Huddy eg 1 When two or more permanent license files are o
103. rogram is lt Project m Rename this file B UserProject out 1KB OUT File ii gy Move this file name out D Copy this file sid gt Folders where a user program is created e In Debug Mode c gt For Q24DHCCPU V VG Workspace folder Project name folder gt PENTIUM4gnu lt Project name folder Debug c gt For Q12DCCPU V Workspace folder M Project name folder gt SH7750gnule lt Project name folder gt Debug File and Folder Tasks In Release Mode c gt For Q24DHCCPU V VG Workspace folder Project name folder gt PENTIUM4gnu lt Project name folder NonDebug c For Q12DCCPU V Workspace folder Project name folder gt SH7750gnule lt Project name folder NonDebug When a user program is created on a project imported the folders above change depending on structures of folders and projects where the imported project exists Check the folders where a user program is created on the imported project UE Completed j efoug ping 0 MOH 8 71 8 4 Setting Optimization Option This section explains how to set an optimization option that prioritizes the processing speed 1 Selecta project where the optimization option is Basic Device Development UserProject Sample c CW Workbench File Edit Source Refactor Navigate Search Meme Run Window Help set Select from the menu bar Project gt MA S 2 O 2p vene L id Project References
104. rohibited Application Prohibited Applications include but not limited to the use of the PRODUCT in e Nuclear Power Plants and any other power plants operated by Power companies and or any other cases in which the public could be affected if any problem or fault occurs in the PRODUCT e Railway companies or Public service purposes and or any other cases in which establishment of a special quality assurance system is required by the Purchaser or End User e Aircraft or Aerospace Medical applications Train equipment transport equipment such as Elevator and Escalator Incineration and Fuel devices Vehicles Manned transportation Equipment for Recreation and Amusement and Safety devices handling of Nuclear or Hazardous Materials or Chemicals Mining and Drilling and or other applications where there is a significant risk of injury to the public or property Notwithstanding the above restrictions Mitsubishi may in its sole discretion authorize use of the PRODUCT in one or more of the Prohibited Applications provided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsubishi and provided further that no special quality assurance or fail safe redundant or other safety features which exceed the general specifications of the PRODUCTS are required For details please contact the Mitsubishi representative in your region INTRODUCTION Thank you for purchasing CW Workbench This manual explains abo
105. roject SH 750enule if d UserProject then cd UserProject rm rf Debug fi if d UserProject partialImage then cd UserProject partialImage rm rf Debug if d dimame UserProject_partiallmage Debue Objects LserProject Sample o Ri f then mkdir p dirname building UserProject_partiallmage Debug Objects UserProject Sa mple o C user WS wb32 cww HowTo UserProject Sample c In function UserProject C user WS wb3 2 cww_HowTo UserProject Sample c 99 error stray 129 in program C user WS wb3 2 cww_HowTo UserProject Sample c 99 stray amp in program QC WRACWWvxworks 6 A host x86 win32NbinNmake exe UserProject i i Debue Objects User Projec 0 08 26 10 28 33 Elapse Build Failed in Project UserProject Process Exit Value was 2 t nae es il Double clicking the error line where a source file name and a line number are displayed jumps to the error location of the source file x To the next page CHAPTER 8 CREATING AND BUILDING USER PROGRAM e P After the build is completed execution file user NonDebug SEE P Fle Edt View Favorkes Tools Help program to be used on the C Controller module is o Back 7 d P Search ie Folders fiil created If an error occurs during the build a user program Address Name Size Type is not created 3i i 1KB Tornado C P E ctdt o 1KB OFile A file name of the user p
106. rs Dialog box FLEXIm License Finder Your application was nat able to obtain a license because the FLEXIm license manager could nat determine where ta find Ehe licensing data it needs Please choose ane of the following Specify the License Server Specify the License File Copyright c 1999 2003 Macrovision Corporation Cancel License error message Ww License Not Found Workbench build failed to obtain the license Overall License for the Wind y River Workbench Invalid license file syntax Feature WR WORE BENCH License path GW indriver license zuwrs License icles yO P license cA license WR License lic FLEXIm error 2413 System Error 2 For further information refer toa the FLEXIm End User Manual available at www macrovision com Cancel a How to recover from the error Apply for a permanent license After acquiring a permanent license file apply it to the development environment personal computer 116 APPENDIX Appendix 3 Comparison with Wind River Workbench The following table shows the comparison between this product SW1DND CWWLQ12 E SW1DND CWWLQ24 E and Wind River Workbench Appendix 3 1 Comparison with SW1DND CWWLQ12 E O Applicable x Not applicable CW Workbench Wind River Item SW1DND Workbench CWWLQ12 E 2 6 1 nat i rt ng S SH7750gnule Compiler for C Controller module GCC for SH 4A Little Endian O compiler Compiler SIMNTgnu
107. rver Connection 1 CW Workbench cannot be connected to the C Controller module a Case 1 Log Console A message Differences for module xxxxxxx segment s address appears The VxWorks image file of the C Controller module is not the same as that of CW Workbench Action The VxWorks image file of the C Controller module must be the same as that of CW Workbench s Page 75 Section 9 1 b Case 2 A message Failed to Connect to Target appears The C Controller module may not be connected to the CW Workbench network or the IP address setting may be wrong Action Check the following items The C Controller module is on The C Controller module is properly operating There is no error he LAN cable connector connecting the development environment personal computer to the C Controller module has been fully inserted into the LAN socket LEDs of all the LAN ports to which LAN cables are connected are lit P addresses of the development environment personal computer and the C Controller module have been set properly Point If the problem is not solved by applying the corrective actions shown above delete the cache folder and restart CW Workbench It may take time to startup at the first time after deleting the cache folder Cache folder C Documents and Settings User name workbench 3 2 x xxXXXXXX XXXX User name The user name currently logged on x A value added automatically c Other causes The host na
108. s Include directories Generate I WIND_BASE tareet h I WIND_BASE tareet h wrn coreip te Add to all Remove Remove from all D Restore Defaults Apply S To the next page 59 10 Click the button Add include search path to selected build spec bd Browse 11 Select the include folder on the Select directory Select directory window Click the LK button 3 ij MELSEC 3 i CCPUI Sy ccrEC E CCLINK E C CCPLITOOL E i pex cong Tanle ill Folder Make Mew Folder The include folders differ depending on the C Controller module or Setting monitoring tools for the C Controller module to be used For details refer to the following table Setting monitoring tools for C Controller module Include folder 1 the C Controller module Q24DHCCPU V Q24DHCCPU VG SWAPVC CCPU Q12DCCPU V Extended mode C MELSEC CCPU4 Q12DCCPU V Include Q12DCCPU V Basic mode SW3PVC CCPU C MELSEC CCPU DVx Include 4 When Setting monitoring tools for the C Controller module is installed in C MELSEC C MELSEC CCPU4 Q24DHCCPU V Include S To the next page 60 w Add include search path to selected build spec Value I0 MELSEG ZGCOP U V Include aoe 30 Properties for UserProject type filter text Build Properties Resource Binary Parser Build Properties Builders C C General Project Info
109. s 65 8 3 How to Build Project audere scent X duis E SGERRES IS REX Pana iu Eenh ki 69 8 4 Setting Optimization Option 2 20 sii serico rick Siendo ee ma Pie SRI Qe a turgd 72 CHAPTER 9 CONNECTING CW WORKBENCH TO THE C CONTROLLER MODULE 75 91 Setting Target Servel esi des eere eed E WEE SEE DE ERES ERATES SEIS PIS EBENE 95 9 1 1 Preparing for target server setting llli 76 9 1 2 Howto set target server connection 0 0c eee eee tenes 78 9 2 Starting and connecting the target server 2 ee eens 80 9 3 How to Check and Change Connection Settings 00 0 0 c ccc eee 82 CHAPTER 10 HOW TO DEBUG PROGRAM 83 10 1 How to Connect CW Workbench to the C Controller Module 00000 eee 83 10 2 SAMO SEN s sesers restar wae TCI 83 10 3 Downloading Module 0 0 0 rrr 84 T104 Howto Debug Programi uu auis a 9T vu 3 0 sda V WILY os eects S445 974 2 5 2 9 9 90970 990 9 3 c3 86 10 4 10 Debugging one task 0 0 RR RR RR e les 06 10 4 2 Debugging multiple 35kess aoxaoniio s sos ee ga een as pP taber nte Puede e EU arie d 93 10 5 How to Execute Dynamic Printf 3 see i riora ardeo Geum 88H ende os dur Ta takisi LAGER x 94 CHAPTER 11 TROUBLESHOOTING 96 11 1 Basic Operation zooms deg xav Ri E 22 dre acida ieu dese pers dedos aci ate sri obere 97 11 2 ICCNSG sn oneccukuedy neHUTPNENUCREREDMUPEEEDEMEETESRDENESRERE ED 100 Teo BUN scanucereees oye cecsss shock ee aaaed as E S EE soe eeas
110. s Vista Enterprise Operating System Microsoft Windows XP Professional Operating System Service Pack3 or later Framework Eclipse Workbench basic function Ver 3 5 PENTIUM4gnu Compiler for C Controller module GCC for Intel Atom Z5xx O compiler Compiler SIMNTgnu Compiler for VxSim GCC for VxWorks Simulator Windows T O compiler Wind River VxWorks Simulator A simulation function to execute debugging by running the Wind River VxWorks application on the operating system without O the actual devices Debugger Dynamic Printf A function to dynamically insert or cancel the printf statement when debugging the program without embedding the printf function to the O source code with the similar operation as that of the breakpoint ProfileScope Analyze bottleneck of tasks by conducting statistical analysis on coding status MemScope Specify memory leaks by monitoring the memory usage Runtime analysis tool StethoScope Analyze memory leaks by monitoring variables and data x O structures in real time System Viewer Analyze deadlock and task execution order by monitoring interrupt task status CPU utilization etc 118 APPENDIX Appendix 4 support Appendix 4 1 Technica support assistance service regarding C Controller module For technical support assistance service regarding C Controller module refer to the table below If you are not sure which type the inquiry belongs to please contact us Please note tha
111. select Rename from the menu that pops File Edit Source Refactor Navigate Search Project Run Window Help up by right clicking TVEDE lim 3 0 ilm ig S c Project Explorer 3 g amp j sse uje E eu Entry WDTInt Wind River VxWorks 6 4 Downloadable Kernel Module Project e Select Sample and press the F2 key gig TestProj Wind River VxWorks 6 4 Downloadable Kernel Module Project g UserProject Wind River VxWorks 6 4 Downloadable Kernel Module Project gb Build Targets SH7750enule Es Wind River Launches Binaries H 6 Includes H E SH 7750enule EAE New b Open Open With gt Copy Otrl C B Paste Ctrl V 3 Delete Delete Rename F2 Move Attributes b 3 An error Build target yyyy nnnn partiallmage used in build target yyyy not found has occurred and the build is not executed The file with the same name as the project name may have been renamed Action Create a project and move the source file from the project where an error occurs K gt Page 55 CHAPTER 8 Point The following message appears when the project where an error occurs is deleted Check if the box is selected or cleared Do not delete the necessary file by mistake amp Delete Resources f Clicking the OK button with the box cleared deletes the project from the workspace The file remains on the hard disk D Bre you sure you want to remove project Sample fram the workspac
112. stall the plug in software click the menu bar Help gt Install New Software Ga Welcome Help Contents E Search Dynamic Help Kev Azzist Ctrl Shift L Tips and Tricks Cheat sheets Check for Updates Install Mew Software Install EC 2 Click the button on the Install Available Software window Select a site or enter the location of a site Ci type filter text OO There is no site selected uoneljeysul xipueddy JEMYOS ur Bn gd eu jo uone ejsuru pue uonejejsu xipueddy NM Enter information for the Name and Location fields w Add Site Click the button A web site where the oo L tgeat local J plug in is software installed is added A Crenives erre An Archive file downloaded from the web site can be also selected for the Location field by clicking the Archive ae To the next page 109 ere Package that can be installed from the added Available Software Location is acquired Select a site or enter the location of a site Pending is displayed as shown on the window to the left while the information is being acquired type or select a site type filter text C Pending 5 When the package that can be installed has been E Install Available Software acquired package names are displayed Select a site or enter the location of a site Select a package to be installed Clickthe Next gt _ button to install t
113. t Maintenance can be executed as following Start gt All Programs gt Wind River gt Product Maintenance gt Installation at X YYYY e X and YYYY of Installation at X YYYY mean X The drive to which the product has been installed YYY Y The folder to which the product has been installed If the folder of the installation location specified at the time of installation is C WindRiver the menu name is Installation at C WindRiver Do not stop the processing during patch application Apply the patch again if the processing has been stopped When a patch is applied on Windows Vista or Windows 7 a dialog box appears to enable or disable User Account Control Click Allow or Yes to continue the application of the patch e For Windows Vista Don t run the program unless you know where it s from or you ve used it before B wrlnstaller exe Unidentified Publisher Cancel I don t know where this program is from or what it s for Click Allow v Details User Account Control helps stop unauthorized changes to your computer e For Windows 7 Program name wrlnstaller exe Publisher Unknown File origin CD DVD drive v Show details Change when these notifications appear Click the button 52 CHAPTER 7 APPLYING PATCH 1 Howto Obtain Patch 1 Download a patch file from the site described below Information and services For furthe
114. t inquiries other than MELSEC related inquiries may not be able to be answered Functions and specifications of C Controller module e Specifications and usage of the dedicated function library provided by Mitsubishi Electric Corporation Information and services MELSEC e Setting monitoring tools for the C Controller module and l l l PE functions and specifications of CW Workbench For tunner mAH and FAGAR please consult your Functions and specifications of the Mitsubishi products to local Mitsubishi representative be used with C Controller module such as units and MELSOFT Functions and specifications of VxWorks API functions Operatin rovided by VxWorks and general inquiries regardin i J P y lated to V y E 4 J g Wind River Systems Inc system rogramming related to VxWorks y prag g PM URL http www windriver com related Functions and specifications of Wind River Workbench and Tornado Plug in 2l Inquiries regarding the plug in software to be used with CW software Plug in software manufacturer lated Workbench or Wind River Workbench relate ywoddns yp xipueddy e npouu Je oJ3u02 2 BuripJjeDai eoriujes eouejsisse Woddns jeoluyos p xipueddy 119 INDEX A Adding PIole6b us 2c eua e uda oen 65 Additional license product 00 14 Applying Permanent License 25 B Breakpoints window llle 99 Build Console 0 aaaea 55 Bus interface
115. t target server connection Follow the instructions below to set the target server connection 1 Click the 4f button on the toolbar of Remote iso S aloo els siste 2 Select Wind River VxWorks 6 x Target Server w New Connection Select Remote System Type Connection and click the button System type type filter text H General VxWoerks 5x T Wind River Vx Works 6 x Gore Dump Connection Wind River Vx Workz amp x Target Server Connection A To the next page 78 CHAPTER 9 CONNECTING CW WORKBENCH TO THE C CONTROLLER MODULE 3 Set the target connection information for Backend New Connection Target Server Options settings as shown in the list below A Selected processor will be used to connect to your target without double checking against real processor Connection information Backend settings Backend wdbrpo Proce job SORA A Q12DCCPU V Target name IP address 192 168 3 3 W Check Port Q24DHCCP U VG Backend wdbrpc Kernel image File path from target if available 192 168 3 3 default File C MELSEC CCPUS DVx Tools Q12DCCPU V_12052 B L e IP Address If the default IP address of the C Controller module C Bypass checksum comparison has been changed set the IP address acquired Advanced target server options Verbose target server output Options R C user WS wb32 cww HowTo RW Bt 3 4 v Command Line tetsvr V R C user WS wb32 cww HowTo RW Bt
116. t the personal computer can be connected to the Internet If the personal computer is connected to the Internet via a proxy server check the IP address and port number in advance They are required to be set during installation Note the following when installing the updated license product Enter the LAC License Authorization Code written on the License Agreement of updated license product to LAC on the User Information window e The updated license product SW1DND CWWLQ24 EVZ cannot be installed with the install key file Install SH4 txt of the product with license SW1DND CWWLQ12 E CHAPTER 6 INSTALLATION AND UNINSTALLATION 6 1 2 How to install CW Workbench Start installing CW Workbench Insert the CW Workbench DVD ROM into the DVD drive M to start the installer 1 After the installer is started execute one of the following operations and click the DK button C WindRiver Browse Enter a folder name of the installation location e Click the Browse button to select a folder of the installation location from the tree view Wind River Installer Select the Wind River install location Cancel Point The following characters can be used for a folder name of the installation location Space cannot be used Alphanumeric characters Hyphen e Underscore The product cannot be properly installed if characters other than those described above are used for a folder name The dialog box s
117. tart up and during use 1 Click the e The license is repeatedly checked button on the License Not Found dialog box 2 Click the Lancel button on the License Not Found dialog box The license check ends and CW Workbench continues to operate If the L ancel button is clicked with license errors occurred and CW Workbench continues to operate CW Workbench operates with the following functions disabled Functions that cannot be used Functions that can be used when a license error occurs even when a license error occurs Project creation Editor function such as new creation editing saving and Building searching Target server connection Importing Downloading Exporting Debugging 112 APPENDIX Appendix 2 2 License error message When a license error occurs an error message License Not Found shown below appears Check error details based on an error number Ww License Mot Found 1 Launching the Wind River Debug Server DFW Backend failed to obtain the license Overall License for the Wind River Workbench Gannot find license tile The license tiles lor server network addresses attempted are 2 listed below Use LM LIGENSE FILE to use a different license file or contact your software provider for a licenze tile Feature WR WORKBENCH Filename cxx icenses WR License lic 3 License path CW REC license AW REC license CAWO F BY license CX MELSECSECWYWX cense C WOP license D Win
118. the instructions below to check and change the connection setting F Le Disconnect VxMorks6x 192 168 3 3 1 Selectthe target server on the Remote Systems 1 Reme Hehe a a aS and right click to open the pop up menu Select resh Properties Properties b Alt Enter WX WA TS PU I vor WAU Lee Ww Target Connection Target Server Options Review and customize the target server options Mame VxWorkgBx 192 168 3 3 Shared Associated target platform Wind River VxWorks 6 4 we Target Server Options Object Path Mappings Target State Refresh Debug Options Backend settings Target name IP address 19216833 IE Part e Kernel image C3 File path fram target if available File CAMELSEC CGPLUS DV Tools Ql 2ZDGCPU V 12052 B T Bypass checksum comparison Advanced target server options Ve aose target server output Options R G MELSEC CWW WorkSpace CW Workbench RW Et 3 m Gommand Line tgtevr W R GI MELSEC ZI CWW WorkSpace CW Workbench RW Bt 3 c G MELSEC SOGOPLM Dc TaalgsiTzDOGGPL V 12052 6 19216833 2 Check the Backend field Enter wdbrpc for Backend 3 Check the Processor field Set Z5xx for Q24DHCCPU V VG or SH7780 for Q12DCCPU V for Processor 4 Check the IP address of the target device C Controller module Set the IP address of the C Controller module for Target name I
119. tions IF 4 Onthe Optimization dialog box select Enable Specify flags for Tool Flags al maximum speed optimizations Check that O2 Optimization Selected option n Optimization E LL H a H were al oe has been added to Selected option and click the ry Enable optimization S GC ARCHSPEC B Compilation nf Output Enable standard speed optimizations Wall a Enable maximum speed optimizations MP B E b utto n Integral Emphasize space reduction over speed requires one of the above Diagnostics T Lint Optimized code generation Inline functions with less than 1 nodes Maximum size of a loop for unrolling 20 nodes Loop strength reduction and elimination of iteration variables amp Combine an instruction that copies one register into another Generate position independent code g Reorder instructions to eliminate execution stalls Don t keep the frame pointer in a register for functions that don t need one Stack Accumulate arguments on the stack for several function calls and pop them all at once Pop the arguments to each function call as soon as that function returns Unroll loops O If number of iterations can be determined at compile time or upon entry to the loop O Always Never ees Point To cancel the optimization option click of in Enable Optimization on Optimization and chang
120. tt L Tips and Tricks Cheat Sheets Check for Updates Install Mew Software G Getting Started 99 11 2 License 1 You have received a permanent license file but do not know how to use it Store the obtained permanent license file in the license folder in the personal computer where CW Workbench has been installed Page 25 Section 5 3 2 You do not know how to delete a permanent license file Delete all the files in the license folder in the personal computer where CW Workbench has been installed Page 26 Section 5 4 3 An error message License Not Found appears when CW Workbench is started or being operated An error has occurred with the license file being used for CW Workbench s Page 112 Appendix 2 100 CHAPTER 11 TROUBLESHOOTING 11 3 Building 1 An error command not found has occurred and the build is not executed A compiler that cannot be used on CW Workbench has been selected Action From the tree view to the left on the Properties window on the Project menu select Build Properties and click the lt lt Build Support and Specs gt gt tab The window shown below is the one that appears when the project name is UserProject Check that the compilers that cannot be used have not been selected for Available and enabled build specs Since the Available and enabled build specs supports only the following build specifications clear the check b
121. u 34A A dq MU sies E ate Rete Nest Leni EEE caer ca mgt can me Ri Malo oe Ld SETEN opns oe et ere Wey ae a Action The following table describes how to respond to the error text displayed in the Error Message dialog box Error text Action The HTTP server you are trying to access may not be responding properly HTTP Server Bad Gateway Try to install the product later If the problem still remains try to install the product another day The personal computer in use may be connected to the Internet via a proxy server Wakaown Host Use the button and go back to the Installer Online Update Settings window Check the box of Connect to internet using proxy server and configure the proxy server setting The personal computer in use may not be connected to the Internet Check that the personal computer can be connected to the Internet Unable to read repository at Install the product on the personal computer being connected to the Internet When the personal computer is connected via a proxy server conduct the measure of the error text Unknown Host above esuoeoi Avesodws e Buisn uonejjejsu 9 44 107 APPENDIX Appendix 1 installation and Uninstallation of the Plug in Software This section explains how to install and uninstall the plug in software an extended function of the product For details on the plug in software functions refer to the following Wind River Workbench document provided by Wind River Syst
122. ule accessing to resources such as time and battery backup RAM This function can be used for Q24DHCCPU V and Q24DHCCPU VG C Controller modules It can not be used in Q12DCCPU V C Controller module dedicated function The abbreviation for Uniform Resource Locator URL This address indicates a location of information resources such as text and images on the Internet Ecli An open source software development environment comprising an integrated development clipse environment written in Java PRODUCT ORGANIZATION The following shows the C Controller compatible software O Applicable xX Not applicable C Controller Q24DHCCPU V Q12DCCPU V Supported Q24DHCCPU VG software Earlier than 15102 or later 1 15102 1 Extended mode Basic mode 2 wewowuwt of o o wwwomuagt x 9 1 First five digits of serial number 2 For Q12DCCPU V earlier than 15102 the mode cannot be changed Q12DCCPU V earlier than 15102 is regarded as the basic mode in this manual 12 CHAPTER 1 OVERVIEW CHAPTER 1 overview CW Workbench is a product for customers who develop a user program that operates on the C Controller module CW Workbench is an OEM product of Wind River Systems Inc The product has only basic functions required for user program development such as coding building and debugging as a subset product of Wind River Workbench 3 2 1 1 Features Engineering tool for C Controller CW Wor
123. ut file cannot be downloaded on the C Controller module Problem Occurred message Possible Cause Download failed The path or the file name of the out file to be downloaded has characters or symbols that cannot be used Action Remove the following symbols and characters from the path or the file name of the out file to be downloaded Select the file again and download it Downloading fails if an out file has the following symbols characters for the path and the file name Apostrophe ii Asterisk Colon Semicolon Period i Less than gt Greater than Slash Question mark Space Two byte characters Katakana 2 out file sometimes cannot be downloaded on the C Controller module The path of the VxWorks image file selected for the target server setting may have two byte characters or katakana Action Remove two byte characters and katakana from the path of the VxWorks image file Page 75 Section 9 1 106 CHAPTER 11 TROUBLESHOOTING 11 6 installation using a temporary license 1 After an LAC code and user information are entered and the button is clicked an error message appears and the installation does not progress Error message EE STAT Messace Errors occurred while trying to verify the entered License Authorization Code LAC ing license windriver DARE E E Mene opes UE zx es EN Kr dai ODE PA ae dani ie Ht EV ie UR aH Tho nts abi Eds 1 giar ee ET Pt rs Madri Wt Enea Spe Ee SOR We re
124. ut the product Before using this product please read this manual and the relevant manuals carefully and develop familiarity with the functions and performance of CW Workbench and applicable modules to handle the product correctly RELEVANT MANUALS The manuals related to the product are listed below Please place an order as needed Manual lt Manual No and model code gt C Controller Module User s Manual Hardware Design Function Explanation lt SH 080766ENG 13JZ17 gt C Controller Module User s Manual Utility Operation Programming lt SH 080767ENG 13JZ18 gt MELSEC Q C Controller Module User s Manual SH 081130ENG 13JZ75 gt Setting Monitoring Tools for the C Controller Module Operating Manual lt SH 081131ENG 13JU76 gt CW Sim Operating Manual lt SH 081159ENG 13JU77 gt Wind River Workbench 3 2 manuals Description The manual describes the system configuration specifications functions handling methods wiring and troubleshooting of Q12DCCPU V Basic mode and QOGCCPU V The manual describes the installation uninstallation utility operation instructions and programming of Setting Monitoring Tools for the C Controller Module SW3PVC CCPU The manual describes the system configuration specifications functions handling methods wiring troubleshooting and programming and function of C Controller module Q24DHCCPU V Q24DHCCPU VG Q24DHCCPU LS and Q12DCCPU V Extended mode The manual
125. utton Choose a workspace Folder to use For this session Clicking the LK button starts CW Note The workspace directory must be writable and should be located on Fast local storage ere Workbench C Use this as the default and do not ask again Workspace SMS A message box shown below may appear Click the OK button Warnine Wind River Registry created a new database at GAWindRiver wind wtxregd hostname If you have been using Wind River Workbench before and you want to migrate your old target connections please quit Workbench and the Registry now search for the file named wtxregd hostname in your old installation and copy it to the new location For details see the Online Help C Do not show again 2 i32 3 Select from the menu bar File gt New gt Wind w Basic Device Development CW Workbench source Refactor Navigate Search Project Run Window Help River Workbench Project Hi AlttShitt Hg Wind River Workbench Project Open File Fy Project a To the next page 96 CHAPTER 8 CREATING AND BUILDING USER PROGRAM Select the following item for Target operating a New Wind River Workbench Project system Click the button Target Operating System Select the target operating system for the project c gt For Q24DHCCPU V VG rating system Wind River VxWorks 64 Wind River VxWorks 6 8 wind River Vx Workz 6 4 Hast OS N
126. xternal device and C Controller module in case of a communication failure Startup and Maintenance Precautions NCAUTION Before performing online operations especially program modification forced output and operation status change for the running C Controller module from the peripheral connected read relevant manuals carefully and ensure the safety Improper operation may damage machines or cause accidents CONDITIONS OF USE FOR THE PRODUCTO 1 Mitsubishi C Controller system the PRODUCT shall be used in conditions e i where any problem fault or failure occurring in the PRODUCT if any shall not lead to any major or serious accident and ii where the backup and fail safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem fault or failure occurring in the PRODUCT The PRODUCT has been designed and manufactured for the purpose of being used in general industries MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY INCLUDING BUT NOT LIMITED TO ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT WARRANT Y TORT PRODUCT LIABILITY FOR ANY INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS PRECAUTIONS OR WARNING CONTAINED IN MITSUBISHI S USER INSTRUCTION AND OR SAFETY MANUALS TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT P
127. y Problem The CW Workbench installer has stopped working half way through Or the installer has terminated suddenly during installation A message The install root of your Wind River Workbench installation could not be located appears and CW Workbench cannot be started Basic operation l I A message Workspace in use or cannot be created choose a different one appears and CW Workbench cannot be started A patch has been applied but the display does not change The install menu of the plug in software cannot be found You have received a permanent license file but do not know how to use it License You do not know how to delete a permanent license file An error message with a title of License Not Found appears when CW Workbench is started or being operated An error command not found has occurred and the build is not executed An error no input files No Such file or No such file or directory has occurred An error Build target yyyy nnnn partiallmage used in build target yyyy not found has occurred and the build is not executed Building The following build errors have occurred XXx sh syntax error near unexpected token yyy partiallmage Debug Objects nnn Xxx sh cannot execute binary file Makefile xxx missing separator Stop yy o command not found No such file or directory out file is not created The build terminates with a message Generation of makefiles started
Download Pdf Manuals
Related Search
Related Contents
ブラントタイプ(10/12-100mm) K450 Fitting Kit Installationsanleitung - WindGear by Joern Heinrich 取扱説明書 - フジ医療器 MOEN 2982 Installation Guide DEFY WTL8019M User's Manual Miele KFN 9753 iD ajustes - Cassese AT&T 6100 User's Manual Descargar Copyright © All rights reserved.
Failed to retrieve file