** ** ** VNT Velocity Family Gigabit Ethernet Adapter ** ** Ethernet Downloader/Debugger package for Windows CE 5.0 ** ** v1.01 Jun, 2004 ** ** Introduction: ============= This document shows you how to enables VNT Velocity Family Gigabit Ethernet Adapter to be adopted as a download/debug card for WINCE platform builder 5.0. Contents of the Subdirectory: ============================= \DEBUG\GETDBG.LIB getdbg library debug version \DEBUG\GETDBG.PDB getdbg library debug pdb file \RETAIL\GETDBG.LIB getdbg library retail version \RETAIL\GETDBG.PDB getdbg library retail pdb file SOURCES sample SOURCES File OAL_ETHDRV.H sample OAL Header File KITLDRV.C sample KITL Source Code MAKEFILE sample MAKEFILE File HALETHER.H sample HAL Header File EBOOT.BIN ethernet boot loader file LOADCEPC.EXE Windows CE boot loader GETDBG.TXT this file Installation: ============= Assume your target platform is equipped with VNT Velocity Family Gigabit Ethernet Adapter, the platform is "CEPC:X86". Installation and test instructions are described below. 1. Copy binary library files (1) Retail build: Copy the following files to directory \WINCE500\public\common\oak\LIB\X86\RETAIL \Retail\getdbg.lib \Retail\getdbg.pdb (2) Debug build: Copy the following files to directory \WINCE500\public\common\oak\LIB\X86\DEBUG \Debug\getdbg.lib \Debug\getdbg.pdb 2. Modify oal_ethdrv.h Locate the "oal_ethdrv.h" file in directory \WINCE5000\PLATFORM\COMMON\SRC\INC and add the following lines below into "#ifndef _HALETHER_H_" section: //------------------------------------------------------------------------------ // Prototypes for VNT GET BOOL GETInitDMABuffer(UINT32 address, UINT32 size); BOOL GETInit(UINT8 *pAddress, UINT32 offset, UINT16 mac[3]); UINT16 GETSendFrame(UINT8 *pData, UINT32 length); UINT16 GETGetFrame(UINT8 *pData, UINT16 *pLength); VOID GETEnableInts(); VOID GETDisableInts(); VOID GETCurrentPacketFilter(UINT32 filter); BOOL GETMulticastList(UINT8 *pAddresses, UINT32 count); #define OAL_ETHDRV_GET { \ GETInit, GETInitDMABuffer, NULL, GETSendFrame, GETGetFrame, \ GETEnableInts, GETDisableInts, \ NULL, NULL, GETCurrentPacketFilter, GETMulticastList \ } Also add the following lines below into "#else // _HALETHER_H" section: #define OAL_ETHDRV_GET { \ (OAL_KITLETH_INIT)GETInit, \ (OAL_KITLETH_INIT_DMABUFFER)GETInitDMABuffer, \ NULL, \ (OAL_KITLETH_SEND_FRAME)GETSendFrame, \ GETGetFrame, \ GETEnableInts, \ GETDisableInts, \ NULL, \ NULL, \ (OAL_KITLETH_CURRENT_PACKET_FILTER)GETCurrentPacketFilter, \ (OAL_KITLETH_MULTICAST_LIST)GETMulticastList \ } Sample "oal_ethdrv.h" file is included for your reference. 3. Modify kitldrv.c Locate the "kitldrv.c" file in directory \WINCE5000\PLATFORM\COMMON\SRC\X86\COMMON\KITL and add the following line: static OAL_KITL_ETH_DRIVER DrvGET = OAL_ETHDRV_GET; // VNT GET Also add the following lines below into "g_NicSupported" structure: {0x1106, 0x3119, 0xABCDEF, EDBG_ADAPTER_GET, "VN", &DrvGET }, /* VNT */\ Sample "kitldrv.c" file is included for your reference. 4. Modify halether.h Locate the halether.h file in directory \WINCE500\public\common\oak\INC and add the following lines: #define EDBG_ADAPTER_GET 66 // Prototypes for GETDBG.LIB functions BOOL GETInitDMABuffer(DWORD dwStartAddress, DWORD dwSize); BOOL GETInit( BYTE *pbBaseAddress, DWORD dwMultiplier, USHORT MacAddr[3]); void GETEnableInts(void); void GETDisableInts(void); DWORD GETGetPendingInts(void); UINT16 GETGetFrame( BYTE *pbData, UINT16 *pwLength ); UINT16 GETSendFrame( BYTE *pbData, DWORD dwLength ); BOOL GETReadEEPROM( UINT16 EEPROMAddress, UINT16 *pwVal); BOOL GETWriteEEPROM( UINT16 EEPROMAddress, UINT16 Data ); DWORD GETSetOptions(DWORD dwOptions); void GETCurrentPacketFilter(DWORD dwFilter); BOOL GETMulticastList(PUCHAR pucMulticastAddresses, DWORD dwNoOfAddresses); Also add the following lines into the SUPPORTED_COMMON_NIC #define section: {0x1106, 0x3119, 0xABCDEF, EDBG_ADAPTER_GET, "VN" }, /* VNT */\ Sample "halether.h" file is included for your reference. 5. Modify KERNEL SOURCES Locate the "Sources" file respectively in directories \WINCE500\PLATFORM\CEPC\SRC\KERNEL\KERNKITL \WINCE500\PLATFORM\CEPC\SRC\KERNEL\KERNKITLPROF and add one extra line below for the TARGETLIBS environment variable: $(_COMMONOAKROOT)\lib\$(_CPUDEPPATH)\getdbg.lib \ Sample "sources" file is included for your reference. 6. Modify MAKEFILE file Locate the MAKEFILE file in directory \WINCE500\public\common\CESYSGEN and add "getdbg" for the tools and httpftp segments. Sample "MAKEFILE" file is included for your reference. 7. Build CEPC platform Choose "Sysgen" from the "Build OS" menu to make a new OS image. 8. Basic testing A file named EBOOT.BIN is included in this package. Copy this file to your boot disk. If you need to specify IRQ or IOPORT for ethernet debug card, a setup utility is included in this package. Run this setup utility on your target platform to check the IRQ and IOPORT assignments of the card. Then run loadcepc.exe to download the OS image. Usage, loadcepc /e:<IOPORT in HEX>:<IRQ in hex>:[<dotted IP address, optional>] eboot.bin Where <IOPORT> and <IRQ> could be found by the setup utility. Typical examples, In case of static IP assignment, loadcepc /e:E000:B:192.168.1.123 eboot.bin In case of IP assignment through DHCP, loadcepc /e:E000:B eboot.bin 9. IDE platform builder ethernet download/debug settings In order to configure a connection for downloading and debugging, choose "Connectivity Options" from the Target menu to select the device name to be used for image downloading and debugging.Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.