Note the following details of the code protection feature on Microchip devices:
YSTEM
CERTIFIED BY DNV
== ISO/TS 16949==
•Microchip products meet the specification contained in their particular Microchip Data Sheet.
•Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
•There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
•Microchip is willing to work with the customer who is concerned about the integrity of their code.
•Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device applications and the like is provided only for your convenience and may be
superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO
REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE,
MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of
Microchip devices in life support and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC, FlashFlex, K
logo, rfPIC, SST, SST Logo, SuperFlash and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and
other countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, MTP, SEEVAL and The Embedded Control Solutions Company are
registered trademarks of Microchip Technology Incorporated in the U.S.A.
Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.
Analog-for-the-Digital Age, Application Maestro, BodyCom, chipKIT, chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net,
dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP, Mindi, MiWi, MPASM,
MPF, MPLAB Certified logo, MPLIB, MPLINK, mTouch, Omniscient Code Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit,
PICtail, REAL ICE, rfLAB, Select Mode, SQI, Serial Quad I/O, Total Endurance, TSHARC, UniWinDriver, WiperLock, ZENA and ZScale are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.
GestIC and ULPP are registered trademarks of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip
Technology Inc., in other countries.
A more complete list of registered trademarks and common law trademarks owned by Standard Microsystems Corporation (“SMSC”)
is available at: www.smsc.com. The absence of a trademark (name, logo, etc.) from the list does not constitute a waiver of any
intellectual property rights that SMSC has established in any of its trademarks.
All other trademarks mentioned herein are property of their respective companies.
DS50002202A-page 2 2013 Microchip Technology Inc.
Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
DS50002202A-page 6 2013 Microchip Technology Inc.
EVB-USB2642
EVALUATION BOARD
USER’S GUIDE
Preface
NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs
and/or tool descriptions may differ from those in this document. Please refer to our web site
(www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each
page, in front of the page number. The numbering convention for the DS number is
“DSXXXXXA”, where “XXXXX” is the document number and “A” is the revision level of the
document.
For the most up-to-date information on development tools, see the MPLAB
Select the Help menu, and then Topics to open a list of available online help files.
®
IDE online help.
INTRODUCTION
This chapter contains general information that will be useful to know before using the
EVB-USB2642 Evaluation Board. Items discussed in this chapter include:
• Document Layout
• Conventions Used in this Guide
• The Microchip Web Site
• Development Systems Customer Change Notification Service
• Customer Support
• Document Revision History
DOCUMENT LAYOUT
This document describes how to use the EVB-USB2642 Evaluation Board as a
development tool for the USB2642 USB 2.0 hub and flash media card controller
combo. The manual layout is as follows:
• Chapter 1. “Overview” – Shows a brief description of the EVB-USB2642
Evaluation Board.
• Chapter 2. “Getting Started” – Includes instructions on how to get started with
the EVB-USB2642 Evaluation Board.
• Appendix A. “EVB-USB2642 Evaluation Board” – This appendix shows the
EVB-USB2642 Evaluation Board.
• Appendix B. “EVB-USB2642 Evaluation Board Schematics” – This appendix
shows the EVB-USB2642 Evaluation Board schematics.
• Appendix C. “Bill of Materials (BOM)” – This appendix includes the
EVB-USB2642 Evaluation Board Bill of Materials (BOM).
Choice of mutually exclusive
arguments; an OR selection
Represents code supplied by
user
“Save project before build”
4‘b0010, 2‘hF1
any valid filename
[options]
errorlevel {0|1}
var_name...]
void main (void)
{ ...
}
DS50002202A-page 8 2013 Microchip Technology Inc.
Preface
THE MICROCHIP WEB SITE
Microchip provides online support via our web site at www.microchip.com. This web
site is used as a means to make files and information easily available to customers.
Accessible by using your favorite Internet browser, the web site contains the following
information:
• Product Support – Data sheets and errata, application notes and sample
programs, design resources, user’s guides and hardware support documents,
latest software releases and archived software
• General Technical Support – Frequently Asked Questions (FAQs), technical
support requests, online discussion groups, Microchip consultant program
member listing
• Business of Microchip – Product selector and ordering guides, latest Microchip
press releases, listing of seminars and events, listings of Microchip sales offices,
distributors and factory representatives
DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE
Microchip’s customer notification service helps keep customers current on Microchip
products. Subscribers will receive e-mail notification whenever there are changes,
updates, revisions or errata related to a specified product family or development tool of
interest.
To register, access the Microchip web site at www.microchip.com, click on Customer
Change Notification and follow the registration instructions.
The Development Systems product group categories are:
• Compilers – The latest information on Microchip C compilers, assemblers, linkers
and other language tools. These include all MPLAB C compilers; all MPLAB
assemblers (including MPASM assembler); all MPLAB linkers (including MPLINK
object linker); and all MPLAB librarians (including MPLIB object librarian).
• Emulators – The latest information on Microchip in-circuit emulators.This
includes the MPLAB REAL ICE and MPLAB ICE 2000 in-circuit emulators.
• In-Circuit Debuggers – The latest information on the Microchip in-circuit
debuggers. This includes MPLAB ICD 3 in-circuit debuggers and PICkit 3 debug
express.
• MPLAB IDE – The latest information on Microchip MPLAB IDE, the Windows
Integrated Development Environment for development systems tools. This list is
focused on the MPLAB IDE, MPLAB IDE Project Manager, MPLAB Editor and
MPLAB SIM simulator, as well as general editing and debugging features.
• Programmers – The latest information on Microchip programmers. These include
production programmers such as MPLAB REAL ICE in-circuit emulator, MPLAB
ICD 3 in-circuit debugger and MPLAB PM3 device programmers. Also included
are nonproduction development programmers such as PICSTART Plus and
PIC-kit 2 and 3.
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
Customers should contact their distributor, representative or field application engineer
(FAE) for support. Local sales offices are also available to help customers. A listing of
sales offices and locations is included in the back of this document.
Technical support is available through the web site at:
http://www.microchip.com/support
DOCUMENT REVISION HISTORY
Revision A (October 2013)
• Initial Release of this Document.
DS50002202A-page 10 2013 Microchip Technology Inc.
1.1INTRODUCTION
The USB2642 evaluation board contains an Ultra Fast USB 2.0 Multi-Format Flash
Media Controller, a USB hub combo and a USB Port Power Controller with charger
emulation. The USB2642 evaluation board demonstrates a stand-alone application
platform for developers of breakout box designs that extend the I
Input Output (SDIO) ports of the microcontroller into the breakout box over the
upstream USB connection.
The USB2642 is compatible with the following operating systems:
• Windows
• Windows 7
• Windows
• Windows XP
• Windows ME (Millennium Edition)
• Windows 2000 SP4
• Mac OS
• Linux
Chapter 1. Overview
®
8 and 8.1
Vista™
®
X
®
Mass Storage Class Drivers
EVB-USB2642
EVALUATION BOARD
USER’S GUIDE
2
C™ or Secure Digital
1.2FEATURES
• 48-pin QFN (RoHS compliant) package
• Supports these media types:
• Two USB 2.0 downstream hub ports, one with an individual port power and the
• Supports external configuration:
• Operates from a single voltage (+5.0 VDC, regulated) external DC power supply
• Internal FET power switch for all media types
• Multiple LED indicators:
• Single crystal clock source
• Single on board +3.3 VDC regulator
• USB-IF BC1.2, YD/T-1591 (2009) and RIM charging profiles (Port 3)
- Secure Digital (SD™)
- MultiMediaCard™ (MMC) 4-bit/8-bit interfaces
other with a USB Port Power Controller with charger emulation, the USC81001
- External SPI flash for USB downloadable firmware
• Charging profiles (Port 3) suitable for iPhone®, iPad®, and iPod
• 2.5A maximum current (Port 3)
• Active Current limiting and monitoring (Port 3)
1.3GENERAL DESCRIPTION
The EVB-USB2642 is a demonstration and evaluation platform featuring the USB2642
Ultra Fast USB 2.0 Multi-Format Flash Media Controller, the UCS1001 Port Power
Controller with charger emulation and the USB hub combo on a 4-layer RoHS
compliant Printed Circuit Board (PCB). It is designed to support internal default
settings, an external certification chip, an SMBus header interface and an SPI flash
both for external firmware download, and also an external I
functionality.
An 8-Mbit SPI flash device can be populated on the evaluation board to provide
firmware updates via USB by using the provided USBDM utility. For more information,
please see the USBDM manual.
The default configuration can be changed by the SPI flash device, the SMBus header
interface or the external certification chip. Alternatively, the default configuration can be
changed by installing an EEPROM into the provided footprint. When this is done, the
SPI flash device must be removed to avoid signaling conflicts. Figure 1-1 and
Figure 1-2 show the top and bottom level silk screen and copper layers, respectively.
FIGURE 1-1:TOP LEVEL SILK SCREEN AND COPPER LAYERS
®
2
C EEPROM for customized
DS50002202A-page 12 2013 Microchip Technology Inc.
Overview
FIGURE 1-2:BOTTOM LEVEL SILK SCREEN AND COPPER LAYERS
The USB2642 consists of the blocks shown in the diagram below.
FIGURE 1-3:FUNCTIONAL BLOCK DIAGRAM
DS50002202A-page 14 2013 Microchip Technology Inc.
Chapter 2. Getting Started
2.1INTRODUCTION
The EVB-USB2642 is configured by internal default registers. In this default
configuration, it operates as a USB 2.0 combo device with a 3-port USB hub (two
external ports) and a Flash Media Controller with standard VID/PID/DID settings and
USB to I
The UCS1001 on port 3 is configured to the data Pass-Through mode by default.
2.2EVB-USB2642 CONFIGURATION
The EVB-USB2642 is designed for flexible configuration solutions. It may be
configured to operate with default internal register settings, USB host downloadable
configuration via SMBus header interface or EEPROM or USB host downloadable
external firmware to an SPI flash.
The UCS81001 can be configured using the J9, J10, J11 jumpers at startup or via the
EVB-USB2642 GUI. In the default mode, M1, M2 and EM_EN are set to ‘100’.
2
C bridge ability.
EVB-USB2642
EVALUATION BOARD
USER’S GUIDE
TABLE 2-1:ACTIVE MODE SELECTION
#M1M2EM_ENActive Mode
1001Dedicated Charger Emulation Cycle
2010Data Pass-through
3011BC1.2 DCP
4100BC1.2 SDP
5101Dedicated Charger Emulation Cycle
6110Data Pass-through
7111BC1.2 CDPDta
Note1:Per the BC1.2 specification, BC1.2 SDP behaves the same as the Data
Pass-Through mode with the exception that it is preceded by a VBUS
discharge when the mode is entered.
For more information, please visit the UCS1001 page.
When the EVB-USB2642 does not detect an EEPROM or a valid SPI flash image upon
power-up, the EVB-USB2642 uses internal default register settings. It sets the Vendor
ID, Product ID, Language ID, Device ID and a few other selections from internal ROM
code.
When an iPhone, iPad or iPod is connected to the USB2642 evaluation board’s USB
interface, the external certification chip can communicate via the upstream
microprocessor over the USB to I
attached, the external certification chip is not involved in the data communication
between the control application and attached device.
2
C bridge to certify the system. If other devices are
Note:If the certification chip is installed, the 10.0 kΩ pull down resistor R26 must
The installed SPI flash is initially blank. In this scenario, the internal firmware will
execute. External firmware updates can be downloaded via USB using the utility
USBDM to the SPI flash. After downloading, the EVB-USB2642 will execute from the
SPI flash.
Note:If the SPI flash is installed, the 10.0 k
installed.
Ω pull up resistor R13 must also be
2.2.3Configuration Source – External EEPROM
Upon power-up, the EVB-USB2642 looks for an attached EEPROM on its I2C interface.
The EVB-USB2642 provides a footprint at U10 where an external EEPROM
(embedded in a DFN8 package of type 24C0x) can be soldered to customize the Media
Controller’s settings. The EEPROM contains 512 bytes of user customizable settings.
Among the settings are Vendor ID, Product ID and Device ID numbers. To use the
EEPROM, the SPI flash device U4 must be removed first.
Note:If the EEPROM is installed, the 10.0 kΩ pull up resistor R13 must also be
installed.
2.2.4Configuration Source – USB Upstream
The EEPROM supporting the USB2642 is configured with the USBDM configuration
tool via a USB2642 cable connected to the upstream connector. This tool allows for
modification of Vendor ID, Product ID, Language ID, Device ID and other configuration
settings.
For more information, please see the USBDM manual.
DS50002202A-page 16 2013 Microchip Technology Inc.
Appendix A. EVB-USB2642 Evaluation Board
A.1INTRODUCTION
This appendix shows the EVB-USB2642 Evaluation Board.