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

📄 target.ref

📁 Freescale MPC85xx BSP (8555/8541)。绝对可用的。
💻 REF
📖 第 1 页 / 共 2 页
字号:
\" cds85xx/target.ref - Freescale MPC85XX CDS target specific documentation\"\" Copyright 1984-2005 Wind River Systems, Inc.\"\" modification history\" --------------------\" 01c,24mar05,mdo  Documentation changes for apigen\" 01b,22nov04,jln  updated for 1.2/0 FCS\" 01a,12sep04,jln  Created from ads85xx/01b\"\"\TITLE cds85xx - Freescale MPC85XX CDSNAME`Freescale MPC85XX CDS'INTRODUCTIONThis reference entry provides board-specific information necessary to runVxWorks for the cds8555/8541 BSP.  Please read the section"Running vxWorks" in order to configure the board to run vxWorks.RUNNING VXWORKSThis section will guide you how to run vxWorks on the cds85xx reference board. The CPU Card's switch SW4[4] determines MPC8555 or MPC8541 is configured.\sh 1. Setting the board Jumpers & Switches:\sh Switch Settings - CPU Card\tsSW Bit-> | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8-1 | ON | ON | ON | ON | ON | ON | ON | OFF2 | ON  | OFF  | OFF | ON  | ON | ON | ON | ON3 | OFF | OFF | OFF | ON | ON | OFF | ON | OFF4 8555 | ON | ON | ON | ON | ON | ON | ON | OFF4 8541 | ON | ON | ON | OFF | ON | ON | ON | OFF\te\sh Switch Settings - Carrier Card \tsSW Pin-> | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8-1 | OFF | ON | ON | OFF | ON | ON | OFF | OFF2 | OFF  | OFF  | ON | OFF  | ON | ON | OFF | OFF3 | ON | OFF | OFF | ON | OFF | ON | ON | ON4 | ON | OFF | OFF | OFF | ON | OFF | OFF | OFF\te\sh Switch Settings - Arcadia board (base board)\tsSW Pin-> | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8-1 | OFF | OFF | ON | ON | ON | ON | OFF | OFF4 | ON  | ON  | ON | ON  | ON | ON | ON | ON5 | ON | ON | ON | ON | ON | ON | ON | OFF\te\sh 2. Flashing the bootrom image using visionClick 7.11a (or above) or UBOOT    There are two flash banks on the cds85xx reference board. By default,    Freescale preprogram the UBOOT on one of flash bank with Carrier Card    SW2[12]=01. This section will describe how to program vxWorks's bootrom   onto another flash bank by using WindPower ICE or UBOOT (if available).      2.1 Using visionCLICK 7.11a (or above required):              NOTE: Make sure the Carrier Card's SW2[12] are set to 00 (OFF).                If SW2[12]=01, the UBOOT bootloader will be erased!       2.1.1 Creating a bootrom_uncmp.hex:             Under the cds85xx BSP directory, type "make bootrom_uncmp.hex";              or Using Project Facility to build a bootrom_uncmp.hex.       2.1.2 Install the WindPower ICE and power it on.             Connect the JTAG interface cable from the WindPower ICE into the              cds85xx  board JTAG (in CPU card) connector.             Once all the connections have been made, power up the cds85xx              board and start the visionCLICK executable on the host.       2.1.3 Configure the visionCLICK 7.11a (or above) 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. If "PowerPC->MPC85XX->" does not have MPC8541 or MPC8555,              choosing MPC8560 instead. Verify that the "Target Control" option              point to WindPowerICE for WindPowerICE. Now press the "Save"              button at the bottom of the window and after it on the "Activate"              button.       2.1.4 Load the proper cds85xx register setting for Wind Power ICE:             Press "Communications" TAB, Set up the "Ethernet/Port#" and "IP Address"              for the communication. For Ethernet communication, the "Ethernet/Port#"              is set to "NET" and "EST". The "IP address" is the IP address of the              Wind Power ICE. Now Press the "Connect" button, a connection message              should show up on the message box, such as " Connected To WIND POWER              ICE Over Socket 192.168.24.3:1234"               In the "Terminal" window, you will see ">ERR>" or ">BKM>", set the target             to be MPC8555 or MPC8541. For MPC8555, type "cf tar 8555"; and For mpc8541             type "cf tar 8541".             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 register file of the             cds85xx.reg. The file can be found in the BSP             installation directory . 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>". If the ">ERR>" is returned in the "Terminal" window,             make sure the target board is power up, and type "inn" in the              "Terminal" to get to the ">BKM>".        2.1.5 Converting the bootrom_uncmp.hex to bootrom_uncmp.bin:              2.1.5.1 In visionCLICK, choose "Convert Object Modules" from the                      "Tools" menu. The "CONVERT BINARY AND SYMBOL OBJs" dialog                      box will pop up. Go to the "Select Input Object Module                       To Convert" group and navigate to the file                       "bootrom_uncmp.hex" located in "$(WIND_BASE)/target                       /config/cdcs85xx/bootrom_uncmp.hex"              2.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 0x0 for the start                      address, and in the "To 0x" editbox, enter "FFFFFFFF".                      Note that if the non-hex version bootrom_uncmp is used,                      the start address should be 0xd00000 instead.              2.1.5.3 Make sure that all the other check box are unchecked.                      Press the "Convert" button. Close the terminal window                      when the conversion completes.       2.1.6 Programming the cds85xx Flash:             In visionCLICK, select "Program Flash Devices" from the Tools             pull-down menu. This will invoke the "TF FLASH PROGRAMMING"             window:             2.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 "FFF00000" in                     the edit box. Now click the "OK" button, this will bring                     you back to the "TF FLASH PROGRAMMING" dialog box.                      NOTE: The bootrom_uncmp.bin used in this step was created                            in the step 2.1.5. It is the file converted from the                           bootrom_uncmp.hex by using visionCLICK converting tool.                            It is not the bootrom_uncmp.bin that you may create by                            using Tornado's Project Facility or typing                            "make bootrom_uncmp.bin" in the cds85xx BSP directory.             2.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:                     AMD 29LV64xDx[4096 x 16] 1 Device               2.1.6.3 Check the box of "Initialize Target Prior To Erase and/or Program"             2.1.6.4 Set the Base Address of the Flash to "FFF00000", set                      the "Erase to" "FFFFFFFF", and set the                     "Available RAM Workspace" setting to "00005000", set the                     "Bytes Of Target RAM Required" to "3944".             2.1.6.5 Press the "Erase and Program" button.             2.1.6.6 Now the Flash memory is programmed with the new boot                     program.    2.2 Using UBOOT to flash the vxWorks's bootloader:         Following instructions assume UBOOT is available on the reference         board, and assume FLASH base address of the second flash bank is set         to 0xFF00000 by UBOOT:                 2.2.1 Create a bootrom_uncmp.bin:              In the BSP directory, type "make bootrom_uncmp.bin"; or              Using Tornado's Project Facility to build a bootrom_uncmp.bin.        2.2.2 Configure reference board and TFTP server:              2.2.2.1 Set the Carrier Card's switch 2: SW2[12]=01. Bit 1                       is off and bit 2 is on. This allows UBOOT boot up                       the target.              2.2.2.2 Connect a terminal to the serial port of the carrier                       card by using a NULL modem serial cable. Terminal parameters                       should be set to 115200bps, 8 data bits, no parity, and                       1 stop bit; Connect the Ethernet ports of the carrier                       card to the network.              2.2.2.3 Set up a TFTP server in the host; copy the bootrom_uncmp.bin                       to the directory from which the TFTP client can download.        2.2.3 Configure UBOOT:              Power up the cds85xx board and hit any key in the terminal               to stop the autoboot of UBOOT. Set up IP addresses for this               target and the server. For example:              =>setenv serverip 192.168.24.10               =>setenv ipaddr 192.168.24.30               =>saveenv                             In this example, 192.168.24.10 is the IP address               of the TFTP server, 192.168.24.30 is the IP address               of the cds85xx reference board. You may also need to set up               a gateway and netmask if the TFTP server and the target board are not              in the same subnet. Using "printenv" to find out other UBOOT               environment variable setup. "saveenv" will save the new               parameters on the flash.             2.2.4 Download and program the bootrom_uncmp.bin:              2.2.4.1 Download the bootrom_uncmp.bin to the memory at 0x100000:                      => tftp 100000 bootrom_uncmp.bin                        2.2.4.2 (optional) Back up the 1MB flash area from FF700000:                       NOTE: It is possible that this area contains other                             application such as EDINK OS. You may want to back                             it up before erasing. For example:                       => cp.b ff700000 ff300000 100000                      to back up 1 MB FLASH from 0xFF700000 to 0xFF300000              2.2.4.3 Erase the flash from FF700000 to FF7FFFFF:                      => erase ff700000 ff7fffff              2.2.4.4 Program the bootrom_uncmp.bin to the flash.                      => cp.b 100000 ff700000 100000              2.2.4.5 Power down the target board when flashing is done.        2.2.5 Configure the cds855x boards to use vxWorks's boot ROM              Set the Carrier board's switch 2: SW2[12]=00. Both bit 1               and 2 of switch 2 of the Carrier Card are off.\sh 3. Running the VxWorks Boot ROM program   3.1 Disconnect the WindPowerICE if it is still connected to the       board, because if connected, it can stop the processor at       the first instruction in some cases.   3.2 Connecting the Ethernet channel and the serial channel:       3.2.1 Connect the serial port in the carrier card to the host by              using a NULL modem serial cable.       3.2.2 Second, connect the RJ45 ethernet cables to the TSEC ports             adjacent to the serial port in the carrier card.      3.3 Launch a terminal program on the host, and configures it according       to 8 data bits, 1 stop bit, no hardware handshaking, and parity       disabled. The baud rate is 9600 bps.   3.4 If the board is not already powered off, turn it off momentarily.       Power on the board,  you should see characters printed to the terminal        window, counting down to boot. Press any key to stop the count down.        Now follow the instructions in the "Getting Started" chapter of the        "VxWorks Programmer's Guide" for more detail on how to configure vxWorks.\sh BOOT DEVICESThe supported boot devices are:\cs        mottsec - 10/100/1000 Triple Speed Ethernet Controller        tffs - Flash. (Optional. need to reconfigure the BSP to include TFFS)        gei - 10/100/1000 Intel 8254x Gigabit Ethernet Controller              (Optional. need to reconfigure the BSP to include PCI and GEI)\ceFEATURESThis section describes the support and unsupported features of the cds85xx\sh SUPPORTED FEATURESThe supported features of the SBC85xx board are:        MPC 8541/8555 processors        Board Initialization.        MMU support.        Cache support.        L2 Cache support.        L2 SRAM support.        Decrementer timer is used to implement a System Clock.        Timestamp clock.        Aux clock.        MPC8541/8555 DUART        On-chip 10/100/1000 Triple Speed Ethernet Controller.        On-chip Programmable Interrupt Controller.        DDR SDRAM (up to 512 MB Memory).        Local bus SDRAM (up to 64 MB Memory).        Flash (about 16 MB)        Local bus NVRAM (about 8KB)        Saving boot parameters on the NVRAM.        Security Engine.        PCI 1 host controller.        PCI 2 host controller.        Intel 8254x 10/100/1000 Gigabit controller\sh Unsupported FeaturesThe items not supported by the BSP of the cds85xx are:        ATM channels        FCC 10/100 Ethernet controller        USB controller        I2C controller        RTC on the Maxim DS1533WP        Devices on the base board: keyboard/mouse/harddisk/floppy/prpmcHARDWARE DETAILSThis section documents the details of the device drivers and boardhardware elements.\sh DevicesThe chip drivers included are:	am29lv64xdMtd.c - flash memory MTD driver for TFFS

⌨️ 快捷键说明

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