background image

KS8995MA Evaluation Board User’s Guide 

Micrel Inc. Confidential 

Page 13 

11/3/2006 

5.0 Software Description 

 
5.1 EEPROM Programming Software in DOS  

Micrel/Kendin provides DOS based software so that you can use a computer with a 
Windows 98 DOS environment and a parallel port to program the KS8995MA evaluation 
board’s EEPROM without the added expense of an external EEPROM programmer. The 
program is an executable file that is included with your evaluation kit.  
To run the program simply double click on its icon in the windows environment.  A DOS 
window will appear displaying an opening screen:  

                                                 

Micrel/Kendin COMMUNICATIONS  

Sunnyvale, California 

TEL: (408) 735 1118 x253 

J. Yu 3/2002 V1.0  

                                  24C01 EEPROM PROGRAMMER  
 
Connect a DB25 cable from parallel printer port to KS8995E demo board. Set 
printer port to NORMAL mode.  
 

Push ENTER to continue  

Follow the instructions and then press enter. A listing of all the default settings will appear 
followed by a menu. The settings are displayed from left to right on your screen with the 
address in decimal, followed by the value in hex.  

Contents of default data:  

# data # data # data # data # data # data # data # data # data # data 

 0  55  1  95   2 f0   3  0   4  0   5 c0   6  0   7 c1   8 1f   9 1f 

 10  1f 11  1f  12 1f  13 80  14  1  15 80  16  2  17 80  18  3  19 80 
 20   4 21  80  22  5  23  0  24  0  25  0  26  0  27  0  28  0  29  0 
 30   0 31   0  32  1  33  2  34  3  35  4  36  5  37 ff  38 ff  39 ff 
 40  ff 41  ff  42 ff  43 ff  44 ff  45 ff  46 ff  47 ff  48 ff  49 ff 
 50  ff 51  ff  52 ff  53 ff  54 ff  55 ff  56 ff  57 ff  58 ff  59 ff 
 60  ff 61  ff  62 ff  63 ff  64 ff  65 ff  66 ff  67 ff  68 ff  69 ff 
 70  ff 71  ff  72 ff  73 ff  74 ff  75 ff  76 ff  77 ff  78 ff  79 ff 
 80  ff 81  ff  82 ff  83 ff  84 ff  85 ff  86 ff  87 ff  88 ff  89 ff 
 90  ff 91  ff  92 ff  93 ff  94 ff  95 ff  96 ff  97 ff  98 ff  99 ff 
 100 ff 101 ff 102 ff 103 ff 104 ff 105 ff 106 ff 107 ff 108 ff 109 ff 
 110 ff 111 ff 112 ff 113 ff 114 ff 115 ff 116 ff 117 ff 118 ff 119 ff 
 120 ff 121 ff 122 ff 123 ff 124 ff 125 ff 126 ff 127 ff 
 

Enter Option:  
1. Write EEPROM 
2. Change buffer data 
3. Save buffer to file (Enter file name) 
4. Read custom file  
5. Read EEPROM to buffer 
6. Verify EEPROM 
7. Program default values 
8. Exit 
 

Menu Command Descriptions:  
1. 

Write EEPROM 

– use this command when you want to write the values stored in your 

computer’s memory to the EEPROM on the KS8995MA board.  

Summary of Contents for KS8995MA

Page 1: ...KS8995MA Evaluation Board User s Guide Micrel Inc Confidential Page 1 11 3 2006 KS8995MA Evaluation Board User s Guide KS8995MA Integrated 5 port 10 100 Ethernet Managed Switch Rev 1 7 October 2006...

Page 2: ...9 4 3 SPI Mode 10 4 4 10 100 Ethernet Ports 11 4 5 LED indicators 11 4 6 MII Port Configuration 11 5 0 Software Description 13 5 1 EEPROM Programming Software 13 5 2 SPI Interface Software 17 6 0 Adv...

Page 3: ...16 Figure 5 MIB Counter Screen 19 Figure 6 Tagged Ethernet Packet 20 Figure 7 VLAN Screen 22 Figure 8 Rate Limit Screen 26 Figure 9 Port Mirror Screen 28 Table 1 Feature Setting Jumpers 8 Table 2 Rese...

Page 4: ...nged references restructured procedures 1 2 3 14 02 Updated SPI Commands 1 3 4 22 02 Incorporated Windows SPI GUI Updated PSPI command list Added WPSPI procedures 1 4 5 21 02 Removed JP9 thru JP23 to...

Page 5: ...45 Jacks for Ethernet LAN and WAN Interfaces with Corresponding Isolation Magnetics Auto MDI MDIX On All Ports 1 PHY Mode and 1 MAC Mode MII Connector for the Switch MII Interface 1 PHY Mode MII Conne...

Page 6: ...l feature set The board also features two MII connectors for the Switch MII interface These are to facilitate connections from the switch to either an external CPU or an external PHY There is also an...

Page 7: ...The user has to simply set the board s configuration jumpers to the desired settings and apply power to the board The user can also change jumper settings while power is applied to the board and press...

Page 8: ...wer down KS8995MA JP25 PMRXD3 Enable TX flow control Disable TX RX flow control JP26 PMRXD2 Disable Back Pressure Enable Back Pressure JP27 PMRXD1 Drop excessive collision packets Do not drop excessiv...

Page 9: ...JP39 Test1 Open JP40 Test2 Open JP43 FXSD5 Closed JP44 FXSD4 Closed 4 2 EEPROM Mode The evaluation board has an EEPROM to allow the user to explore more extensive capabilities of the KS8995MA The user...

Page 10: ...st CPU connected to the KS8995MA s SPI interface will be able to access all static MAC entries the VLAN table dynamic MAC address table and the MIB counters To prepare the KS8995MA evaluation board fo...

Page 11: ...bit 1 The mode definitions are shown in Table 5 There are three LEDs per port The naming convention is LEDx_y where x is the port number and y is the number of the LED for that port Table 5 LED Modes...

Page 12: ...ader pins The connections between the header pins and the SNI signals are shown in the table Table 7 The PHY5 MII port is used to connect to an external MAC or CPU This port is only in PHY mode Table...

Page 13: ...in decimal followed by the value in hex Contents of default data data data data data data data data data data data 0 55 1 95 2 f0 3 0 4 0 5 c0 6 0 7 c1 8 1f 9 1f 10 1f 11 1f 12 1f 13 80 14 1 15 80 16...

Page 14: ...the default values in one step 8 Read KS8995MA registers Not used 9 Exit Use this command to close the program Please see the KS8995MA Datasheet for all register descriptions Be sure to press the manu...

Page 15: ...e Micrel Inc Confidential Page 15 11 3 2006 Figure 2 Run KEEPROM software Click the File menu and open a default95M data file the default values will display on the window of the KEEPROM as shown in F...

Page 16: ...fy all registers values based on the Modify window and register number for KS8995MA configuration Once you finish the modification and configuration click OK and click the Download function in Tool me...

Page 17: ...port mirroring features of the KS8995MA The graphical interface does not allow access to the KS8995MA s full register set but gives the user an easy and comprehensive way to configure the KS8995MA for...

Page 18: ...to the end of each packet PSPI Procedure 1 Connect the smartbits tester to the KS8995MA with standard CAT 5 cables Connect smartbits port 1 to port 1 on the KS8995MA evaluation board Connect Smartbit...

Page 19: ...igure the Smartbits tester by opening the mib prf file Transmit a few packets from the Smartbits tester to ports 1 4 by pressing the SMB group start button This is so the switch can learn the addresse...

Page 20: ...larger than the maximum packet size 6 2 Tag Based VLAN The KS8995MA supports 16 different tag based VLANs There are 12 bits in the IEEE 802 1Q VLAN ID field allowing for 4096 different VLAN ID s The...

Page 21: ...tag removal on ports 1 2 3 and 4 Please see the vlan txt script for more details on eMAct register settings 6 Configure the Smartbits tester with the vlan prf configuration file This file will set up...

Page 22: ...cast packets tagged with VLAN ID 1 from port 1 2 or 3 to all ports The broadcast packets should only be received on VLAN 1 ports 1 2 3 and 5 8 Broadcast packets tagged with VLAN ID 2 from port 4 to al...

Page 23: ...t IGMP packets on ports 1 to 4 PSPI Procedure 1 Connect the smartbits tester to the KS8995MA with standard CAT 5 cables Connect port 1 from the smartbits to port 1 on the KS8995MA and port 2 on the Sm...

Page 24: ...pecial Tag Insertion Forwarded to Port 5 From Type Field Port 1 8101 Port 2 8102 Port 3 8104 Port 4 8108 WPSPI Procedure There is no WPSPI procedure for special tagging mode Interpretation of Results...

Page 25: ...les the rate limiting feature Please see the rtlimit txt script for more details and the eMAct register settings 6 Configure the Smartbits tester with the rtlimit prf configuration file 7 Open the Sma...

Page 26: ...nits 32 768 bits s per unit 51 1 Mbps 8 Transmit packets continuously from port 2 to port 1 at line rate You should see packets transmitted to port 2 at about 49 864 packets s 49 864 packets s 64 byte...

Page 27: ...d port B would be designated as the tx sniff port All packets transmitted from port B will be forwarded to port A the sniffer port 3 Receive and Transmit Mirroring Port A is designated as the sniffer...

Page 28: ...d packets from ports 1 2 and 3 so that the switch can learn their addresses Then stop transmission and clear the Smartbits counters 7 Send 100 000 packets from the Smartbits tester to port 2 50 000 de...

Page 29: ...apture packets on port 1 again when sending these You will notice that even error packets can be forwarded to the sniffer port by the switch in the KS8995MA In normal operation error packets would not...

Page 30: ...only option available use the following layer stacking ________________ layer 1 component side 1 oz copper ______5mil______ layer 2 GND plane 1 oz copper ________________ layer 3 power plane 1 oz cop...

Page 31: ...aces The chassis ground should be isolated from the rest of the circuitry 12 Fill up the unused area on the top and bottom sides of the PCB with GND plane 13 Add TVS transient suppression device at th...

Page 32: ...N4004 12 1 D6 1N4148 13 6 FB1 FB2 FB3 FB4 FB5 FB6 FBEAD 14 25 JP1 JP2 JP3 JP4 JP5 JP6 JP JP7 JP8 JP24 JP25 JP26 JP27 JP28 JP29 JP30 JP31 JP32 JP33 JP34 JP35 JP36 JP37 JP38 JP43 JP44 15 4 JP39 JP40 JP4...

Page 33: ...N 34 7 TP1 TP8 TP9 TP10 TP11 TP12 TP13 TP14 TP15 TP16 TP17 TP18 TP19 TP20 TP 35 1 T1 QUAD 36 1 T2 SINGLE 37 1 U1 74F125 38 1 U2 AT24C02 39 1 U3 KS8995MA 40 1 U4 MIC 39150 1 8BT 41 1 U5 MIC 39100 3 3BS...

Page 34: ...Port Dump port control and status registers associated to port number Port dtos Dump TOS Priority Control registers dmac Dump MAC address registers di Dump Indirect Access Control registers ddt Dump...

Page 35: ...s is not specified z Reset all MIB counters except dropped packet MIB counters MICREL INC 1849 FORTUNE DRIVE SAN JOSE CA 95131 USA TEL 1 408 944 0800 FAX 1 408 474 1000 WEB http www micrel com The in...

Reviews: