Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 ratings:
 2.5 out of 5     Rate this Document

Downloading the VxWorks Image for the Axiom MPC566EVB, VxWorks Module

Primary Software: LabVIEW Modules>>Embedded Development Module
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I have a new Axiom MPC566EVB board. How can I download my VxWorks image to my MPC566EVB using only the serial cable?

Solution:
The following procedure should allow you to download the VxWorks ROM resident image with WDB END connection to the internal flash array of the MPC566EVB board. Then, using the LabVIEW Embedded target, you can download the built object module into external RAM of the board using the WTX protocol. The VxWorks ROM resident must be located in the internal flash array and the board must be configured to boot form internal flash array. To do so, follow these instructions:

1. Configure you board as shown on picture below. This is default axiom configuration that allows to booting dBUG Monitor.



2. Connect COM1 to available COM port of your host machine. Make sure that you use straight cable. 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. Make sure that Xon/Xoff flow control is enabled.

4. Power up the Axiom board. The dBUG Monitor should come up. Note that baud rate is configurable, so you may try different settings. The factory default is 19200, 8, N, 1, N.

RSR: 0000C018 Power-on Reset
Part Number: 0x33
MaskNum: 0x11

Copyright 1995-2003 Motorola, Inc. All Rights Reserved.
MPC566 MPC566EVB Firmware v3b.2a.1b (Build 3 on Nov 25 2002 10:34:07)

Enter 'help' for help.

dBUG>

5. Type fl e 0 fffff. The following will appear:

Must erase complete sectors (0x00000000 to 0x000FFFFF)
Continue?


6. Type y to erase internal flash array.

................Flash Erase complete. 0x100000 bytes erased


7. Type dl to download VxWorks image to internal flash array
Escape to local host and send S-records now...

8. Hit the Upload button and browse for the vxWorks_romResident.S19 . Make sure that Xon/Xoff flow control is enabled. It takes a few minutes to program internal flash. If you don't have vxWorks_romResident.S19 file then you must convert the vxWorks_romResident file. Use objcopyppc --input-target elf32-powerpc --output-target binary vxWorks_romResident vxWorks_romResident.bin to create flat binary image and then objcopyppc --input-target binary --output-target srec --srec-forceS3 --adjust-vma 0x00000100 vxWorks_romResident.bin vxWorks_romResident.S19 to convert flat binary image to srec format. Instructions for building the vxWorks_romResident file can be found in the related links below.

9. Power off the Axiom board and configure dip switches and jumpers as shown below.



10. Change communication speed of terminal to 9600. Power on the Axiom board. The VxWorks logo should appear on your terminal.


Attached TCP/IP interface to esmc unit 0
Attaching interface lo0...done


VxWorks

Copyright 1984-2002 Wind River Systems, Inc.

CPU: Motorola MPC566EVB - PowerPC 566
Runtime Name: VxWorks
Runtime Version: 5.5.1
BSP version: 2.2/1
Created: Mar 9 2005, 15:13:57
WDB Comm Type: WDB_COMM_END
WDB: Ready.



11. Now your board is configured and ready for use as the MPC566EVB, VxWorks Module. Instructions for creating this target can be found in the developer zone tutorial that is linked below.

Related Links:
Developer Zone Tutorial: Creating the MPC566EVB, VxWorks Module target for LabVIEW Embedded
KnowledgeBase 3M7CNPHD: Building VxWorks Image for the Axiom MPC566EVB Board

Attachments:


vxWorks2.gifvxWorks1.gif


Report Date: 06/08/2005
Last Updated: 08/24/2007
Document ID: 3M7CS2HD

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit