Setting Up the Hardware for the Axiom CMD565, VxWorks Module Example Target Primary Software: LabVIEW Modules>>Embedded Development ModulePrimary Software Version: 1.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have an Axiom CMD565 evaluation board. How do I set up the hardware for use with LabVIEW Embedded if I would like to use the Axiom CMD565, VxWorks Module example target? Solution: Flashing the VxWorks ImageThe Axiom CMD565, VxWorks Module target configuration expects the VxWorks ROM resident image with WDB serial connection to be present in external flash array of the CMD565 board. LabVIEW Embedded produces a built downloadable object module and downloads it into the external RAM of the board using the WTX protocol. The VxWorks ROM resident must be located in the external flash array and the board must be configured to boot form external flash array. To produce this configuration, follow these steps: 1. Configure you board as shown on picture below. This is default axiom configuration that allows to booting Axiom Monitor.
2. Connect COM1 to available COM port of your host machine. Make sure that you use a straight serial cable. A NULL modem cable will not work. 3. Launch AxIDE that comes with the board or other communication program (Tera Term) and open connection to serial port the board is connected to. Note that communication settings are: 9600, 8, N, 1, N. 4. Power up the Axiom board. The Axiom Monitor should come up. 5. Press 3 to flash external flash array ------------------------------------- 6. Press 2 to select external flash on CS2 External Flash (U13/U14) on CS2 at address 00C000007. Press 5 to erase external flash array 8. Press 6 to program external flash array Send Motorola hex file now... 9. Hit the Upload button and browse for the vxWorks_romResident.S19 file located in the ..\resource\LabVIEW Targets\Embedded\vxworks\cmd565\bin directory. It takes a few minutes to program external flash. 10. Power off the Axiom board and configure dip switches and jumpers as shown below.
11. Power on the Axiom board. The VxWorks logo should appear on your terminal. VxWorks Copyright 1984-2002 Wind River Systems, Inc. CPU: Axiom CMD-565 - PowerPC 565 Runtime Name: VxWorks Runtime Version: 5.5 BSP version: 2.2/1 Created: Mar 15 2004, 10:53:50 WDB Comm Type: WDB_COMM_SERIAL WDB: Ready. 12. Now your board is configured and ready for use as the Axiom CMD565, VxWorks Module. Running an application1. You need two serial ports to run the example application. COM1 (on the CMD565) displays diagnostic information, COM2 uses target server to download built application. Make sure that you get VxWorks logo on one serial port and only "WDB READY" on second one. Note that COM2 communicates at 57600 bps. 2. Launch LabVIEW and switch to the Axiom CMD565, VxWorks Module target 3. Launch the Embedded Project Manager by choosing Tools >> Embedded Project Manager... 4. Go to Target >> Target Server Configuration and make sure that Server and Debugger serial ports are correct. Note that Server serial port is COM port that is connected to the COM2 port on the Axiom CMD565 board. 5. Open terminal on COM port that is connected to the COM1 on the Axiom CMD565 board. 6. Create simple VI that prints something on diagnostic output using the One Button Dialog.vi. The string that is wired to the "message" terminal will be printed to stdout. 7. Add VI to the project, save, and build it. 8. Hit the run button (on Embedded Project Manager) to download and run built application. Terminal that is connected to diagnostic output should display message the VI prints. Related Links: KnowledgeBase 3M88KGHD: Setting Up the Hardware for the Axiom CMD565, VxWorks RAM Image Example Target KnowledgeBase 3M87MVHD: Setting Up the Hardware for the Axiom CMD565, VxWorks ROM Image Example Target Attachments:
Report Date: 06/09/2005 Last Updated: 06/09/2005 Document ID: 3M879QHD |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||


