Microchip Technology EVB-SEC1210, EVB-SEC1212-DEV, EVB-SEC1110 User Manual

EVB-SEC1110/EVB-SEC1210/
EVB-SEC1212-DEV
Evaluation Board User’s Guide
2013 Microchip Technology Inc. DS00001574A
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 PICSTART, PIC 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 Z-Scale 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.
All other trademarks mentioned herein are property of their respective companies.
© 2013, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.
ISBN: 9781620774649
EELOQ, KEELOQ logo, MPLAB, PIC, PICmicro,
32
logo, rfPIC, SST, SST Logo, SuperFlash
QUALITY MANAGEMENT S
2013 Microchip Technology Inc. DS00001574A-page 2
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.
®
MCUs and dsPIC® DSCs, KEELOQ
®
code hopping
Object of Declaration:
EVB-SEC1110/EVB-SEC1210/EVB-SEC1212-DEV User’s Guide
2013 Microchip Technology Inc. DS00001574A-page 3
EVB-SEC1110/EVB-SEC1210/EVB-SEC1212-DEV Evaluation Board User’s Guide
NOTES:
DS00001574A-page 4  2013 Microchip Technology Inc.
EVB-SEC1110/EVB-SEC1210/EVB-SEC1212-DEV
EVALUATION BOARD
USER’S GUIDE
Table of Contents
Preface ........................................................................................................................... 7
Conventions Used in this Guide ............................................................................ 8
The Microchip Web Site ........................................................................................ 9
Development Systems Customer Change Notification Service ............................ 9
Customer Support ................................................................................................. 9
Document Revision History ................................................................................. 10
Chapter 1. Introduction
1.1 SEC1110 Features ....................................................................................... 11
1.1.1 Smartcard .................................................................................................. 11
1.1.2 USB ........................................................................................................... 11
1.2 SEC1210 Features ....................................................................................... 12
1.2.1 SPI1 ........................................................................................................... 12
1.2.2 UART ......................................................................................................... 12
1.3 SEC1212-DEV Features .............................................................................. 12
1.4 Directory structure ........................................................................................ 13
Chapter 2. EVBPCBA Documentation
2.5 EVB-SEC2112-DEV ..................................................................................... 14
2.5.1 Board Layout ............................................................................................. 16
2.5.2 Inserting a Chip into the Socket ................................................................ 17
2.5.3 Connector Description ............................................................................... 17
2.5.4 Switch Description ..................................................................................... 20
2.5.5 Test Points Description ............................................................................. 20
2.5.6 Bond Options ............................................................................................. 20
2.5.7 Selecting the Code Fetch Source .............................................................. 21
2.6 EVB-SEC1210 .............................................................................................. 21
2.6.1 Placing a Chip in the Socket ..................................................................... 22
2.6.2 Connector Description ............................................................................... 23
2.7 EVB-SEC1110 .............................................................................................. 24
2.7.1 Placing a Chip in the Socket ..................................................................... 25
2.7.2 Connector Description ............................................................................... 26
Chapter 3. CCID Firmware
3.8 Features ....................................................................................................... 27
3.9 Single Slot CCID Firmware .......................................................................... 27
3.10 Dual Slot CCID Firmware ........................................................................... 27
3.11 Smartcard Reader Driver Installation under Windows ............................... 27
Chapter 4. Checking Device Firmware Revision
Chapter 5. OTP Programming Procedures
Chapter 6. SPI Programming Procedures
2013 Microchip Technology Inc. DS00001574A-page 5
EVB-SEC1110/EVB-SEC1210/EVB-SEC1212-DEV Evaluation Board User’s Guide
Worldwide Sales and Service .....................................................................................41
DS00001574A-page 6  2013 Microchip Technology Inc.
EVB-SEC1110/EVB-SEC1210/EVB-SEC1212-DEV
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.
2013 Microchip Technology Inc. DS00001574A-page 7
EVB-SEC1110/EVB-SEC1210/EVB-SEC1212-DEV Evaluation Board User’s Guide

CONVENTIONS USED IN THIS GUIDE

This manual uses the following documentation conventions:
DOCUMENTATION CONVENTIONS
Description Represents Examples
Arial font:
Italic characters Referenced books MPLAB® IDE User’s Guide
Emphasized text ...is the only compiler...
Initial caps A window the Output window
A dialog the Settings dialog A menu selection select Enable Programmer
Quotes A field name in a window or
dialog
Underlined, italic text with right angle bracket
Bold characters A dialog button Click OK
N‘Rnnnn A number in verilog format,
Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>
Courier New font:
Plain Courier New Sample source code #define START
Italic Courier New A variable argument file.o, where file can be
Square brackets [ ] Optional arguments mcc18 [options] file
Curly brackets and pipe character: { | }
Ellipses... Replaces repeated text var_name [,
A menu path File>Save
A tab Click the Power tab
where N is the total number of digits, R is the radix and n is a digit.
Filenames autoexec.bat File paths c:\mcc18\h Keywords _asm, _endasm, static Command-line options -Opa+, -Opa- Bit values 0, 1 Constants 0xFF, ‘A’
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)
{ ... }
DS00001574A-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:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
2013 Microchip Technology Inc. DS00001574A-page 9
EVB-SEC1110/EVB-SEC1210/EVB-SEC1212-DEV Evaluation Board User’s Guide
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 (September 2013)
• Initial Release of this Document.
DS00001574A-page 10  2013 Microchip Technology Inc.

Chapter 1. Introduction

The SEC1110/SEC1210/SEC1212-DEV is a family low power, OEM configurable, sin­gle-chip smartcard reader solutions. Three evaluation boards (EVBs) are available for device development:
• EVB-SEC2112-DEV
• EVB-SEC1210
• EVB-SEC1110
These EVBs demonstrate standalone solutions with all of the interfaces and features listed the following sub-sections. For details on each individual EVB, refer to Chapter 2.

1.1 SEC1110 FEATURES

1.1.1 Smartcard

EVB-SEC1110/EVB-SEC1210/EVB-SEC1212-DEV
EVALUATION BOARD USER’S GUIDE
• Single Smartcard slot
• Fully compliant with the ISO/IEC 7816, EMV and PC/SC standards
• Versatile ETU rate generation, supporting current and proposed rates (to 861 Kbps and beyond)
• Full support of both T=0 and T=1 protocols
• Full-packet FIFO (259 bytes) for transmit and receive
• Half-Duplex operation, with no software intervention required between transmit and receive phases of an exchange
• Very loose real-time response required of software
• (worst case scenario of approximately 180 ms)
• Dynamically programmable FIFO threshold, with byte granularity
• Time-out FIFO flush interrupt, independent of threshold
• Programmable Smart Card clock frequency
• UART-like register file structure
• Supports Class A, Class B, Class C, or Class AB Smart Cards (all 1.8 V, 3 V and 5 V cards)
• Automatic Character Repetition for T=0 protocol Parity Error recovery
• Automatic card deactivation on card removal and on other system events, includ­ing persistent Parity Errors

1.1.2 USB

• Supports Full-Speed data transfer
• Endpoints can be configured for control, bulk & interrupt transfer types
• Max packet size configurable for each endpoint
• (8 / 16/ 32/ 64 bytes are allowed)
• Ping pong buffers supported for non-control endpoints
2013 Microchip Technology Inc. DS00001574A-page 11
EVB-SEC1110/EVB-SEC1210/EVB-SEC1212-DEV Evaluation Board User’s Guide
• Supports Suspend, Resume, and Remote Wakeup per the USB specification requirements
• Endpoint buffer may be located anywhere in the 1.5K SRAM, as per the alignment requirements based on the max packet size

1.2 SEC1210 FEATURES

Along with the features mentioned in Section 1.1, the SEC1210 includes two Smartcard slots and the following additional features:

1.2.1 SPI1

• Supports full-duplex mode
• Supports master or slave mode
• Supports seven SPI1 Master baud rates
• Slave Clock rate up to spi1_clk/8
• Serial clock with programmable polarity and phase
• Master Mode fault error flag with MCU interrupt capability
• Write collision flag protection
• Byte Transfer/Receive APIs
• Bulk Transfer/ Receive APIs
• Simultaneous Transfer/ Receive APIs

1.2.2 UART

• Software compatible with Standard 16C450 and 16C550A
• Separate 16 byte FIFO for transmission and reception
- Prevents buffer overrun
- Helps software to be less time critical in handling transmission / reception
• Programmable baud rate generator - Up to 3 Mbps baud rate can be achieved
• Supports flow control using RTS / CTS signals
• Pin Polarity control
• Programmable communication parameters:
- Word length - 5, 6, 7, 8 bits
- Stop bits - 1, 1.5, 2 bits
- Parity - None, Odd, Even, Mark, Space
• Low power sleep mode available
Note: A voltage level shifter board / cable is required to connect the UART port to
the PC. An FTDI cable is used for this.

1.3 SEC1212-DEV FEATURES

Along with the features mentioned in section 1.1 and1.2 the following modules are also available in the SEC1212-DEV:
• Boot from SPI2 Interface
• The SVB is equipped with a 1Kbyte Atmel SPI flash (AT26DF081A-SSU). SPI flash from Atmel and Windbond are supported.
• On-board RS232 Transceiver for debugging as well as RS232 host interface
• On-board Reset button
• On-board EDP header for f/w debugging.
• On-board JTAG header for entering ASIC test mode and debugging
DS00001574A-page 12  2013 Microchip Technology Inc.

1.4 DIRECTORY STRUCTURE

The EVB-SEC2112-DEV release package provides the following file/folder structure:
EVB Schematics & BOM
Contains EVB schematics and BOM
SW Tools/WinUSB Driver
This is the device driver required for BootROM USB Device
SW Tools/OTPProgrammer
Contains the OTP programming utility and user manual
SW Tools/Linux Libraries
Contains the required Linux libraries
SW Tools/SPIFlashUtitly
Contains utility to program the SEC1212-DEV SPI2 flash and the relevant user manual.
Firmware
This folder contains the firmware binary files for programming into the OTP / SPI Flash. Filenames with "SPI2" are intended to be programmed onto the SPI flash using SPI­FlashWriter application. Filenames with "OTP" are intended to be programmed onto the OTP using OTPProgrammer application. Similarly, "SINGLESLOT" or "DUALSLOT" in the file name indicates a single slot or dual slot reader, respectively.
Introduction
2013 Microchip Technology Inc. DS00001574A-page 13
Loading...
+ 29 hidden pages