Note the following details of the code protection feature on Microchip devices:
•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 unless otherwise stated.
Trademarks
The Microchip name and logo, the Microchip logo, AnyRate, AVR, AVR logo, AVR Freaks, BeaconThings, BitCloud, CryptoMemory, CryptoRF,
dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, KEELOQ, KEELOQ logo, Kleer, LANCheck, LINK MD, maXStylus, maXTouch, MediaLB, megaAVR,
MOST, MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, Prochip Designer, QTouch, RightTouch, SAM-BA, SpyNIC,
SST, SST Logo, SuperFlash, tinyAVR, UNI/O, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and
other countries.
ClockWorks, The Embedded Control Solutions Company, EtherSynch, Hyper Speed Control, HyperLight Load, IntelliMOS, mTouch, Precision
Edge, and Quiet-Wire are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BodyCom, chipKIT, chipKIT logo, CodeGuard,
CryptoAuthentication, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN,
EtherGREEN, In-Circuit Serial Programming, ICSP, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, Mindi, MiWi, motorBench,
MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit,
PICtail, PureSilicon, QMatrix, RightTouch logo, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI, SuperSwitcher,
SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and ZENA 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.
Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.
GestIC is a registered trademark 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.
DS50002727A-page 2 2018 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.
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
CEC1x02 Development Board. Items discussed in this chapter include:
• Document Layout
• Conventions Used in this Guide
• The Microchip Web SiteThe Microchip Web Site
• Development Systems Customer Change Notification Service
• Customer Support
• Document Revision History
DOCUMENT LAYOUT
This document describes how to use the CEC1x02 Development Board as a
development tool. The manual layout is as follows:
• Chapter 1. “Introduction” – Shows a brief description of the CEC1x02 Develop-
ment Board.
• Chapter 2. “Features” – Provides information on the layout of the CEC1x02
Development Board.
• Chapter 3. “Recommended Tools and Accessories” – Contains information
about the CEC1x02 Development Board tools provided.
• Chapter 4. “Powering the CEC1x02 Development Board” – Provides informa-
tion on powering the CEC1x02 Development Board.
• Chapter 5. “Jumper Options” – Summarizes several jumpers for the CEC1x02
Development Board.
• Chapter 6. “Initial Hardware Setup” – Includes detailed information on initial
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 4 in-circuit debuggers and PIC-kit 4 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 4 in-circuit debugger and MPLAB PM3 device programmers. Also included
are nonproduction development programmers such as PICSTART Plus and
PIC-kit4.
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
DS50002727A-page 6 2018 Microchip Technology Inc.
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:
The CEC1x02 Development Board is intended as a development, demonstration, and
testing platform for Internet-of-Things applications using the CEC1702, a 32-bit ARM®
Cortex®-M4-based microcontroller with additional security peripherals. The board features a variety of hardware options (including a power supply, user interface, serial
communications, and expansion headers) that enable rapid prototyping and development of embedded, secure Internet-of-Things applications. In addition to the native
hardware features provided by the CEC1x02 Development Board, hardware expansion
is possible through the use of mikroBUS™ accessory boards.
The CEC1x02 Development Board features a Plug-In-Module (PIM), which has a
CEC1702Q-B2 device without a programmed key so users can create their own private key to
store into the CEC1702 for their end applications.
1. USB micro-B connector — Provides power to the board and provides an interface for serial input/output or I2C using the Microchip MCP2221A
USB-to-UART/I2C serial converter.
2. Power Adapter Plug — Provides another way to apply power to the board by
external power adapter from 6 V to 16 V, such as AC002014 - 9 V Wall Mount
Power Supply.
3. Connector for Plug-In Module (PIM) — Initially the board is supported with
CEC1702PIM.
4. SST26VF016B (on the CEC1702PIM) — Serial Quad I/O (SQI) flash to store the
program image for the CEC1702 and provides additional persistent storage for
application information.
5. JTAG Debugger/SPI Flash Programming Header (on the CEC1702PIM) —
Shared header design for SWD-mode JTAG or external SPI flash connection
controlled by VCC_RST pin.
6. eFuse programmability — Ability to evaluate, develop and program all aspects of
the CEC1702, including the keys used for authentication.
7. 10 kΩ Potentiometer — Useful as an analog signal source for ADC demonstration or user interface purposes.
8. Analog-to-Digital Converter expansion header — Provides an expansion header
for variable-resistance circuit elements, such as a thermistor.
10. Status Indication LED — Output LED for the CEC1702’s Blinking/Breathing LED
hardware module.
11. 128x64 pixel LCD — EastRising ERC12864 SPI-interface LCD. Useful for displaying user application text/images.
12. JTAG Debugging headers — Provides a standard 20-pin header and a 1x6
header for flexibility.
13. I2C Expansion Header
14. 4x4 Keypad Header
15. GPIOs headers — Expansion headers to access all GPIOs of CEC1702.
16. 6x general-purpose pushbuttons
17. 2x mikroBUS™ Interfaces — Useful for attaching a wide array of hardware
expansion boards to extend the functionality of the platform.
DS50002727A-page 10 2018 Microchip Technology Inc.
CEC1x02 Development Board
User’s Guide
Chapter 3. Recommended Tools and Accessories
For development with the CEC1702 Development Board, we have enabled multiple
tools options as shown below:
1. Recommended - Microchip Development Tools - MPLAB®X v4.10 or later, XC32
Compiler v2.05 or later, and ICD 4 or Segger J-Link debugger.
2. Keil® µVision® IDE and the MDK-ARM® Standard Cortex®-M compiler license,
and Keil uLinkPro/2/Me or Segger J-Link debugger.
3. IAR Embedded Workbench® for Arm v7.70 or later, and I-JET debugger.
4. MikroElektronika mikroC PRO for ARM® IDE v5.0 or later, and mikroProg™ for
CEC debugger/programmer.
5. GNU ARM® Embedded Toolchain or others similar that can support Cortex-M4F.
Microchip provides several free firmware projects and libraries that are compatible with
the CEC1x02 Development Board. These demos show the basic functionality of the
CEC1x02 Development Board and the CEC1702. Details on the usage of these example projects can be found in the documentation accompanying the projects.
The CEC1x02 Development Board’s mikroBUS™ expansion headers allow interfacing
with a wide variety of click boards™. A list of boards that may facilitate application
development is available from MikroElektronika.
MikroElektronika is a trusted third-party tool provider.
The CEC1x02 Development Board can be powered directly through the USB micro-B
port of the USB-Serial converter (CN1). The 5 V input from the USB voltage rail is regulated to 3.3 V by an MCP1755S voltage regulator.
Optionally, the CEC1x02 Development Board can be powered by an external power
supply through the Power Plug (X4). The 6 V to 16 V input from the external power voltage rail is regulated to 5 V by an MCP16312 voltage regulator. Then the 5 V is regulated to 3.3 V, which is the same as using USB micro-B port.
A shunt diode (D1) can be used to allow measurement of the total system power consumption when using the USB micro-B port or a jumper (X5) is provided to allow measurement of the total system power consumption when using an external power supply.
A jumper (X7) is provided to allow current measurement on the 3.3 V rail.
The CEC1x02 Development Board has several jumpers, summarized as follows:
JumperDescriptionDetails
J1KeyPad HeaderConnect to an external keypad up to 4x4
J2JTAG HeaderStandard 20 pin ARM®-JTAG Connec-
tor.
J3JTAG Header1x6 JTAG Connector.
J5Voltage Reference Input SelectSelects the positive voltage input to the
VREF_ADC pin. Shorting the pin 1-2 to
“VREF” will provide a Vdd/3.3V reference. Shorting the center pin 3-4 to
“VPP” will provide a reference voltage of
~1.59 V; this voltage is required by the
CEC1702’s EFUSE programming
sequence. See the "CEC1702 Data
Sheet EFUSE" chapter for additional
information.
The CEC1702PIM has several jumpers, summarized as follows:
JumperDescriptionDetails
J2JTAG/SPI HeaderShared header design is mated with
MikroE's mikroProg for CEC programming/debugger device
T1VCC_RST GroundedPut CEC1702 in reset for SPI flash pro-
gramming if jumper wires to an external
SPI flash programmer such as Dediprog
SF100.
DS50002727A-page 14 2018 Microchip Technology Inc.
CEC1x02 Development Board
User’s Guide
Chapter 6. Initial Hardware Setup
The CEC1x02 Development Board should have all the required jumpers installed for
power up through the USB micro-B port (CN1). You can plug-in the USB micro-B Cable
from the PC to the board and +3.3V power LED (LD5) should be turned on.
eFuse Programming:
Please note that the CEC1702PIM is populated with the Bx "blank" version of device
which will stay in factory automatic test equipment (ATE) mode, which means the boot
ROM will not load any firmware from the external SPI flash device until eFuse programming is completed. However, the JTAG port is enabled in this mode, so using the JTAG
debugger to download code into SRAM for execution will work fine.
Please refer to "CEC1702" Product Page for User's Guide & Utility.
Note:Before performing eFuse programming on CEC1x02 development board,
you must jumper-wire J5 pin 3-4 to connect 1.59 V to the VREF_ADC pin.
Using JTAG for development:
Without performing the eFuse programming, the CEC1702 Bx "blank" device JTAG
port is enabled. You can connect the selected JTAG debugger to the JTAG header,
using the selected IDE development tools to select the CEC1702 device and configure
the debugger settings accordingly and then click on the 'debug' option to download the
compiled application firmware into the SRAM for execution.
For End-Product Evaluation - Building SPI Flash Image & Programming to external SPI flash:
Please refer to the product page sample projects. Depending on which IDE you have
selected, building the SPI image by an external utility may be required. The details are
included in the corresponding sample projects. After building a correct 2 MB size SPI
image, you should use external SPI flash programmer to flash the image into the external SPI flash on the CEC1702PIM. Finally, power cycle the board to see if the firmware
is being executed as expected.
1. Ensure the CEC1702PIM is installed into the CEC1x02 Development
Board.
2. Install jumper X7 is installed.
3. Programming the SPI Flash with mikroProg™:
a) Connect the mikroProg to J2 on CEC1702 PIM board.
b) Launch the mikroProg suite.
CEC1x02 Development Board
User’s Guide
c) Click on Detect MCU to display: CEC1702.
d) Click on Load to load the binary file to program to SPI Flash.
e) Click on Write to write binary file to SPI Flash.