📄 target.nr
字号:
>BKM>IN .CE After you got the ">BKM>" prompt again continue with the instruction in the next section. 3.2.5 Converting the bootrom_uncmp.hex to bootrom_uncmp.bin: 3.2.5.1 Go to the menu and choose "Tools" and "Vision Flash Utility..." . 3.2.5.2 The "Flash Programming Window" will popup. Go to the "Files" tab, press the "Convert" button. 3.2.5.3 The "File Convertion" window will popup. In the "Enter new start address" edit box type "0x0" and in the "Enter new end address" edit box type "0xFFFFFFFF". 3.2.5.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.6 Programming the SBC8260ATM Flash: 3.2.6.2 In the "Flash Programming Window" window. Go to the "Configuration" tab, & choose the following Flash device: The 64MB SIMM Flash: "INTEL 28F640Jx (8192 x 8) 4 Devices" The 2MB On Board FLASH: "AMD 29F016/17(2048 x 8) 1 Device" ** Note: In order to use the On Board FLASH some jumpers and switches should be changed. 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.6.3 Now switch to the "Files" tab and press the "Add" button. The open dialogbox will popup, browse to "$(WIND_BASE)\target\config\wrSbc8260Atm\" 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.6.4 Now go to the "Program" tab and press the "Erase/Program" button. 3.2.6.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 (JP13) port on the the SBC8260ATM, 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 (JP28) connector on the Fast Ethernet transceiver. 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 2 MByte On Board FLASH and FCC2 10/100BaseT Ethernet as default boot device and SMC1 as console device. The hard reset configuration word must be programmed separately at the flash base address of 0xFE000000 and at offsets 0x0, 0x8, 0x10 and 0x18, see chapter 5 Reset in the MPC8260 PowerQUICC II User's Manual..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 SBC8260ATM FLASH" section how to program the SBC8260ATM Flash, and instead of programming the "bootrom_uncmp.bin" program the "vWARE.bin" file. 1. Connect your SBC8260ATM serial channel (COM1) to a host running terminal program at 9600 baud rate (For example "HyperTerminal") using the supplied serial cable. 2. Connect your SBC8260ATM 100Base-T (JP28) 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 SBC8260ATM 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: "Command Channel = 0: serial >" Press enter. 6. Next line will be: "Boot Delay (seconds) = 1 >" . 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 100000" . Where "host" 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 "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 "Prompt String = BKM >" . Press enter. 9. Next line will be "MAC Address = 00-00-00-00-00-00 >" . If you want to change the target MAC address, type it now and press enter, else press just enter. 10. Next line will be "IP Address = 0.0.0.0 >" . Type your target IP address. For example: 24.42.124.92 and press enter. 11. 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. 12. 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. 13. Next line will be "Remote System 1 Name = >" . Here you need to type the same host name you specified in the "Boot Script" line. 14. Next line will be "Remote System 1 IP = >" . Here you need to type your host IP address. For example: 24.42.124.94 and press enter. 15. Next line will be "Remote System 2 Name = >" . Just press enter. 16. Next line will be "Remote System 3 Name = >" . Just press enter. 17. Next line will be "Remote System 4 Name = >" . 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 SBC8260ATM Board MAC : 00-00-00-00-00-00 IP : 24.42.124.92 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 motfcc unit 0 Attaching interface lo0...done VxWorks Copyright 1984-1998 Wind River Systems, Inc. CPU: MPC8260 PowerQUICC II - Wind River. SBC8260ATM VxWorks: 5.5 BSP version: 1.2/4 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..SS "BOOT DEVICES"The supported boot device(s) is(are):.CS motfcc - MII 10/100BaseT Fast Ethernet (FCC2) motscc - 10BaseT Ethernet (SCC1).CE.SH "FEATURES"This section describes the support and unsupported features of the SBC8260ATM.SS "Supported Features".PPThe supported features of the SBC8260ATM board are: 8260 processors, Bus 66MHz, CPM 133MHz, Core 200MHz Board Initialization MMU support Cache support Decrementer timer, is used to implement a System Clock. SMC1 a UART for COM1 (Consol channel). SMC2 a UART for COM2. SCC1 Port as an Ethernet device supporting 10Base-T protocol. FCC2 Port as an Ethernet device supporting 10/100Base-T protocol. TIMER2 as an 16-bit auxiliary clock. TIMER3 and TIMER4 are cascaded into a free-running 32-bit timer for timestamp support. Interrupt Controller. Baud Rate Generators as required for SMC1 and SMC2. 256 MB SDRAM on 60x Bus. 16MB SDRAM on Local Bus. 64MB SIMM FLASH on 60x Bus. 2MB On Board FLASH on 60x Bus. 32KByte EEPROM for Ethernet MAC address and bootline. .SS "Unsupported Features".PPThe items not supported on the SBC8260ATM are: Other MPC8260 peripherals Support for the L2 cache (hardware not available).SH "HARDWARE DETAILS"This section documents the details of the device drivers and boardhardware elements for the SBC8260..SS "Support for L1 Cache Locking"L1 cache locking is available for MPC8260. The cache lock routine can beused to lock the entire data or instruction cache with a specified memory region. .SS "I/O Port routins"The SBC8260ATM is equipped with four parallel I/O ports, each comprised of 32 discrete I/O pins. sysIOPort.c is a sample code for reading / writing I/O pin states and connecting an interrupt handler that triggers on a pin state transition..SS "Devices"The chip drivers included are:.PP.CS smc8260Sio.c - serial driver m8260IntrCtl.c - interrupt controller driver m8260Timer.c - timer driver byteNvRam.c - Byte oriented nvram device eeprom.c - EEPROM access routines m82xxDpramLib.c - DPRAM memory driver. m8260SccEnd.obj - SCC Ethernet END driver motFccEnd.o - FCC Ethernet END driver miiLib.o - Media Independent Interface library.CE.PPThe BSP configures SMC1 as a UART to implement a console device and the FCC2 as an Ethernet.SMC1 is used as a console device.SCC1 is used as a 10Base-T Ethernet port.FCC2 is used as a 10/100Base-T Ethernet port. .SS "Default Memory Map".CSMemory Map from CPU point of viewChip Select Start Size Access to---------------------------------------------------------------------CS2-3 (R/W) 0x0 256MB DIMM SDRAMCS5 (R/W) 0x22020000 32KB NVRAM (EEPROM) 0xF0000000 64KB SBC8260ATM, DPRAMIf CS0 & 1 (R/W) 0xFC000000 64MB SIMM FLASH memoryIf CS1 & 6 (R/W) 0xE0000000 64MB SIMM FLASH memoryIf CS0 (R/W) 0xFE000000 2MB On Board Local FLASHIf CS6 (R/W) 0xE0000000 2MB On Board Local FLASHCS4 (R/W) 0x10000000 4MB SDRAM on Local busCS7 (W) 0x21000001 8Bit User LED's (Register)CS7 (R) 0x21000001 8Bit User Switch's (Register)CS7 (R) 0x21000000 8Bit Present Detect (Register).CE.SS "Shared Memory"NA.SS "Programming the Hard Reset Configuration Word to the On Board FLASH".PP1. Power off the SBC8260ATM board and set dip switch S2-1 to Open position (Sets Reset Configuration to internal default).2. Verify JP-24 jumper is set to 1-3 and 2-4 if you boot from the Local Flash.3. Power on the SBC8260ATM and the emulator (visionPROBE II or visionICE II).4. If you are using visionCLICK follow section 4.1, if you are using SingleStep for vision follow section 4.2 : 4.1 Using visionCLICK: 4.1.1. Start visionCLICK and go to the menu and choose "Tools"->"Upload / Download Register Files"-> "Download Register Value from File To Emulator" . The "CHOOSE FILE TO LOAD REGISTER FROM:" dialogbox will popup. Browse to "$(WIND_BASE)\target\config\wrSbc8260Atm\misc" and choose the "sbc8260atm_CS0_OnBoard.reg", after plabacking the
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -