Changes between Version 8 and Version 9 of Docs/Prog/Manual/Development/Setup
- Timestamp:
- 11/23/11 14:19:41 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/Development/Setup
v8 v9 1 1 = Setup for Software Development = 2 3 == Setup 825 Weight Indicator ==4 * Connect serial port for debug messages.5 * Connect Ethernet port for downloads and debugging6 7 Make sure 825 indicator has boot loader and Linux kernel installed to flash. If necessary use USB-BDM and !CodeWarrior or CFFlasher to program the flash. Power on the indicator and use bootloader to configure network settings, IP address, gateway, etc. Download Linux romfs image to flash or configure for NFS (Network File System) for testing with 825 indicator file system residing on test PC. Startup indicator Linux, debug serial port will show startup messages.8 9 [[Top]]10 == Setup Development Software ==11 2 12 3 === About === … … 17 8 * Full featured Eclipse IDE which is quickly becoming the standard for developers everywhere. 18 9 * Mylyn integration with the Cardinal 825 Tech site for quick access to tickets and progress. 19 * Full debugging capabilities (coming soon).10 * Full debugging capabilities. 20 11 21 12 === Required Files === 22 The following files should be included on the 8GB USB flash drive that was sent with your order. Alternatively, you may use the download installer: Dev825Installer.exe listed at the bottom of this page. Open this program to download and install the VMWare image. This requires a reliable and fast internet connection and may take many hours or days to complete.13 Download and install VMWare player free virtual machine. Download the 825 development environment installer. This requires a reliable and fast internet connection and may take many hours or days to complete due to the size of the development VMWare image. If you have trouble downloading or do not have an internet connection, please contact your Cardinal dealer for information on getting the Cardinal 825 development kit. 23 14 24 15 * [http://www.vmware.com/products/player/ VMware Player] - Required to run the Cardinal Fedora 825 Programming Environment. 25 * Cardinal Fedora 825 programming package16 * [http://tech.825spectrum.com/trac/attachment/wiki/Docs/Prog/Manual/Development/Setup/Dev825Install.exe Cardinal Fedora 825 programming package] 26 17 27 === Installing the Environment === 28 1. Insert the 8GB USB flash drive into your computer. 29 2. Install VMware Player by double clicking on the icon in the directory of the flash drive. 30 3. Follow the steps listed choosing the default values to install. 18 === Installing the Environment === 19 1. Install VMware Player. 20 2. Follow the steps listed choosing the default values to install. 31 21 32 22 [[Image(screenshot.1.jpg)]] … … 37 27 [[Image(screenshot.6.jpg)]] 38 28 39 4. Reboot your computer if required.29 3. Reboot your computer if required. 40 30 41 31 [[Image(screenshot.7.jpg)]] 42 32 43 5. Copy the Cardinal 825 Programming Environment package to your computer in any directory you wish.33 4. Copy the Cardinal 825 Programming Environment package to your computer in any directory you wish. The downloadable installer will install it by default into My Documents/My Virtual Machines/. 44 34 45 35 === Starting the Environment === … … 48 38 [[Image(screenshot.9.jpg)]] 49 39 50 2. Start the Cardinal 825 Programming Environment by choosing Open and choosing the ''' Cardinal 825 Programming Environment.vmx''' file from the directory you extracted it to in "Installing the Environment step 5".40 2. Start the Cardinal 825 Programming Environment by choosing Open and choosing the '''825_Develop_F14.vmx''' file from the directory you extracted it to in "Installing the Environment step 4". 51 41 52 [[Image(screenshot.10.jpg)]] 53 [[Image(screenshot.11.jpg)]] 42 [[Image(screenshot.10.jpg)]] 54 43 55 44 3. VMware will start. … … 57 46 [[Image(screenshot.12.jpg)]] 58 47 59 4. Press '''Take Ownership''' when the prompt appears.48 4. If prompted by VMWare player about the image being moved, then select '''I copied it''' from the dialog window. 60 49 61 [[Image(screenshot.13.jpg)]] 62 63 5. If this error appears press '''No'''. 64 65 [[Image(screenshot.14.jpg)]] 66 67 6. VMware will power up Fedora Core 11. 50 5. VMware will power up Fedora 14. 68 51 69 52 [[Image(screenshot.15.jpg)]] 70 53 71 7. Login by clicking on '''user''', entering password '''123456''' and clicking '''Login'''.54 6. Login by clicking on '''user''', entering password '''123456''' and clicking '''Login'''. 72 55 73 56 [[Image(screenshot.16.jpg)]] 74 57 [[Image(screenshot.17.jpg)]] 75 58 76 8. The Cardinal 825 Programming Environment will start automatically.59 7. The Cardinal 825 Programming Environment will start automatically. 77 60 78 61 [[Image(screenshot.18.jpg)]] … … 90 73 [[Image(screenshot.19.jpg)]] 91 74 92 On the initial startup you will notice eight projects which have been preloaded for you.75 On the initial startup you will notice projects and libraries which have been provided as examples and tools for 825 application development. 93 76 * chkwgh - Checkweigher 94 77 * dfc - DFC Batcher 95 * HelloWorld - Tutorial application96 78 * ids - Truck / ID Storage 79 * indicator - Basic indicator application 97 80 * lib825 - 825 library 98 * libapp - application library 81 * lib825ev - 825 library for event style applications 82 * libapp - application library (deprecated) 99 83 * libsql - SQL database library 100 84 * mscale - Multi-scale … … 150 134 ==== Subversion ==== 151 135 Every project distributed with the Cardinal 825 Programming Environment comes ''attached'' to a Subversion repository. Subversion repositories allow you to get the most up to date source code with the click of a button. 152 1. Right-click on the HelloWorld projectand choose Team -> Update.136 1. Right-click on the project or library and choose Team -> Update. 153 137 154 138 [[Image(screenshot.35.jpg)]] 155 139 156 2. You now have the latest available source code for the HelloWorldproject.140 2. You now have the latest available source code for the project. 157 141 158 142 Cardinal recommends creating your own repositories for your projects. For more information on doing so please see [http://www.google.com/search?rlz=1C1GGLS_enUS313US313&sourceid=chrome&ie=UTF-8&q=subversion+guide Google's Listing on Subversion Guides].