Home
KS886x 16Bit BSP User`s Manual
Contents
1. 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual Write bank 2 register 0 with data value 0x12345678 in DWORD format hwpoll BankNum RegNum BitMask BitPat TimeOut Poll register bit if it match bit pattern gt hwpoll 11 2 0001 0000 10 Polling bank 17 register 2 bit 1 if it match 0b pattern in 10 ms gt hwpoll 11 2 0001 0001 10 gt ERROR Time out If 10 ms passed and match bit pattern no found ERROR message display The following CLI commands to prepare an Ethernet packet and transmit from CLI command to KS8861 2 device There are total six data buffer for the user to store the Ethernet packet One data buffer can only store one Ethernet packet and must be a completed Ethernet packet hwbufwrite BufNum BufOffset WData Write data to debug buffer gt hwbufwrite 0 0 ff ff ff ff ff ff 08 00 70 22 44 55 Write a destination MAC address broadcast source MAC address 08 00 70 22 44 55 to the data buffer 0 data buffer offset 0 hwbuffill BufNum BufOffset FData BufInc Len Fill data to debug buffer gt hwbuffill 0 Oc 01 02 3c Fill data buffer 0 start from data buffer offset 0x0c with data 0x01 and increasing by 0x02 totally filling data length is 0x3c 60 bytes hwbufread BufNum BufOffset Len Display contents of debug buffer gt hwbufread 0 0 3c gt 00000000 ff ff ff ff ff ff 08 00 00000010 09 Ob Od Of 11 13 15 17 00000020 29 2b 2d 2f 31 33 35
2. 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual Look in amp mec lt e eE M16C62P_Release File name Hew3 Files of type HEW Workspaces hws Cancel Figure 6 1 2 HEW Workspace Browse Window 4 HEW workspace should look like the figure 6 1 3 below OpenTCP_M16C62P High performance Embedded Workshop ethernet_ks884x File Edit View Project Options Build Memory Tools Window Help l x psug s gt et Ta IA 8 R ws 2 aaa R 6 je RZ M16C62P_Release z DefautSesson zi A a E A El 01 PP 1 C Copyright c 2000 2002 Viola Systems Ltd 2 19 OpenTCP_M16C62P All rights reserved J Assembly source file E _nertO_62pskp a30 Redistribution and use in source and binary forms with or without E m labels 62 modification are permitted provided that the following conditions a 62p a30 are met EQ C header file cliTable h 1 Redistributions of source code must retain the above copyright hardware h notice this list of conditions and the following disclaimer S mee 2 Redistributions in binary form must reproduce the above copyright aa eel notice this list of conditions and the following disclaimer in the LE cliParser c documentation and or other materials provided with the distribution ethemet_ks884x c k A n 3 The end user doc
3. Defines D Define a identifier Configuration M16C62P_Release EMG All Loaded Projects Eee C source file Assembly source file Pemove M16C_62P 1 KS ISA BUS 1 Remove KS ISA 1 DEP KS8842 1 Options C I PROJDIAN A include 1 PROJDIR 4 Awebfiles A PROJDIR S 4ks884x PROJDIA S uart PROJDIR DM16C_62P 1 DKS_ISA_BUS 1 Figure 6 3 1 Renesas M16C Standard Toolchain window to build KS8862 BSP 6 4 Build KS8861 BSP To rebuild the KS8861 BSP from HEW click on the Options gt Renesas M16C Standard Toolchain From C gt Defines add DEF_KS8841 1 then Build All Figure 6 4 1 Now an executable file OpenTCP_M16C62P mot has been created in the MTOOL ks886x OpenTCP_104 arch M16C M16C62P_Release directory gt NOTE Rename OpenTCP_M16C62P mot to OpenTCP_M16C62P_ks8841 mot Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 28 2006 Micrel Semiconductor BIC del KS886x 16Bit BSP User s Manual Configuration M16C62P Release EMG All Loaded Projects S OpenTCP_M16C62P C source file Assembly source file Category Sone 2 Show entries for Defines lt D Define a identifier M1BC_62P 1 KS ISA BUS Remove KS ISA DEP KS8841 a a Options C I PROJDIAN
4. sss esse eee eee es 27 6 3 Build KS8862 BSP pian a a a ea 27 6 4 Build KS8861 BSP Sena ee 28 7 Downloading re loading the Firmware Program 30 7 1 Running FoUSB Programmer sss sss esse sees e esc e eee esaea ees 30 7 2 Downloading KS8861 2 BSP sccscssssesceccscesescccescscscccesceceecs 31 Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page2 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual 1 Overview microprocessor with The KS8861 2 BSP is developed under Renesas M16C 62P Renesas HEW High performance Embedded Workshop IDE The KS8861 2 BSP contains the KS8861 2 driver and OpenTCP protocol stack with no OS Operating System involved Initially it is developed for KSZ8841 2 which are almost identical to KS8861 2 except that port one supports 100 Based TX instead of fiber interface Any reference to KS8841 2 is applicable to KS8861 2 except noted This manual is divided into two parts The first part describes how to run KS8861 2 BSP with OpenTCP 1 0 4 on Micrel KS8861 and KS8862 demo board The second part describes how to install and build KS8861 2 BSP by using the Renesas SKP16C62P StarterKit Plus SKP NOTE KS8861 2 BSP works for Micrel KS8841 KS8842 KS8861 and KS8862 demo board Please reference the M16C62_Hardware_Manual from SKP CD f
5. MICHEL KS886x 16Bit BSP User s Manual Program Flash x Choose an Operation Erase gt Program gt Verify C Program Only Erasing Option C Erase ALLY Blocks GC Erase Only Needed Blocks Help Program Close Figure 7 2 3 Menu options for programming flash Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 33 2006 Micrel Semiconductor
6. Enable Early transmit receive function gt hwearly 0 Disable Early transmit receive function hwrepeat Flag Enable Disable Repeat mode 1 Enable 0 Disable gt hwrepeat 1 Enable KS8862 Repead mode function gt hwrepeat 0 Disable KS8862 Repead mode function Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 13 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual 3 Running the OpenTCP Demo 3 1 Setting the Target IP In order to use the demo you must first assign an IP address to the target The KS8861 2 demo board is assigned a fix IP address 192 168 1 1 and if you connect one of Ethernet port from KS8861 2 target to your laptop You should use an IP number on the same sub net as you laptop For example set the IP address of your laptop is 192 168 1 10 Figure 3 2 1 E Note If you want to use a IP address other than this you need to edit the gui_demo c file and rebuild your project 3 2 Connecting a Cable for the Ethernet Connection Connecting an Ethernet cable between your laptop and one of the ports on the KS8862 demo board Or Connecting an Ethernet cable between your laptop and port 1 on the KS8861 demo board KS8861 2 Demo Board RS232 Cable 192 168 1510 Ethernet Cable 192 168 1 1 Figure 3 2 1 Example of connection between KS8861 2 Demo Board an
7. gt ete 1 1 Start dumpping packet Stop dummping packet ate ff gt Delay ms between continous transmit packets lt maci mac2 yvlan mib gt Table identifier lt maci static MAC mac2 dynamic MAC 2 4 6061 6061 5 PEE N Na Na SA clita dita alien dite dita die dite dite die dite din die dl RegDataH RegDataL DumpF lag a a a a a a a a a a a a a a a a a a a a a I OOOOOOOOOOOOOFOOOOHOON A Display help message BankNum RegNum Width Read ks884X register BankNum RegNum RegData Width Modify ks884X register BankNum RegNum BitMask BitPat TimeOut Poll register bit if it match bit pattern Buf Num Buf Offset Len Display contents of debug buffer Buf Num Buf Offset WData 1 Write data to debug buffer Buf Num Buf Offset FData BufInc Len Fill data to debug buffer Port BufNum Len Repeat SameBuf Delay Tx packet from debug buffer to ks884X Buf Num TimeOut Rx packet from ks884X and store in debug but terc st art at But Nun Table Index Count Read ks884X table data register Table Index RegDataH RegDataL Write ks884X table data register Table Index Count Show ks884X table Port Clear software MIB counter database clear all if Port 4 gt DumpFlag Start Stop dumpping transmit packet data DumpFlag Enable Disable Repeat mode lt i Enable Disable Flag Start Stop dumpping receive packet data TimeOut Reset the device FData Set Early Receive Threshold Cin unit of 64 byte gt FData Set Early Transmit Threshol
8. 37 00000030 49 4b 4d 4f 51 53 55 57 70 22 44 55 01 03 05 07 19 1b 1d 1f 21 23 25 27 39 3b 3d 3f 41 43 45 47 59 5b 5d 5f Display the contents of data buffer 0 offset 0 data length 0x3c 60 bytes hwbuftx Port BufNum Len Repeat SameBuf Delay Tx packet from debug buffer to KS8861 2 gt hwbuftx 10 3c 2 1 0 Transmit packet to Port 1 of KS8862 from data buffer 0 with packet length 60 bytes transmit 2 times using the same buffer no delay between transmit packets gt hwbuftx 2 0 5ea 10 1 0 Transmit packet to Port 2 of KS8862 from data buffer 0 with packet length 1514 bytes transmit 16 times using the same buffer no delay between transmit packets Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page7 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual gt hwbuftx 3 0 Bea 3e8 1 1 Transmit packet to Port 1 and Port 2 of KS8862 from data buffer 0 with packet length 1514 bytes transmit 1000 times using the same buffer delay Ims between transmit packets gt hwbuftx 0 0 3c 600 Transmit packet to KS8862 by lookup mode or KS8861 from data buffer 0 with packet length 60 bytes transmit 6 times continuous next buffer for next transmit no delay between transmit packets hwdumptx DumpFlag Start Stop dumpping transmit packet data gt hwdumptx 1 Start dumping transmits packets to the screen when every
9. From the directory that you installed the KS8861 2 BSP packet on your host laptop double click M16C Software Demo Program TCP GUI Demo tcp_gui exe An interactive TCP GUI Window will come up Change the IP address in the upper left hand corner of the window by clicking on the IP address button Figure 3 4 1 gt NOTE You should change the IP address to the one that you assigned to your board Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 USAe 408 944 0800 e http www micrel com Page15 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual fe TCP UDP Demo EJ IC 20 2 i UDP Receive Routine When ever the value of IP Address of Board the on board pat is 1g216811 Estabish connection ee is sent via a UDP Connected aE ee ae datagram on port 5004 TCP Send Routine Enter text to be Micrel Start Streaming Eq displayed on the LCD port 5001 ks 8842 Stop Streaming Current Value 80 E r TCP Receive Routine UDP Send When a button is pressed on the remote board the T E board uses the opened TCP connection to transfer Sliding this bar will cause this app button information back port 5001 to send UDP packets to the board over port 5004 a pu Get Device Stats Figure 3 4 1 Interactive TCP Windows GUI Program Now click the Establish connection button in order to open a TCP
10. KS8861 2 Chip ID KS8861 2 Device Revision KS8862 or KS8861 base address that is mapped to the CPU memory space MAC address of KS8861 or KS8862 station IP address of KS8861 or KS8862 target Port Link Status Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page4 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual 2 3 CLI Commands Descriptions From CLI command prompt type hwhelp will display all the CLI commands that the BSP provides Figure 2 3 1 D hwhelp Fie Edit Setup Control Window Help 3f gt Bank number Register number Register data to write Register data width to read write 1 in BYTE 2 in WORD 4 in LONG Mask defining bit pattern field Bit pattern to check for Debug buffer number Debug buffer offset Debug buffer length Buffer data to write Ce g FF GB Hi GAD Buffer data to fill Buffer data to fill by increasing count Repeat times Port number lt by lookup 1 direct to porti 2 direct to port2 3 direct to porti and 2 gt 1 use same buffer to Tx B continuous next buffer to Tx Time in ms to wait before giving up Table index SS n Number of table entry items max Count maci 8 mac2 1024 vlan 6 mib 162 gt BS 1 4 1 6 Table Update Write Data Register High bit 63 bit 32 ffffffff Table Update Write Data Register Low bit 31 bit
11. Port number 0 by lookup l1 direct to port 1 2 direct to port 2 3 direct to port 1 and 2 SameBuf 0O 1 1 use same buffer to Tx 0 continuous next buffer to Tx TimeOut 0O n Time in ms to wait before giving up Index 0O n Table index Count 0O n Number of table entry items max Count macl 8 mac2 1024 vlan 6 mib 102 RegDataH 0 ffffffff Table Update Write Data Register High bit_63 bit_32 RegDataL 0 ffffffff Table Update Write Data Register Low bit_31 bit_O DumpF lag O 1 1 Start dumpping packet 0 Stop dummping packet Delay 0O ff Delay ms between continous transmit packets Table macl mac2 vlan mib Table identifier macl static MAC mac2 dynamic MAC The bottom of portions are CLI command syntax describe as following S Note All the inpu or output data is in hex format The following CLI commands are used to access the device registers hwread BankNum RegNum Width Read KS8861 2 register gt hwread 20 0 2 gt bank32 reg 00 8880 Read bank 32 register 0 with data width is WORD format hwwrite BankNum RegNum RegData Width Modify KS8861 2 register gt hwwrite 2 0 12345678 4 gt hwread 2 0 4 gt bank02 reg 00 12345678 7 BYTE is 8 bit WORD is 16 bit and DWORD is 32 bit data width Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page
12. Traffic Test The TX RX traffic test uses Ethernet packets to check the integrity of transmit and receive datapaths This test requires the KS8861 2 PHY to have a physical link established with a PHY on the PC that is connected to the KS8861 2 via RS232 Serial interface as shown in Figure 4 3 KS8861 or KS8862 Demo Board m RS232 Cable 192 168 1 1 Figure 4 3 TX RX Traffic Test Setup The PC should be connected to only two PHYs One is the KS8861 2 via RS232 serial interface and the other could be either a PHY on the motherboard or a network interface card NIC The PHYs should be configured with different static IP addresses under the same subnet S section 4 3 on how to configure network settings for Windows XP The Cable Status field at the top of this menu page displays the cable link status of the KS8861 2 Before starting the TX RX traffic test press the Refresh button to check the latest cable status If there is a link the status will display either Crossed for a crossover connection or Good for a straight connection If there is no link the status will display Unknown For the test setup in Figure 4 3 the TX RX counters and Send button at the bottom left of this menu page are associated with the KS8861 2 PHY Similarly the TX RX counters and Send button at the bottom right of this menu page are associated with the other PHY The drop down menu between the TX RX counters selects the number of Ether
13. X Mnchude 1 PROJDIRN Awebfiles JRIPHU JDIR AksB84x I PROJDIR uart PROJDIR DM16C_62P 1 DKS_ISA_BUS 1 Figure 6 4 1 Renesas M16C Standard Toolchain window to build KS8861 BSP Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 29 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual 7 Downloading re loading the Firmware Program Updating the KS8861 2 BSP is currently possible done by FoUSB Flash Over USB FoUSB along with the ICD RTA FoUSB MON to download reprogramming the M16C 62P flash MCU with firmware Before downloading the demo program First Renesas FoUSB has been installed in your host system Microsoft Windows Seconds connect the RTA FoUSB MON ICD to your host system and to your KS8861 2 demo board Figure 7 1 Host PC running FoUSB Programmer RTA FoUSB MON nmn vaa RENESAS Pewee Moce us a sor stares 10 Pin Laad LL D Connection USB ks8861 2 Demo board Figure 7 1 M16C 62P System Connectivity for FoUSB programmer BE IMPORTANT When using RTA FoUSB MON connect to the KS8861 2 demo board switch the power source switch on the RTA FoUSB MON to TARGET Powered Mode since the power supply on the KS8861 2 demo board will provide power to the KS8861 2 demo board as well as the RTA FoUSB MON If the switch is left at USB Powered Mode som
14. 0 00 00 00 00 00 00 00 00 00 00 00 00 The first line of message is Receive Status from register RXSR and RXBC gt hwdumprx 0 Stop dumping received packets to the screen The following CLI commands are used to access the device indirect access registers for the VLAN table static MAC table dynamic MAC table and MIB counters hwtableread Table Index Count Read ks886x table data register gt hwtableread vlan 0 6 gt DataH DataM DataL 0000 0000 00000000 000f0001 0001 0000 00000000 000f0001 0002 0000 00000000 000f0001 0003 0000 00000000 000f0001 0004 0000 00000000 000f0001 0005 0000 00000000 000f0001 Read VLAN tables from entry 0 for total 6 entries gt hwtableread macl 0 2 gt DataH DataM DataL 0000 0000 00000000 00000000 0001 0000 00000000 00000000 Read static MAC tables from entry 0 for total 2 entries gt hwtableread mac2 2 4 gt DataH DataM DataL 0002 0000 0199d33d bblee313 0003 0000 014ef0d7 fa7feddc 0004 0000 01823988 e0157890 0005 0000 0102cc09 29e95603 Read dynamic MAC tables from entry 2 for total 4 entries gt hwtableread mib 20 4 gt DataH DataM DataL 0020 0000 0102cc09 40007229 0021 0000 0102cc09 40000000 0022 0000 0102cc09 40000000 0023 0000 0102cc09 40000000 Read MIB counters from entry 32 for total 4 entries D Note DataH column shows data from bit_79 to bit_64 DataM column shows data from bit_63 to bit_32 DataL column shows data from bit 31 to bit 0 Proprietary In
15. 29 00000278 TxByte TxHiPriorityByte 00000000 00000000 00000000 00000004 TxTotalPkts TxPausePkts 00000000 00000000 00000000 TxBroadcastPkts 00000000 00000000 00000000 00000000 TxLateCollision TxMulticastPkts 00000000 00000000 00000000 00000000 TxMaximumCollision TxUnicastPkts 00000000 00000004 00000004 00000000 TxUnderrun TxLateCollision 00000000 00000000 00000000 00000000 TxTotalError TxDeferred 00000000 00000000 00000000 00000000 TxAllocMemFail TxTotalCollision 00000000 00000000 00000000 00000000 TxStopInterrupt TxExcessiveCollision 00000000 00000000 00000000 00000000 TxOSDroppedPkts TxSingleCollision 00000000 00000000 00000000 00000000 TxUnderrunInterrupt TxMultiCollision 00000000 00000000 00000000 00000004 TxDoneInterrupt RxDroppedPackets 00000000 00000000 00000000 TxDroppedPackets 00000000 00000000 00000000 Display MIB counters for all the ports and driver statistic counters D Note From left to right columns the first four columns show MIB counters from device registers The fifth to seventh columns shows driver statistic counters hwclearmib Port Clear software MIB counter database clear all if Port 4 Clear all the MIB counters by per port or all the ports The following CLI commands are used to get set device PHY link status hwgetlink Port Get Link status gt hwgetlink 1 gt 00000000 000186a0 00000002 0000010Ff 0005010f 00000000 Display link status in hex by follo
16. Mitre KS886x 16Bit BSP User s Manual Micrel KS8861 2 16Bit Bus BSP User s Manual Version 1 0 06 28 2006 Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual Contents 1 OVERVIEW en ee A a Ge er 3 2 CLT COMMMANGS Ann nn A A AA nnes a a 4 2 1 Connecting a Serial Cable for the Terminal Emulator 4 2 2 Running the KS8861 2 BSP sss sees eena eean eee 4 2 3 CLI Commands Descriptions sss sss sss sse sse esse sees eee eee 5 3 Running the OpenTCP Demo sss sss sss sss sss sss sese s esse 15 3 1 Setting the Target IP sss sees esse eean 15 3 2 Connecting a Cable for Ethernet Connection ccccscscescscesceceees 15 3 3 PING to KS8861 2 Demo Target cesse eee eaae 15 3 4 Running Windows TCP GUI Demo Program sss sss sss ss sss ss sese sees ens 16 4 LinkMD GUI Demo Program cccccccscccsccccscccsccccsccessccssscssecs 18 4 1 Capabilities Tab pns de a A A a 18 4 2 Diagnostics Tab T 20 4 3 TX RX Traffic Test nn AA a ea 21 5 KS8861 2 BSP Installation esse sese eenn ennenen aaa 24 5 1 Creating a KS886x BSP Directory sss ss sse ese eee esaeas 24 6 Building KS8861 2 BSP from HEW sss sss sees sss sees seene enen 25 6 1 Starting HEW KS886x Project ss sees ss esse essen neee eee 25 6 2 Build KS8861 2 BSP from HEW
17. S full duplex 100MBPS half duplex Pause frame enable Auto MDIX Force MDIX Auto Polarity 1OMBPS full 1OMBPS half dup duplex 1OOMBPS ful 1OOMBPS hal 1 dupl f dupl Pause frame hwsetlink Port Data gt hwsetlink 1 00000004 gt Set Port 1 with Data 00000004 ex ex lities status information ex LinkPartnerCapable Set Link speed to negotiation advertisement link speed duplex and pause The PHY port s au frame are set according to Data value 0x00000001 10MBPS full duplex 0x00000002 10MBPS half duplex 0x00000004 1OOMBPS full duplex 0x00000008 100MBPS half duplex 0x00000100 Pause frame 0x00010000 Auto MDIX Micrel 0x00020000 Force MDIX Proprietary Information 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 12 2006 Micrel Semiconductor Rev 1 0 MICHEL KS886x 16Bit BSP User s Manual The following CLI commands are used to enable disable Early Transmit Receive function on KS8861 only hwrxthres FData Set Early Receive Threshold in unit of 64 byte gt hwrxthres 1 Set Early receive threshold to 64 bytes hwtxthres FData Set Early Transmit Threshold in unit of 64 byte Set Early transmit threshold to 64 bytes hwearly Flag Enable Disable Early Transmit Receive 1 Enable 0 Disable gt hwearly 1
18. and UDP connection to your target board If a successful connection is made the LCD on the target board will read Conn Est meaning connection established The demo has been set up so that the OpenTCP stack will close a socket if it remains inactive for more than 2 minutes To write to the LCD simply type in the edit boxes one for each line on the LCD and click the Send button This sends the LCD text using the TCP socket it opened when the connection was established When a button is pressed on the target board that info is also sent via the TCP connection to the windows program and the corresponding picture of the button on the GUI will change To send receive UDP packets click the Start Streaming button This will send a TCP packet to the target board telling it to start sending the current A2D value of the pot via a UDP packet every time it changes Also when the slider bar on the GUI is moved the new value is send to the target board via UDP packets and the value is displayed on the LCD Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 16 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual 4 LinkMD GUI Demo Program The Micrel LinkMD software is a Windows Graphical User Interface GUI program that simplifies and expedites the evaluation and testing of the KS8861 2 Three separate Window tabs provide menu selections to
19. check the PHY s link status and capabilities perform cable diagnostics and integrity check on transmit and receive datapaths To launch the LinkMD program navigate to the directory with the Micrel LinkMD software M16C Software Demo Program LinkMD GUI Demo and double click on the LinkMD exe file The LinkMD program will start and display the Capabilities menu page The other two menu pages are Diagnostics and PHY Common to all three pages are the Exit button to close the LinkMD program and the Help button to display the current version of LinkMD software 4 1 Capabilities Tab The Capabilities Tab shown in Figure 4 1 provides the following basic link status and settings for the KS8861 2 e Link Status section shows the current link speed duplex MDI MDIX and polarity settings of the KS8861 2 If there is no link these four fields are dimmed to indicate no status e Advertised Capabilities and Link Partner Capabilities sections show the speed duplex and full duplex flow control capabilities of the KS8861 2 and its link partner KS8861 2 capabilities are programmable Its link partner capabilities are read only and dimmed to indicate no capabilities when there is no link e Crossover option allows the PHY to be set in HP Auto MDIX for automatic detection and correction for straight through and crossover cabling or forced to either MDI or MDIX mode To read the latest PHY status press the Refresh button To con
20. d Cin unit of 64 byte gt Flag Enable Disable Early Transmit Receive 1 Enable Disable Port Ethernet cable diagnostics Port Get Link status Port Set Link speed Get device MAC address Get device IP address Get driver port 1 total transmit packets counters Get driver port 2 total transmit packets counters Get driver port 1 total received packets counters Get driver port 2 total received packets counters Repeat MAC IP Tx ARP request packet to ks884x Figure 2 3 1 hwhelp display Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Pages 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual The top of portions are CLI command input output data format BankNum 0 3f Bank number RegNum 0 Register number RegData 0 ffff Register data to write Width 1 2 0 1 Register data width to read write l in BYTE 2 in WORD 4 in LONG BitMask 0 0001 Mask defining bit pattern field BitPat 0 0001 Bit pattern to check for BufNum 0 5 l Debug buffer number BufOffset 0 TEE Debug buffer offset Len 1 800 Debug buffer length WData 0 ff Buffer data to write e g FF 00 01 OA FData 0 ff Buffer data to fill BufiInc 0 ff Buffer data to fill by increasing count Repeat 0 n Repeat times Port 0 3
21. d Laptop 3 3 PING to KS8861 2 Demo Target You can use the PING command from your laptop Windows Command Prompt to test whether the KS8861 2 is accessible over the network Figure 3 3 1 Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 14 2006 Micrel Semiconductor mitre KS886x 16Bit BSP User s Manual Command Prompt ping 192 168 1 1 t Microsoft Windows 2066 Version 5 66 2195 lt C gt Copyright 1985 2666 Microsoft Corp P gt ping 192 168 1 1 t Pinging 192 168 1 1 with 32 bytes of data from 192 168 1 1 bytes 32 time lt iGms TTL 166 from 192 168 1 1 bytes 32 time lt iG ms TTL 166 from 192 168 1 1 bytes 32 time lt i ms TTL 160 from 192 168 1 1 bytes 32 time lt i ms TTL 166 from 192 168 1 1 bytes 32 time lt i ms TTL 166 from 192 168 1 1 bytes 32 time lt i ms TTL 166 from 192 168 1 1 bytes 32 time lt iGms TTL 166 from 192 168 1 1 bytes 32 time lt iG ms TTL 106 from 192 168 1 1 bytes 32 time lt iGms TTL 100 from 192 168 1 1 bytes 32 time lt i ms TTL 106 from 192 168 1 1 bytes 32 time lt i ms TTL 166 from 192 168 1 1 bytes 32 time lt i ms TTL 166 Figure 3 3 1 Issue PING from the laptop Command Prompt 3 4 Running Windows TCP GUI Demo Program The KS8861 2 BSP packet also provides a Windows GUI program tcp_gui exe that can run on your laptop to test whether the KS8861 2 is accessible in the real TCP IP application protocol
22. driver and polling UART receive ks886x OpenTCP_104 arch M16C set30_62pskp inc Modify Change the ISP in vector table to ks884xIntr ISP ks886x OpenTCP_104 ks884x Add This directory contains the KS8861 2 driver ks886x OpenTCP_104 arch uart Add This directory contains UART driver and CLI parser T Please contact Renesas support on how to get SKP CD via the website www renesas com Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 24 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual 6 Building KS8861 2 BSP from HEW This section describes how to build KS8861 2 BSP for KS8861 2 demo board from Renesas HEW project facility 6 1 Starting HEW KS886x Project To start HEW from your development Windows PC click on the Start gt Programs gt Renesas High performance Embedded Workshop gt High performance Embedded Workshop After HEW opens from the Welcome dialog box Figure 6 1 1 select Browse to another project workspace option and then click OK 3 High performance Embedded Workshop Welcome Figure 6 1 1 HEW Main Window Then click on Browse selection of Hew3 under MTOOL ks886x OpenTCP_104 arch M16C directory from the Workspace Browse window Figure 6 1 2 Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 25
23. e MCU pins may be driven to undesirable levels 7 1 Running FoUSB Programmer Apply the 5V power supply to External Power Input on the KS8861 2 demo board Click on Start gt Programs gt Renesas Tools gt Flashover USB Ver 2 01 gt FoUSB Programmer and a screen similar to Figure 7 1 1 will be displayed T Please reference the RTA F oUSB MON_Users_Manual for how to install FoUSB ICD Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 s http www micrel com Page 30 2006 Micrel Semiconductor MICREL OPEN READ ERASE UNLOCK Unlocke KS886x 16Bit BSP User s Manual FLASH OVER USB d FILE PROGRAM ee SETTINGS HELP EXIT s o T ee L L R TT Everywhere you imegine Figure 7 1 1 Example of FOUSB Programmer Screen with KS8861 2 demo board Connected 7 2 Downloading KS8861 2 BSP To download the KS8861 2 BSP perform following steps 1 Click on OPEN on FoUSB main GUI Windows file selection menu appears as shown in Figure 7 2 1 2 Find the demo file e g OpenTCP_M16C62P_ks8842_v0 1 11 mot for KS8862 and OpenTCP_M16C62P_ks8841_v0 1 11 mot for KS8861 for loading into MCU flash The selected target file appears on FoUSB main GUI beside FILE as shown in Figure 7 2 2 3 Click on PROGRAM appears as shown 4 Click on Program program into MCU on FoUSB main GUI The Program Flash dialog box in Figure 7 2 3 of th
24. e Program Flash GUI The loading of target flash will start at this point and the progress of flash programming will be shown dynamically by a moving bar located at the lower part of this dialog box After a successful programming of the flash a Program Completed Successfully dialog box will appear 5 Click on OK button and the dialog box disappear 6 Click on EXIT button on the lower right corner of the main GUI to exit FoUSB Programmer Proprietary Information 2180 Fortune Drive Rev 1 0 San Jose CA95131 US As 408 944 0800 lt http www micrel com Page 31 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual D Note Select Erase gt Program gt Verify option the default option from Choose an Operation Select Erase Only Needed Blocks option from Erasing Options la a a M16C62P_Release e SIP Fae a OpenTCP M16C62P mot lan OpenTCP_M16C62P_ks8841_8bit_vO 1 11 mot OpenTCP_M16C62P_ks6841_ v0 1 11 mot Filename OpenTCP_M16CB2P_ks8841_v0 1 11 Files of type Intel Hex or Motorola S Record lt Cancel 7 Figure 7 2 1 Dialog box for file selection FLASH OVER USB EE a AA OPEN READ ERASE J UNLOCK PROGRAM SETTINGS HELP EXIT A e e H T Figure 7 2 2 FoUSB main GUI after file selection Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 USAe 408 944 0800 e http www micrel com Page 32 2006 Micrel Semiconductor
25. enesas HEW Version 3 01 05 OpenTCP 1 04 for Renesas M16C 62P Before install KS8861 2 BSP The Renesas SKP16C62P StarterKit Plus SKP CDP for M16C 62P must be installed on the host system Microsoft Windows A Note The SKP kit comes with an integrated software development environment HEW IDE C compiler assembler and linker KD30 Debugger and FoUSB Flash over USB Programmer NOTE For more detail information about HEW see the SKP16C62P_Tutorial_1_HEW from Renesas The ks88xx 1 0 0 SW Driver zip ZIP file under directory M16C Software Driver contains Oo OpenTCP protocol stack and demo program o BSP functions including UART driver LCD driver etc o KS8861 or KS8862 Ethernet driver o Windows TCP GUI demo program o Windows LinkMD GUI demo program 5 1 Creating a KS886x BSP Directory Create a KS886x directory under installDir eg MTOOL ks886x and copy the ks884x zip to MTOOL ks886x Unzip ks884x zip under MTOOL ks886x directory It is successful if you see a new the directory MTOOL ks886x OpenTCP_104 The most of subdirectories and files are the same as you download from OpenTCP website the KS8861 2 BSP only add or modify following subdirectories and files Directory Status Description ks886x OpenTCP_104 ks884x ethernet_ks884x c Add OpenTCP Ethernet Driver for Micrel KS8861 2 device ks886x OpenTCP_104 gui_demo c Modify Change target IP to 192 168 1 1 Init UART
26. figure the PHY set the desired settings and press the Update button Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Pagel7 2006 Micrel Semiconductor BIC del KS886x 16Bit BSP User s Manual Figure 4 1 LinkMD Capabilities Tab ix CEEE Diagnostics PHY CME Link Status Speed 100 Mbps Duplex Full Duplex MDI MDIX MDIX Polarity Normal Advertised Capabilities pink Partner Capabilities T 1 Gbps Full duplex P 1 Gbps Full duplex T 1 Gbps Half duplex P 1 Gbps Half duplex K 100 Mbps Full duplex 7 100 Mbps Full duplex Retesh M 100 Mbps Half duplex 7 100 Mbps Half duplex S M 10 Mbps Full duplex C 10 Mbps Full duplex _ Update M 10 Mbps Half duplex 7 10 Mbps Half duplex T Asymmetric Pause P Asymmetric Pause M Symmetric Pause 7 Symmetric Pause Help Mickel Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 18 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual 4 2 Diagnostics Tab The Diagnostics Tab provides the menu page to check the cable status and the integrity of transmit and receive datapaths These two selections are provided by the cable diagnostic test and the TX RX traffic test respectively Cable Diagnostic Test The cable diagnostic test is enabled only when there is
27. formation Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page9 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual hwtablewrite Table Index RegDataH RegDataL Write ks886x table data register gt hwtablewrite vlan 1 00000000 000ba00a Write VLAN table with data value 0x00000000 to data bit 63 to data bit 32 0x000ba00a to data bit 31 to data bit 0 hwtableshow Table Index Count Show ks886x table gt hwtableshow vlan 0 6 Entry Status VID FID Port 1 2 3 0000 valid 0001 0000 M M M 0001 valid 0010 0010 MM 0002 valid 0001 0000 MMM 0003 valid 0001 0000 MMM 0004 valid 0001 0000 MMM 0005 valid 0001 0000 MMM Display VLAN table from entry 0 for total 6 entries gt hwtableshow macl 0 2 Entry Status MAC FID Port 1 2 3 UseFID Override 0000 invalid 00 00 00 00 00 00 0000 FALSE FALSE 0001 invalid 00 00 00 00 00 00 0000 FALSE FALSE Display static MAC table from entry 0 for total 4 entries gt hwtableshow mac2 0 4 Entry Status MAC FID Port 12 3 AgingTime 0000 learned 00 50 ba 15 56 29 0000 M 00 0001 learned 08 00 70 22 44 55 0000 M 00 0002 invalid d3 3d bb le e3 13 0009 M 02 0003 invalid f0 d7 fa 7f ed dc 0014 M 01 Display dynamic MAC table from entry 0 for total 4 entries Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 10 2006 Micrel Semicond
28. ing C MTOOL 1ib30 nc30lib lib _I8MODU r30 DATA 0028882 070D2H Byte s ROMDATA O016303 03FAFH Byte s CODE 0062938 OFSDAH Byte s Phase M16C Linker finished xl 2i Phase M16C Load Module Converter starting Load Module Converter lmc30 for REC Tiny M16C 60 Series Version 4 00 01 COPYRIGHT C 1995 2004 RENESAS TECHNOLOGY CORPORATION AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED 8 OPET an A Phase M16C Load Module Converter finished Build Finished 0 Errors 6 Warnings Build A Debug A Find in Files Version Control Ready E e Default1 desktop Read write 1 1675 1 ins NUM ESI EGI E Figure 6 2 1 HEW Workspace with Output window 6 3 Build KS8862 BSP To rebuild the KS8862 BSP from HEW click on the Options gt Renesas M16C Standard Toolchain From C gt Defines add DEF_KS8842 1 then Build All Figure 6 3 1 Now an executable file OpenTCP_M16C62P mot has been created in the MTOOL ks886x OpenTCP_104 arch M16C M16C62P_Release directory D NOTE Rename OpenTCP_M16C62P mot to OpenTCP_M16C62P_ks8842 mot Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 27 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual Renesas M16C Standard Toolchain 21 D LC Assembly Link Librarian Lme Cfg Me Catesoy Soue 2 Show entries for
29. net packets to send The selections are 1 10 100 1000 or Continuous The Send buttons start the transmission of packets with respect to either KS8861 2 PHY or other PHY The sample test results in 4 4 shows 100 packets sent by the KS8861 2 PHY and 100 packets received by other PHY Also all 100 packets sent by the other PHY are received the KS8861 2 PHY Note if Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 21 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual the PC is sending ARP packets or other Ethernet traffic is present the transmit count and receive count may differ Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 USAe 408 944 0800 e http www micrel com Page 22 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual Figure 4 4 LinkMD Diagnostics Traffic Test Tab ST ox Capabilities Diagnostics PHY com KS8842 1 Cable Status Crossed m 41 Pair 1 2 3 6 4 5 7 8 Status Good Good Unknown Unknown Refresh Test Mickel Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 23 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual 5 KS8861 2 BSP Installation This section describes how to install and build KS8861 2 BSP under R
30. no link to the KS8861 2 PHY This test provides the following cable information for the differential pairs connected to pins 1 2 and 3 6 of the RJ 45 jack e Status Indicates whether the differential pair is Open Short or Unknown no link and no cable test conducted If there is a physical link Status is Good e Length Provides approximate distance in meters to the open or short cable fault If there is a physical link Length has no meaning and displays an empty field To run the cable diagnostic test press the Test button Figure 4 2 shows the sample test results of the cable diagnostic test where a 4 meters short and 3 meters open were found on the differential pairs connected to pins 1 2 and 3 6 of the RJ 45 jack respectively Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 USAe 408 944 0800 e http www micrel com Page 19 2006 Micrel Semiconductor BIC del KS886x 16Bit BSP User s Manual Figure 4 2 LinKMD Diagnostics Cable Status Tab Ln 015 Capabilities Diagnostics PHY com1 K58842 1 lt Cable Status Open SS 41 3m Pair ie 3 6 4 5 7 6 Status Open Short Unknown Unknown Length 3m 4m Refresh Mickel Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 20 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual 4 3 TX RX
31. or detail information about M16C 62P microprocessor via the website www renesas com BSP is Board Support Package 7 OpenTCP is a license and royalty free TCP IP stack available to the public It was created by Viola Systems in Finland originally Please reference the OpenTCP_App_Note manual for detail information about OpenTCP protocol stack Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page3 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual 2 CLI Commands The KS8861 2 BSP provides a set of CLI commands to help user to debug KS8861 2 device through the RS 232 serial port from your host laptop 2 1 Connecting a Serial Cable for the Terminal Emulator Connect the serial port of the laptop and serial port of the KS8861 2 demo board via a RS 232 cable After completed of serial connection set up the communications software Any communication software for personal computer communications can be used Hyper terminal Windows terminal and etc E NOTE The HyperTerminal serial port setup is 38400 8 N 1 KS8861 2 Demo Board eZ RS232 Cable 2 2 Running the KS8861 2 BSP After power up the KS8861 2 demo board The ks8861 2 BSP code is running at M16C 62P flash The BSP messages contain Bus interface of KS8861 or KS8862 interface OpenTCP Ethernet driver version KS8862 or KS8861 hardware driver version
32. packet sends to KS8861 2 device from CPU system Eg gt hwbuftx 1 0 3c 1 1 0 Tx Cntl Word 0x8113 Byte Count 0x003c Tx On port 1 Pkt Len 60 DA ff ff ff ff ff fFf SA 08 00 70 22 44 55 Type 0103 0000 ff ff ff ff ff ff 08 00 70 22 44 55 01 03 05 07 0010 09 Ob Od Of 11 13 15 17 19 1b 1d 1f 21 23 25 27 0020 29 2b 2d 2f 31 33 35 37 39 3b 3d 3f 41 43 45 47 0030 49 4b 4d 4f 51 53 55 57 59 Sb 5d 5f The first line of message tells you what Control Word and Byte Count is written to the KS8861 2 TXQ gt hwdumptx 0 Stop dumping transmits packets to the screen hwdumprx DumpFlag Start Stop dumpping receive packet data gt hwdumprx 1 Start dumping received packets received from KS8861 2 device to the screen when every packets received from KS8861 2 device to CPU system Eg if PING from the laptop Rx Cntl Word 0x82c8 Byte Count 0x003c Rx On port 2 Pkt Len 60 DA ff ff ff ff ff ff SA 00 50 ba 15 56 29 Type 0806 0000 ff ff ff ff ff ff 00 50 ba 15 56 29 08 06 00 O1 7 If you already prepare the six buffers with different Ethernet packets data it will transmit data buffer from 0 to 5 one by one Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Pages 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual 0010 08 00 06 04 00 01 00 50 ba 15 56 29 c0 a8 01 Oa 0020 00 00 00 00 00 00 cO a8 01 01 00 00 00 00 00 OO 003
33. s etc during a build process is displayed on the Output window Figure 6 2 1 OpenTCP M16C62P High performance Embedded Workshop ethernet ks884x 4 B pa a x 5 File Edit View Project Options Build Memory Tools Window Help l amp x Dega SLR IT PRIS SIR N 8 2 5 5 Mutiat Ja 69 IE H TET Ae oe Bu e RIS zixl A igs A S Copyright c 2000 2002 Viola Systems Ltd eG OpenTCP_M16C62P p All rights reserved B E Assembly source file E _nert0_62pskp a30 Redistribution and use in source and binary forms with or without A ef modification are permitted provided that the following conditions 3 sft_labels_62p a30 ence nets B E C header file f l cliTable h 1 Redistributions of source code must retain the above copyright hardware h notice this list of conditions and the following disclaimer Zz is targeth 2 Redistributions in binary form must reproduce the above copyright ey C fil S lt x ea A E T notice this list of conditions and the following disclaimer in the LE cliParser c documentation and or other materials provided with the distribution ethemet_ks884x S S el E 2 The endoucer documentation included with the redietrihutin if ke E ae gt aui_demo c p wt oe Eu Di lt gt hardware ethemet ks Projects processing C MTOOL 1lib30 nc30lib lib _I8DIVU r30 process
34. uctor MICHEL KS886x 16Bit BSP User s Manual gt hwtableshow mib 0 1 Port 1 Port 2 Port 3 Driver RxLoPriorityByte 00000000 00000629 00000298 00000605 RxByte RxHiPriorityByte 00000000 00000000 00000000 00000002 RxBroadcastPkts RxUndersizePkt 00000000 00000000 00000000 00000002 RxMulticastPkts RxFragments 00000000 00000000 00000000 00000004 RxUnicastPkts RxOversize 00000000 00000000 00000000 00000006 RxTotalPkts RxJabbers 00000000 00000000 00000000 RxSymbolError 00000000 00000000 00000000 00000000 RxRuntError RxCRCError 00000000 00000000 00000000 00000000 RxCRCError RxAlignmentError 00000000 00000000 00000000 00000000 RxMIIError RxCtr18808Pkts 00000000 00000000 00000000 00000000 RxTooLong RxPausePkts 00000000 00000000 00000000 00000000 RxInvalidFrame RxBroadcastPkts 00000000 00000002 00000000 00000000 RxIPChecksumError RxMulticastPkts 00000000 00000000 00000000 00000000 RxTCPChecksumError RxUnicastPkts 00000000 00000004 00000004 00000000 RxUDPChecksumError Rx640ctets 00000000 00000001 00000001 00000000 RxTotalError Rx65tol270ctets 00000000 00000004 00000003 00000000 RxErrorFrameInterrupt Rx128to2550ctets 00000000 00000001 00000000 00000000 RxOverrunInterrupt Rx256to05110ctets 00000000 00000000 00000000 00000000 RxStopInterrupt Rx512t010230ctets 00000000 00000000 00000000 00000000 RxOSDroppedPkts Rx1024t015220ctets 00000000 00000000 00000000 00000006 RxInterrupt TxLoPriorityByte 00000000 00000298 000006
35. umentation included with the redistribution if 3 file_system c A D ouid any must include the following acknowledgment E gul_demo c This product includes software developed by Viola 5 hardware c Systems http www violasystems comn 2 ks_config c 2 ks_Diag c Alternately this acknowledgment may appear in the software itself I ba if and wherever suci ird party acknowledgments normally appear if d whi h third t knowled t 11 E ks mirror c F 2 ks_qos c 4 The names OpenTCP and Viola Systems must not be used to 4 ks_rate c endorse or promote products derived from this software without prior IB ks_stp c ywritten permission For written permission please contact 4 ks tablec opentcp opentcp org ta IS ks vlan c 5 Products derived from this software mav not be called OpenTCP al 4 ksCliFunc c gt ret ln narba m lt gt ethernet_ks Ha El Projects FE Templates lt I Navigation Ready E Default1 desktop Read write 1 1675 fl ins NUM Figure 6 1 3 HEW Workspace Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 e http www micrel com Page 26 2006 Micrel Semiconductor MICHEL KS886x 16Bit BSP User s Manual 6 2 Build KS8861 2 BSP from HEW If need to rebuild the KS8861 2 BSP from HEW click on the Build All icon This will re compile and link all the source files Status errors message
36. wing sequence LinkStatus LinkSpeed LinkDuplex LinkCapable LinkAdvertisement LinkPartnerCapable Proprietary Information Rev 1 0 2180 Fortune Drive San Jose CA95131 US As 408 944 0800 s http www micrel com Pagell 2006 Micrel Semiconductor MICREL For the Link status information Link is download Link is good 0 means 1 means KS886x 16Bit BSP User s Manual For the Link Speed status information 1000000 100000 For the Link Duplex mode status information means means Link Speed is 100Mbps Link Speed is 10Mbps LinkStatus LinkSpeed LinkDuplex 0x01 means Link Duplex is full duplex 0x02 means cable is crossed 0x04 means is reversed For the Link Capable status information LinkCapable 0x00000001 means 10BaseT full duplex 0x00000002 means 10BaseT half duplex 0x00000004 means 100BaseTX full duplex 0x00000008 means 100BaseTX half duplex 0x00000100 means Link Pause For the Link Auto Negotiation Advertisement status information LinkAdvertisement Ox00000001 0x00000002 0x00000004 0x00000008 0x00000100 0x00010000 0x00020000 0x00040000 For the Link Ox00000001 0x00000002 0x00000004 0x00000008 0x00000100 m 3335883838 33383838 eans eans eans eans eans eans eans eans Partner Capabil eans eans eans eans eans 1OMBPS full duplex 10MBPS half duplex 100MBP
Download Pdf Manuals
Related Search
Related Contents
Manual ITUR - ARproj - Projetos de Engenharia Manuel d`utilisation LEDA3001RGB PBS Professional 13.0 Beta User's Guide Propellerhead Reason - 8.3 - Key Commands User Guide 丶 カンタ~ 操イ伯ガイ 一 Philips CD-RW 4-12x 700MB / 80min JC(10) USO E MANUTENZIONE USE AND MAINTENANCE Samsung Lò vi sóng tráng men màn hình LED nấu tự động 23L (ME83X) Hướng dẫn sử dụng OPERATION MANUAL Copyright © All rights reserved.
Failed to retrieve file