English
Language : 

COM20020_00 Datasheet, PDF (81/82 Pages) SMSC Corporation – Universal Local Area Network Controller with 2K x 8 On-Board RAM
APPENDIX B
Software Identification of the COM20020 Rev B, Rev C and Rev D
In order to properly write software to work with the COM20020 Rev B, C and D it is necessary to be
able to identify the different revisions of the part.
To identify the COM20020 Revision follow the following procedure:
1. Write 0x98 to Register-6 (Address = 6)
2. Write 0x02 to Register-5 (Address = 5)
3. Read Register-6
* If the value read from Register-6 is 0x98 then the part is a COM20020 Rev B or earlier
* If the value read from Register-6 is 0x9A then go to next step below
4. Write 0x80 to Register-5
5. Read Register-5
* If the value read from Register-5 is 0x00 then the part is a COM20020 Rev C
* If the value read from Register-5 is 0x80 then the part is a COM20020 Rev D
81
DISCONTINUED DATASHEET