📄 ns486.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/bsp/ns486/ns486.html - generated by refgen from target.nr --> <title> ns486 </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>BSP Reference : ns486</i></a></p></blockquote><h1>ns486</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>ns486</strong> - National Semiconductor NS486SXF</p></blockquote><h4>INTRODUCTION</h4><blockquote><p>This manual entry provides board-specific information necessary to runVxWorks. Verify that the board runs in the factory configuration usingthe vendor-supplied flash loader utility and jumper settings and checkingthe RS-232 connection.<p>The National Semiconductor NS486SXF is a highly-integrated, embeddedsystem controller incorporating an i486-class 32-bit processor. TheNS486SXF provides the same programming model and register set as thestandard i486, except that real mode, virtual memory, and floating-pointsupport have been eliminated. At reset, the NS486SXF starts up inprotected mode instead of real mode, unlike the standard i486. VxWorkssupports all i486 instructions appropriate to protected mode and theVxWorks hardware configuration, including debug instructions.<p>The National Semiconductor NS486SXF evaluation board offers the following features:<p> - 25MHz NS486SXF CPU<br> - Programmable flash memory (256KB standard)<br> - 72pin SIMM DRAM (1MB standard)<br> - Two serial ports<br> - Parallel port<br> - PCMCIA PC card socket<br> - Reset and NMI push buttons<br> - PC104 bus-compatible connectors<br> - Feature connector for NS486SXF I/O<p></blockquote><h4>BOOT ROMS</h4><blockquote><p>The NS486SXF provides flash memory instead of boot ROMs. The boot ROMimage can be any of the following(comp means compressed):<p> - <b>bootrom</b> bootrom(comp): lower mem<br> - <b>bootrom_middle</b> bootrom(comp): lower mem<br> - <b>bootrom_uncmp</b> bootrom: lower mem<br> - <b>bootrom_res</b> bootrom: lower mem<br> - <b>bootrom_res_middle</b> bootrom: lower mem<br> - <b>vxWorks_rom</b> bootable vxWorks: upper mem<br> - <b>vxWorks_rom_low</b> bootable vxWorks: lower mem<br> - <b>vxWorks.res_rom</b> bootable vxWorks.res: upper mem<br> - <b>vxWorks.res_rom_low</b> bootable vxWorks.res: lower mem<br> - <b>vxWorks.st_rom</b> bootable vxWorks.st(comp): upper mem<br> - <b>vxWorks.st_rom_low</b> bootable vxWorks.st(comp): lower mem<p>There are no <b>*.hex</b> files. Instead, there are <b>*.bin</b> files that can bedownloaded into flash memory by the flash loader. The makefile hascorresponding entries for the <b>*.bin</b> files. <p>There are six new configurations in the makefile:<p> - <b>vxWorks_rom_low</b><br> - <b>vxWorks.res_rom_low</b><br> - <b>vxWorks.st_rom_low</b><br> - <b>vxWorks_low</b><br> - <b>bootrom_res_middle</b><br> - <b>bootrom_middle</b><p>The boot ROM images <b>vxWorks_rom_low</b>, <b>vxWorks.res_rom_low</b>, and<b>vxWorks.st_rom_low</b> are analogous to <b>vxWorks_rom</b>, <b>vxWorks.res_rom</b>,and <b>vxWorks.st_rom</b> but use lower memory.They work with 1MB RAM and do not require upper memory. (<b>vxWorks_rom</b>,<b>vxWorks.res_rom</b>, and <b>vxWorks.st_rom</b> use upper memory and thereforerequire 2MB RAM.) The <b>bootrom_res_middle</b> or <b>bootrom_middle</b> boot ROMimage is used to download <b>vxWorks_low</b> over the network, using theNE2000-compatible PC104 bus Ethernet card. The <b>vxWorks_low</b> boot ROMimage is analogous to <b>vxWorks</b>, but uses lower memory; thus,<b>bootrom_res_middle</b> or <b>bootrom_middle</b> and <b>vxWorks_low</b> work with1MB DRAM for systems with constrained resources.<p>The NS486SXF does not have non-volatile RAM; thus, boot parameters are notpreserved whenever the system is powered off.<p>To load VxWorks, and for more information, follow the instructions in the<i>Tornado User's Guide: Getting Started. </i><p>See <i>Burning Flash</i> below for specific flash memory burning instructions and recommendations for using this board in the Tornado environment.<p></blockquote><h4>JUMPERS</h4><blockquote><p>The following jumpers are relevant to VxWorks configuration:<p><table><tr valign=top><th align=left>Jumper </th><th align=left> Function </th><th align=left> Description</tr><tr><td colspan="3"><hr></tr><tr valign=top><td align=left>W1 </td><td align=left> PC104 IRQ </td><td align=left> Install to connect the PC104 IRQs to the NS486SXF external IRQs. </tr><tr valign=top><td align=left>W2 </td><td align=left> DEBUG serial port IRQ </td><td align=left> Install to connect the debug serial port IRQ to the NS486SXF external IRQ2. </tr><tr valign=top><td align=left>W3,5 </td><td align=left> Serial port type </td><td align=left> Select the NS486SXF serial port interface to be EIA-232D or HP Serial Infrared. </tr><tr valign=top><td align=left>W4 </td><td align=left> Flash Vpp </td><td align=left> Install for normal operation. Remove, for AMD flash only, to apply Vpp to Address 9 of the device. </tr><tr valign=top><td align=left>W6 </td><td align=left> BOOT </td><td align=left> Install when programming flash memory; remove when booting VxWorks from flash. </tr><tr valign=top><td align=left></tr></tr></table>For details of jumper configuration, see the board diagram at the end ofthis entry and in the hardware manual.<p></blockquote><h4>DEVICES</h4><blockquote><p>The Intel 8250 Universal Asynchronous Receiver Transmitter (UART) tty driver,<b>i8250Sio.c</b>, is supplied for the two on-board serial ports; see thereference entry for <b>i8259Sio.c</b>.<p>A device driver for the PCMCIA is provided. The <b>INCLUDE_PCMCIA</b> directivemust be enabled in <b>config.h</b>. This includes support for an ATA PC card,SRAM PC card, and 3COM EtherLink III PC card.<p>The other chip drivers included are:<p> <b>i8253Timer.c</b> - Intel 8253 timer driver<br> <b>i8259Pic.c</b> - Intel 8259 Programmable Interrupt Controller (PIC) library<br> <b>nullNvRam.c</b> - null RAM library<br> <b>nullVme.c</b> - null VMEbus library<br> <b>pccardLib.c</b> - PC card driver<br> <b>pccardShow.c</b> - PC card driver show routine<p></blockquote><h4>SPECIAL CONSIDERATIONS</h4><blockquote><p>Compressed boot images, <b>bootrom</b> and <b>vxWorks.st_rom</b>, are supported for4MB DRAM. <b>bootrom_middle</b> and <b>vxWorks.st_rom_low</b> are supported for1MB DRAM.<p>The software FPP emulation library does not work on revision A0 siliconbecause it always generates Exception 6 for floating-point instructions.Exception 7 is not generated by revision A0 silicon; thus, <b>INCLUDE_SW_FP</b>in <b>config.h</b> should be undefined.<p>If there are two serial ports available, the first serial port, <b>/tyCo/0</b>(UART), should be used for the VxWorks console to Tornado. Andthe second port, <b>/tyCo/1</b> (DEBUG), should be used for the SLIP/UDPliteconnection and the flash download channel. This is configured as follows:<pre> WDB_TTY_CHANNEL 1 WDB_TTY_DEV_NAME "/tyCo/1" CONSOLE_TTY 0</pre>By default there is no network support included. The expected defaultconfiguration is to use the serial channel with the Tornado UDPlite protocol.If network support is desired, <b>config.h</b> must be modified to include it.<p></blockquote><h4>BURNING FLASH</h4><blockquote><p>The jumper W6 controls the boot operation of the NS486SXF board. Installa jumper in W6 to program burning flash. Remove the jumper when bootingVxWorks from flash. Not having W6 correctly jumpered is a commonmistake. With W6 installed, the NS486SXF will echo the character <b>A</b>repeatedly on the console channel as it awaits commands from the flashloader program, <b>flashldr</b>, on the host machine. Without a jumperinstalled, the NS486SXF boots from the contents of flash memory.<p>The <b>flashldr</b> utility is a DOS program. It should be installed on aPC-compatible host machine from the software package shipped withthe NS486SFX board.<p>The following DOS script is recommended for burning flash memory using <b>flashldr</b>: <pre> @echo off echo Ready to program flash on NS486SXF. echo Ensure that you have installed W6, echo hit reset, and connected the appropriate cable. pause if exist bootrom.bin del bootrom.bin copy vxworks_rom_low.bin bootrom.bin flashldr tornado.flc</pre>This command file copies the VxWorks image to a file <b>bootrom.bin</b> whichcan be read by the flash programmer. It then starts the flash loaderwhich has its own command file, <b>tornado.flc</b>. (The <b>tornado.flc</b> filemust already have been created with the contents shown below.) Reading<b>tornado.flc</b> burns the flash.<p>The <b>tornado.flc</b> command file should have the following contents (this assumesthat com1 is attached to the flash download channel):<pre> init com1 baud=38400 delete! bootrom program bootrom.bin group=wrs ver=5.3 addr=fffc0000 vector=0:fffc0000 setboot shutdown exit</pre>With the proper VxWorks image copied to <b>bootrom.bin</b>, invokingthe script above performs the complete flash burning operation.Of course, the proper serial connections must exist between target and host.<p></blockquote><h4>CONFIGURING FOR TORNADO</h4><blockquote><p>For a Tornado configuration of 1MB of memory, no Ethernet card, therecommended target is <b>vxWorks_rom_low.bin</b>. If an Ethernet card isconfigured, then the recommended targets are <b>bootrom_res_middle.bin</b> and <b>vxWorks_low</b>. Define <b>INCLUDE_NETWORK</b> and <b>INCLUDE_NET_INIT</b> in <b>config.h</b>,then make <b>bootrom_res_middle.bin</b> and <b>vxWorks_low</b>.<p></blockquote><h4>BOARD LAYOUT</h4><blockquote><p>The diagram below shows jumpers relevant to VxWorks configuration:<font size=-1><pre>__________________________________________________________| || W3 W5 || X " || . || W4 W6 W2 || - . - - || ____________ || | | W1 || | | - || | NS486SXF | - || | | - || |__________| " || - || - || || || || || ||_________________________________________________________|</pre></font> Key: <br> X vertical jumper installed<br> : vertical jumper absent<br> - horizontal jumper installed<br> " horizontal jumper absent<br> 0 switch off<br> 1 switch on<br> U three pin vertical jumper, upper jumper installed<br> D three pin vertical jumper, lower jumper installed<br> L three pin horizontal jumper, left jumper installed<br> R three pin horizontal jumper, right jumper installed<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ns486.html#top">ns486</a></b>, <i>Tornado User's Guide: Getting Started, </i><i>VxWorks Programmer's Guide: Configuration, </i><i>NS486SXF Evaluation Board Design Documentation, </i><i>NS486SXF Optimized 32-Bit 486-Class Controller with On-Chip Peripherals for Embedded Systems </i></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -