⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 target.nr

📁 WINDRIVER SBC7410 BSP
💻 NR
📖 第 1 页 / 共 5 页
字号:
'\" t				    .so wrs.an.\" wrSbc7410/target.nr - SBC7410 target specific documentation.\".\" Copyright 1984-2002 Wind River Systems, Inc..\".\" modification history.\" --------------------.\" 01a,13jan03,dee  additions for multiple LAN interfaces.\" 01a,06jan03,dee  remove vWARE references.\" 01b,27aug02,dld  modified NVRAM and ethernet address sections for behavior of standard bootConfig.c.\" 01a,07Jun02,gtf  written.\".\".TH wrSbc7410 T "Wind River SBC7410" "Rev: 27 Aug 02" "TORNADO REFERENCE: VXWORKS".SH "NAME".aX "Wind River SBC7410 - MPC7410 and GT64260/GT64260A Reference Board".SH "INTRODUCTION"This reference entry provides board-specific information necessary to runVxWorks for the wrSbc7410 BSP. Please read the section "Getting the board running vxWorks" in order to configure the boardto run vxWorks.  The BSP was also tested with the GT64260 and the GT64260A.Both DIAB and GNU builds have been tested, and VisionClick V7.9A was used indevelopment and testing..SH "BOARD LAYOUT"The diagrams below shows the location of jumpers relevant to VxWorks.  Notall conectors and jumpers will be described here.  More information will be presented later, and only those jumper and switch setting necessary to runvxWorks are discussed now..bS _______________________________________________________________________| RJ45 | RJ45  | RS232| +------------+                                  ||------+-------+------+ |     J45    |                                  || P                     +------------+                                  || O  +----------------+ +------------+                                  || W  |                | |     J36    |                            +---+ || E  |    Motorola    | +------------+              +--------+    |   | || R  |                | +-------+  +-----+          | SODIMM |    |   | ||    |    XPC 7410    | | JP57  |  | J39 |          | SOCKET |    |   | ||    |                | +-------+  +-----+          |        |    |   | ||    |                |                             |        |    | J | ||    |                |           +---+             |        |    | 5 | ||    +----------------+           |UX4|             |        |    | 2 | || +-----+ +------+ +-----+        +---+             |        |    |   | || | SW6 | | JP44 | | SW8 |        +---+             +--------+    |   | || +-----+ +------+ +-----+        |UX2|                           |   | ||    +-------+     +---------+    +---+                           |   | ||    | J51   |     |   J50   |                   PN3      PN1     |   | ||    +-------+     +---------+                 |------||------|   |   | ||    | J4    |     |   J49   |                            PN2     |   | | |    +-------+     +---------+                         |------|   +---+ ||    | J48   |     |   J47   |                                          ||    +-------+     +---------+                                        ||         +-------+                                                     ||         |  JP51 |                       +---+---+---+---+ ------------||         +-------+                       |SW4|SW5|SW1|SW2| | 8 LEDS    ||_________________________________________+---+---+---+---+_|___________||                                       ||                J3                     |-----------------------------------------.SH "GETTING THE BOARD RUNNING VXWORKS"This section will guide you step by step how to get vxWorks running on this board.1. Setting the board Jumpers & Switches:   In order to get the board running with the default configuration the    following jumper's and switch's need to be set as follows; consult the   wrSbc7410 User's Manual for the meanings of these settings:   .CS    On the wrSbc7410 board:    ----------------------        For Default XPC7410/MPC7410    ---------------------------    SW1-1: ON   SW2-1: OFF    SW1-2: ON	SW2-2: ON    SW1-3: ON	SW2-3: ON    SW1-4: ON	SW2-4: ON    SW1-5: ON	SW2-5: ON    SW1-6: OFF	SW2-6: ON    SW1-7: OFF	SW2-7: ON    SW1-8: ON	SW2-8: OFF        SW4-1: ON	SW5-1: ON    SW4-2: ON	SW5-2: ON     SW4-3: ON	SW5-3: ON    SW4-4: ON	SW5-4: ON    SW4-5: ON	SW5-5: ON    SW4-6: ON	SW5-6: ON    SW4-7: ON	SW5-7: ON    SW4-8: ON	SW5-8: ON        SW6-1: ON	SW8-1: OFF    SW6-2: OFF	SW8-2: OFF    SW6-3: OFF 	SW8-3: OFF    SW6-4: OFF	SW8-4: OFF        JP-51	CLOSED (standalone mode) / OPEN (in I/O expand unit)    JP-57	ALL CLOSED    JP-44	1-2 CLOSED        Note: The PLL is set for Bus-to-core multiplier of 4.5x and core to VCO    multiplier of 2X. For this board it means the core clock rate is     33MHz * 4.5 = 148.5MHz.   .CE2. Creating a bootrom.hex or bootrom_uncmp.hex:   2.1 Launch Tornado II, go to the "Build" menu and choose the option        "Build Boot ROM...".   2.2 the "Build Boot ROM" window will popup, in the "Select a BSP:" column       choose the "wrSbc7410", and in the "Select an Image to build:" column       choose "bootrom.hex" or "bootrom_uncmp.hex" and press the "OK" button.   2.3 After the build process will finish successfully (You will see "Done" in       the "Build window" without error), you will have either bootrom.hex or        bootrom_uncmp.hex in the BSP directory "$(WIND_BASE)/target/config/wrSbc7410".          NOTE: This assumes that this BSP is installed in the directory   "$(WIND_BASE)/target/config/wrSbc7410".3. Programming bootrom.hex or bootrom_uncmp to wrSbc7410 FLASH:    3.1 Using visionCLICK:       3.1.1 Install the visionPROBE II  or visionICE II and power it on.              Connect the JTAG interface cable from the visionPROBE II  or              visionICE II into the wrSbc7410 board JTAG (J45 The JTAG Port)              connector. Note that a multi-voltage adapter should be used	     with the PROBE or ICE and should be set to 3.3V.             Once all the connections have been made, power up the wrSbc7410             board and start the visionCLICK executable on the host.       3.1.2 Configure the visionCLICK project:              The "Welcome To visionCLICK" window will appear. In this window              press on the "Configure" button, This will invoke "PROJECTS/LOAD"              window. In this window press on the '+' left to the              "PowerPC_C_Demo.prj".This will show you the project configuration.              Point with the mouse cursor on the "Microprocessors" option and              press the right button and choose the type of CPU you have on your              board. For example: "PowerPC->MPC7xx->MPC7410" for the MPC7410. 	     Verify that the "Target Control" option points to visionPROBE for 	     visionPROBE II or visionICE for visionICE II, Also switch to the 	     "Communications" TAB and verify that the "Normal Port/Rate" & 	     "Download Port/Rate" suits your connection. for example: "LPT1"  	     for visionPROBE II. Now press the "Save" button at the bottom of 	     the window and after it on the "Activate" button.       3.1.3 Program visionPROBE II / visionICE II with the proper register              settings for the wrSbc7410 board:             Go to the "Tools" menu and select the              "Log Output/Playback Scripts" option. The "Record / Playback"              dialog box will popup. In this dialog box go to the              "Playback Commands From File" group and press on the "Browse"              button. Navigate to the location of the following  register file: 	     "SBC7410_GT64260_256MB.reg" for the MPC7410. This file is located in the bsp 	     subdirectory ./estregs. After choosing the register file press	     on the "Open" button to confirm the selected reg file. You will              return back to the "Record / Playback" dialog box. Now press on              the "Start" button located in the same group. In the "Terminal"              window you can see that the visionCLICK is running the script.              When visionCLICK will finish the playback you will get back the              ">BKM>" or the ">ERR>".       3.1.4 Get into Background Mode:              Execute the "IN" command to reset the board and initialize it with              the register setting.             .CS             IN;CF VECTOR HIGH             .CS             This command is the reset command to initialize the board and to 	     put the emulator into a mode that will allow it to be flashed.       3.1.5 Converting the bootrom_uncmp.hex/bootrom.hex to bootrom_uncmp.bin/bootrom.bin:              3.1.5.1 In visionCLICK, choose "Convert Object Modules" from the                       "Tools" menu. The "CONVERT BINARY AND SYMBOL OBJs" dialog                       box will pop up.Select "All Files" in the "Files of Type"                       box. Go to the "Select Input Object Module To Convert"                       group and navigate to the file "bootrom_uncmp.hex" or		      "bootrom.hex"                      located in:                       "$(WIND_BASE)/target/config/wrSbc7410/bootrom_uncmp.hex"		      or                      "$(WIND_BASE)/target/config/wrSbc7410/bootrom.hex"              3.1.5.2 In the group "Binary Downloadable Objects Modules" check                       the "Create Flat BIN File For Flash Programming".                       "In Range Of 0x" editbox, enter 0 for the start address,                       and in the "To 0x" edit box, enter "FFFFFFFF".              3.1.5.3 Make sure that all the other check boxes are unchecked.                       Press the "Convert" button. Close the terminal window                       when the conversion completes.       3.1.6 Programming the wrSbc7410 Flash:             In visionCLICK, select "Program Flash Devices" from the Tools              pull-down menu. This will invoke the "TF FLASH PROGRAMMING"              window. If you are not using visionCLICK, you can also invoke              this window using the "visionICE Utilities Panel" and follow the              steps below:             3.1.6.1 Click the "Select" in the "Flash Card or PC Host File                      Name and Path" group. The "CHOOSE A FILE FROM HOST PC"                      dialog box will popup. In the edit box enter the full path                      to the location of the "bootrom_uncmp.bin", or use the                      "<--Browse" button to browse to the file location. Go to                      the "+/- Bias" group and enter the number "FFF00100" in                      the edit box. Now click the "OK" button, this will bring                      you back to the "TF FLASH PROGRAMMING" dialog box.              3.1.6.2 In the "Programming Algorithm" group in, the edit box                      press on the "Select" button, and select one of the                      following Flash devices:                     For the 16MB Flash: "INTEL  28F640Jx ( 4096 x 16 )  2 Devices"             3.1.6.3 Set the base address of the Flash to "FFF00000", check                      the "Erase To" radio button and enter "FFFFFFFF", and set the                      "Available RAM Workspace" setting to "00000000", set the                      "Bytes Of Target RAM Required" to "60000".             3.1.6.4 Press the "Erase and Program" button.             3.1.6.5 Now the Flash memory is programmed with the new boot                      program. 4. Running the VxWorks Boot ROM program:   4.0 Turn off power to the board.      4.1 Disconect visionPROBE II or the visonICE II if it is still connected to the        board. (Optional step.)   4.2 Connecting the Ethernet channels and the serial channel:       4.2.1 First, connect the supplied serial cable with the board.              Connect the RJ11 connector to the RS232 port on the front              of the wrSbc7410 board and connect the RJ11 to 9/25 Pin adapter 	     to connect it to your host. The UART device is set as follows: 	     8 data bits, 1 stop bit, hardware handshaking, and parity disabled. 	     The serial console baud rate is 9600 bps.       4.2.2 Second, connect a standard RJ45 ethernet cable to both of the              RJ45 connectors on the wrSbc7410 board to either a 10 or 100Mbps hub. 	     Connect your host to the hub using a standard RJ45 ethernet cable.                4.3 Launch a terminal program on the host and configure it according        as follows: 8 data bits, 1 stop bit, hardware handshaking,        and parity disabled. The serial console (9600 bps). Under UNIX use a       tip window; under Windows start a Hyperterminal window from the Tornado       start menu.   4.4 To execute the new boot program turn the board off and then on. You        should get the vxWorks boot count down in the terminal window. Press any       key to stop the count down. Now follow the instructions in the        instructions in the "Getting Started" chapter of the        "VxWorks Programmer's Guide" for more details how to configure vxWorks.       See the next section, "Loading vxWorks" for an example boot session.       If you did not disconnect the ICE or PROBE in step 4.1 the you must        issue the following commands to start the board:              .CS       CF VECTOR LOW;IN;GO or       CF VECTOR LOW;INN;GO       .CS5. Loading vxWorksEnter the appropriate bootrom parameters. The following screen dump illustratesan example for loading vxWorks via the wancom interface:.bS                            VxWorks System BootCopyright 1984-2001  Wind River Systems, Inc.CPU: Motorola PowerPC 7410 - Wind River SBC7410 BoardVersion: VxWorks5.5BSP version: 1.2/0Creation date: Jun  7 2002, 12:33:27

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -