📄 target.nr
字号:
3.2.4.4 Now press the "Convert" button. After the convert operation finished, you will see it in the "Convert Result" section press the "Close" button. 3.2.5 Programming the SBC8240/8245 Flash: 3.2.5.2 In the "Flash Programming Window" window. Go to the "Configuration" tab, & choose the following Flash device: The 512KB On Board FLASH: "AMD 29F040 (512 x 8) 1 Device" In "Flash Bank" group for the "Start:" enter "FFF00000". In the "RAM Workspace" group for the "Workspace Start at:" enter "00000000" and for the "Workspace Size:" enter "60000". 3.2.5.3 Now switch to the "Files" tab and press the "Add" button. The open dialogbox will popup, browse to "$(WIND_BASE)\target\config\wrSbc824x\" and choose the "bootrom_uncmp.bin" file. Now after getting back to the "Files" tab you will see the full path to the selected file in the "Binary Files" group. Move the mouse curser above the line that showing the full path in the "Binary Files" group and press the right button to mark this line. Now press the "Toggle Enable" button to select this binary file. Make sure that the line is still marked, and press the "Edit" button on the right. The "File Edit" dialog box will popup. In the "Enter new start address" edit box enter "0xFFF00100" and press the "OK" button. 3.2.5.4 Now go to the "Program" tab and press the "Erase/Program" button. 3.2.5.5 Now the Flash memory is programmed with the new boot program.4. Running the VxWorks Boot ROM program: 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 COM1 (JP31) port on the the SBC8240/8245, 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, plug the Intel PRO100B/S PCI NIC in the PCI slot on the carrier board and connect a standard Ethernet cable to the NIC. 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.hex is provided with this BSP. The bootrom_uncmp is configured to a ROM base address of 0x0 and includes, also it's configured to use the 512KB On Board FLASH and FEI 10/100BaseT Ethernet as default boot device and COM1 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(s): - 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 SBC8240/8245 FLASH" section how to program the SBC8240/8245 Flash, and instead of programming the "bootrom_uncmp.bin" program the "vWARE.bin" file. - vWare 1.10 is using the NetGear NIC by default so the VxWorks image need to be compiled with the PNIC169 driver. vWare 2.00 is using the Intel 82559 NIC by default so the VxWorks image need to be compiled with the FEI82557 driver. 1. Connect your SBC8240/8245 serial channel (COM1) to a host running terminal program at 9600 baud rate (For example "HyperTerminal") using the supplied serial cable. 2. Connect your SBC8240/8245 100\10Base-T (On the PCI Ethernet card) 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 SBC8240/8245 and press any key within 3 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: "File System Sectors (256K each) = 8 >" Press enter. 6. Next line will be: "Boot Delay (seconds) = 1 >" . Here you need to specify the desired delay value and press enter. 7.Nex line will be: "Boot Script = >" . Here you need to give the boot script command.Please type the following if you are using vWARE 1.10: "load \\host\vxWorks.bdx!osboot RAM!go 100000" . Where "host" or if you are using vWARE 2.0 please type the following: "load \\host\vxWorks.bdx!launch 100000" 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". ** It is very important to keep the same space between the "osboot" command and the "RAM". or between the "launch" command and the "100000" ** 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 >" . just press just enter. 9. Next line will be "IP Address = 0.0.0.0 >" .Type your target IP address. For example: 192.168.199.0 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: 192.168.199.1 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. If you are using visionWARE 1.10 this will be the next line will "Command Channel = 0: Serial >" . Just press enter. If you are using visionWARE 2.00 this will be the first line, again 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 for the SBC8240 Board MAC : 00-00-00-00-00-00 IP : 192.168.199.0 Type "shell" to set IP and/or MAC addresses Type "help" to see available commands Press a key in the next <1> seconds to preempt boot script Booting from script... load \\host\vxWorks.bdx!launch 100000 >Attached TCP/IP interface to fei unit 0 Attaching interface lo0...done VxWorks Copyright 1984-1998 Wind River Systems, Inc. CPU: MPC8240 - Wind River. SBC8240 Evaluation Board VxWorks: 5.5 BSP version: 1.2/26 Creation date: Oct 29 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 pnic - 100\10BaseT Ethernet or fei - 100\10BaseT Ethernet .CE.SH "FEATURES"This section describes the support and unsupported features of the SBC8240/8245.SS "Supported Features".PPThe supported features of the SBC8240/8245 board are: 8240/8245 processors. 66Mhz & 100Mhz bus speed Board Initialization MMU support Cache support Decrementer timer, is used to implement a System Clock & Timestamp. 1 UART channel (Consol channel). 10\100BaseT FEI PCI Ethernet device (Intel 82559). 10\100BaseT PNIC PCI Ethernet device (NetGear FA310) or. 8240 Interrupt Controller. 8240 PCI bridge. 8240 Memory Controller. SDRAM upgrade (16, 64 MB Memory DIMM). FLASH 512K On board. FLASH 4MB On board. Aux Clock..SS "Unsupported Features".PPThe items not supported on the SBC8240/8245 are: Other MPC8240/8245 peripheral.SH "HARDWARE DETAILS"This section documents the details of the device drivers and board hardware elements for the SBC8240/8245..SS "Devices"The chip drivers included are:.PP.CS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -