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

📄 target.nr

📁 WINDRIVER SBC405 BSP
💻 NR
📖 第 1 页 / 共 3 页
字号:
                     button. After the process  finished continue to the next                      step.   3.3 Using visionXD:       3.3.1 Install the visionICE II and power it on. Connect the JTAG             interface cable from the visionICE II into the SBC405GP board             JTAG (JP12 The JTAG Port) connector.             Once all the connections have been made, power up the SBC405GP              board and start the visionXD executable on the host.             The VXDHOME environment variable should be set to the base             of the visionXD installation tree, and the PATH should include             $VXDHOME/bin.       3.3.2 Configure visionXD:             Select "Configure Global Settings..." from the Tasks menu.             This will open the Configuration Editor.             In the Communications section, enter the IP address of the             visionICE II.             In the Target section, select PPC405GP as Processor and VxWorks             as RTOS.       3.3.3 Get into Background Mode:              Select "Initialize" from the Target menu.  This resets the board.       3.3.4 Enabling the TRPEXP option in visionXD:             Select "Terminal..." from the Tasks menu.             Execute the "CF TRPEXP YES" command in the "Terminal" window,              after you get back the ">BKM>" prompt execute the "IN" command to              reset the board.             ** NOTE: If the "TRPEXP" option is set to "NO" the Flash erasing &                       programming will fail with timeout. On the other hand to                       run VxWorks using visionICE II "TRPEXP"                       option need to be set to "NO".       3.3.5 Converting the bootrom.hex to bootrom.bin:              3.3.5.1 In a host terminal window, with the environment set                      according to sec. 3.3.1, change to the directory                      containing the bootrom.hex file, for example:                      cd $WIND_BASE/target/config/wrSbc405gp              3.3.5.2 Execute the "convert" program:                      convert -s bootrom.hex -a bootrom.bin       3.3.6 Programming the SBC405GP Flash:             In visionXD, select "Program Flash..." from the Tasks menu.             This will open the Flash Programmer.             3.3.6.1 Select "Target Flash" as Method.             3.3.6.2 In "File to Program", select Source as Host File System.                     In the Name: edit box enter the full path                      to the location of the bootrom.bin file, or use the                      folder-icon button to browse to the file location.                     In the "+/- Bias" edit box enter the number 0xffe00200.             3.3.6.3 In "Device Configuration, Start Address, and                     Optional End Erase Address", select Devices as                     "INTEL 28F640Jx (4096 x 16) 2 Devices".  Set the                     Start Address to 0xffe00000 and select the End Address                     as Automatic.             3.3.6.4 In "Target RAM Workspace", set Start Address to 0 and                     Size to 60000.             3.3.6.5 Click the "Erase and Program" button.  The erase                     operation should take about 10 seconds.  The program                     operation should take about 2 minutes.4. Running the VxWorks Boot ROM program:   ** NOTE: To run VxWorks using visionPROBE II/visionICE II the TRPEXP option            need to be set to 'NO'.   4.1 Disconect visionPROBE II or the visonICE II if it still connected to the        board, because it still connected to the board in some case it can stop        the processor at the first instruction.   4.2 Connecting the Ethernet channel and the serial channel:       4.2.1 First, connect the supplied serial cable with the board. On              one said connect the RJ11 connector to the RS232 (JP2) port on             the SBC405GP board, and on the other said use the RJ11 to 9/25 Pin              addapter to connect it to your host. The UART devices is set as              follow: 8 data bits, 1 stop bit, hardware handshaking, and parity              disabled. The serial console (9600 bps).       4.2.2 Second, connect a standard Ethernet cable to the the RJ45 (JP10)             connector on the SBC405GP board.                4.3 Launch a terminal program on the host said, and configures it according        to the following details: 8 data bits, 1 stop bit, hardware handshaking,        and parity disabled. The serial console (9600 bps).   4.4 Now to execute this new boot program turn the board off,and on. and you        should get the vxWorks boot count down on the terminal window. Press any       key to stop the count down. Now follow the instruction in the        instructions in the "Getting Started" chapter of the        "VxWorks Programmer's Guide." for more detail how to configure vxWorks..SS "Default configuration"bootrom_uncmp.bin & bootrom.bin are provided with this BSP. The bootrom is configured to a ROM base address of 0xFFE00200, the address space between 0xFFE00000 - 0xFFE001FF is used to emulate NvRam on the Flash, the BSP also configured to use the PPC405GP internal 10/100BaseT Ethernet controler as default boot device and the RS232 as console device..SS "Using visionWARE to run VxWorks"The following section will explain how to launch VxWorks using visionWARE as a boot loader. Please follow the steps below:Note: Before using vsionWARE you need to verify that visionWARE is programmed       to you FLASH. If visionWARE is not exist on your FLASH, please see       "Programming bootrom_uncmp to SBC405GP FLASH using visionCLICK/SingleStep"      section how to program the SBC405GP Flash, and instead of programming the       "bootrom_uncmp.bin" program the "vWARE.bin" file.    1. Connect your SBC405GP serial channel (RS232) to a host running terminal        program at 9600 baud rate (For example "HyperTerminal") using the        supplied serial cable.    2. Connect your SBC405GP 10\100Base-T (The Ethernet port on the board JP10)        port to a network hub.    3. Open TFTP server and point to the location of the vxWorks.bdx file. If        you want to use the TFTP server that is supplied with visionWARE, go to        the visionWARE directory on your host, inside the visionWARE root        directory you will find "tftp" directory that contain application called        "tftpd32.exe" . Run this application and the TFTPD32 window will popup.        In the TFTPD32 window press on the "Settings" button. This will invoke        the "Tftpd32: Settings". Go to the "Base Directory" group and inside the        edit box type the full path to your vxWorks image, or use the "Browse"        button to navigate to there.    4. Power up your SBC405GP and press any key within 1 seconds from the        serial terminal to abort the boot script. This will display a ">BKM>"        prompt.    5. Type the "shell" command and press enter. Now you should get the        following line: "Command Channel = 0: serial >" Press enter.     6. Next line will be: "Boot Delay (seconds) = 6 >" . Here you need to        specify the desired delay value and press enter.    7. Next line will be: "Boot Script = >" . Here you need to give the boot        script command. Please type the following:	         "load \\host\vxWorks.bdx!launch 10000"       is the host name, and press enter.	         Note(s):		** It is very important to keep the same space between the                    "load" command and the host name "\\host".		** The host name should be the same as specified in the                    "Remote System 1 Name" line.	    8. Next line will be "MAC Address = 00-A0-11-22-23-E8 >" . If you want to        change the target MAC address, type it now and press enter, else press        just enter.    9. Next line will be "IP Address = 0.0.0.0 >" . Type your target IP        address. For example: 172.16.12.12 and press enter.   10. Next line will be "Subnet Mask = 0.0.0.0 >" . If you want to use subnet        mask, type it now and press enter, else just press enter.   11. Next line will be "Default Gateway = 0.0.0.0 >" . If you want to use        default gateway, type it now and press enter, else just press enter.   12. Next line will be "Remote System 1 Name = >" . Here you need to type the        same host name you specified in the "Boot Script" line.   13. Next line will be "Remote System 1 IP = >" . Here you need to type your        host IP address. For example: 172.16.18.33 and press enter.   14. Next line will be "Remote System 2 Name =  >" . Just press enter.   15. Next line will be "Remote System 3 Name =  >" . Just press enter.   16. Next line will be "Remote System 4 Name =  >" . Just press enter.   17. Next line will be "Command Channel = 0: Serial >" . Just press enter.   18. Now you will get the following message:        Saving changes will generate a reboot.       Save Changes (y/n)?       Press 'y' to save the changes.   19. Now the changes are saved and the board will restart visionWARE and boot        vxWorks, after a few seconds you will get the following messages:.CS    Wind River visionWARE v2.00 EAR HSI PPC405 Chameleon Board    Wind River HSI +1(781) 828 5588    Build #4, 05/14/01 16:14:45     MAC : 00-A0-11-22-234-E8 IP : 172.16.12.12    Type "shell" to set IP and/or MAC addresses    Type "help" to see available commands     Press a key in the next <6> seconds to preempt boot script    Booting from script...     load \\host\vxWorks.bdx!launch 10000    >RUN>Attached TCP/IP interface to emac unit 0    Attaching network interface lo0... done.    NFS client support not included.                     VxWorks    Copyright 1984-1998  Wind River Systems, Inc.                CPU: IBM PowerPC 405GP Rev D - WindRiver. SBC405GP            VxWorks: 5.5        BSP version: 1.2/6      Creation date: Nov 22 2001                WDB: Ready..CEFor more information regarding visionWARE boot services and the visionWARE development kit, please refer to the visionWARE manuals, located on the CD that was shipped with your board..SS "BOOT DEVICES"The supported boot device(s) is(are):.CS    emac - 100\10BaseT Ethernet     or    fei  - 100\10BaseT Ethernet .CE.SH "FEATURES"This section describes the support and unsupported features of the SBC405GP.SS "Supported Features"The following features of the SBC405GP board are supported in this release:   - IBM PPC405GP Rev D only.   - MMU on the PPC405GP processor.   - System Timer (uses 405GP PIT hardware timer)   - Auxiliary Timer (uses 405GP FIT hardware timer)   - Watchdog Timer (uses 405GP WDT hardware timer)   - Both 405GP integrated 16550-style serial ports   - 405GP integrated Universal Interrupt Controller (UIC)   - MAL/EMAC (integrated Memory Access Layer and 10/100 Ethernet MAC) or   - Intel 82557/9 Ethernet controller (using fei82557End driver)   - 64MB SDRAM DIMM   - 16MB On Board FLASH   - 405GP PCI controller   - Saving boot parameters on Flash   - Support for the optional Wind River FPGA card (Proteus).SS "Unsupported Features"   - SDRAM autoconfiguration.SH "HARDWARE DETAILS"This section documents the details of the device drivers and boardhardware elements for the SBC405GP..SS "Devices"This bsp provides the following chip drivers:.CS    evbNs16550Sio.c - 16550 serial driver.    ppc405Timer.c   - timer driver for the PPC405GP.    sysNvRam.c      - Emulating NvRam on Intel 28F640J3 Flash.    i28F640J3Mem.c  - Intel 28F640J3 Flash routines.    uicIntr.c       - on-chip Universal Interrupt Controller.    ibmEmacEnd.c    - IBM 405GP integrated Ethernet controller..CEIt also provides DCR access routines for the following functional units:.CS    - IBM DMA controller    - IBM external bus controller    - IBM Memory Access Layer (MAL)    - IBM SDRAM controller    - IBM Universal Int Controller (UIC).CE.PPThe BSP configures On Chip NS 16550 competible UART to implement a console 

⌨️ 快捷键说明

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