1.2 Curiosity-HPC-User-Guide - (FreeCourseWeb - Com)
1.2 Curiosity-HPC-User-Guide - (FreeCourseWeb - Com)
Development Board
User’s Guide
• 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.
== ISO/TS 16949 ==
Table of Contents
Preface ........................................................................................................................... 5
Chapter 1. Introduction to Curiosity High Pin Count (HPC)
1.1 Curiosity High Pin Count (HPC) Development Board Kit Contents ................ 9
Chapter 2. Getting Started
2.1 Programming the Curiosity HPC Development Board ................................. 11
2.1.1 Programming Using MPLAB® X ............................................................... 11
2.1.2 Programming using MPLAB® Xpress ....................................................... 15
Chapter 3. Troubleshooting
3.1 The MCU Will Not Program Using The PKOB ............................................. 21
Appendix A. Schematic
A.1 Curiosity HPC Development Board Schematic ............................................ 23
Appendix B. General Notes
B.1 mikroBus™ Clicks ........................................................................................ 25
B.2 Solder Blob Jumper ..................................................................................... 25
Worldwide Sales and Service .................................................................................... 27
NOTES:
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 website
(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® IDE online help.
Select the Help menu, and then Topics to open a list of available online help files.
INTRODUCTION
This chapter contains general information that will be useful to know before using the
Curiosity HPC Development Board. Items discussed in this chapter include:
• Document Layout
• Conventions Used in this Guide
• Recommended Reading
• The Microchip Website
• Development Systems Customer Change Notification Service
• Customer Support
• Revision History
DOCUMENT LAYOUT
This document describes how to use the Curiosity HPC Development Board as a
development tool to emulate and debug firmware on a target board. The document is
organized as follows:
• Chapter 1. “Introduction to Curiosity High Pin Count (HPC)” – This chapter
contains general information regarding the Curiosity HPC Development Board kit
contents, layout and power source.
• Chapter 2. “Getting Started” – This chapter offers information on how to
program the Curiosity HPC Development Board.
• Chapter 3. “Troubleshooting” – Consult this chapter for troubleshooting
information.
• Appendix A. “Schematic” – This appendix lists the Curiosity HPC Development
Board schematic.
• Appendix B. “General Notes” – Refer to this appendix for general notes on
using the Click module sockets and the solder blob jumpers.
DOCUMENT 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 “Save project before build”
dialog
Underlined, italic text with A menu path File>Save
right angle bracket
Bold characters A dialog button Click OK
A tab Click the Power tab
N‘Rnnnn A number in verilog format, 4‘b0010, 2‘hF1
where N is the total number of
digits, R is the radix and n is a
digit.
Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>
Courier New font:
Plain Courier New Sample source code #define START
Filenames autoexec.bat
File paths c:\mcc18\h
Keywords _asm, _endasm, static
Command-line options -Opa+, -Opa-
Bit values 0, 1
Constants 0xFF, ‘A’
Italic Courier New A variable argument file.o, where file can be
any valid filename
Square brackets [ ] Optional arguments mcc18 [options] file
[options]
Curly brackets and pipe Choice of mutually exclusive errorlevel {0|1}
character: { | } arguments; an OR selection
Ellipses... Replaces repeated text var_name [,
var_name...]
Represents code supplied by void main (void)
user { ...
}
RECOMMENDED READING
This user’s guide describes how to use the Curiosity HPC Development Board. For the
latest information on using other tools, refer to the MPLAB® X IDE home page:
www.microchip.com/mplab/mplab-x-ide. This resource page contains updated
documentation, downloads and links to other MPLAB X compatible tools, plug-ins and
much more.
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
Customers should contact their distributor, representative or field application engineer
(FAE) for support. Local sales offices are also available to help customers.
Technical support is available through the website at:
www.microchip.com/support.
REVISION HISTORY
Revision A (July 2016)
Initial release of this document.
3 4 5 6 7
11 4 10 9 8
4. The Project Properties window will open. This window allows for the selection of
the programming tool, compiler, and PIC MCU. MPLAB X refers to the Curiosity
HPC Board as ‘Starter Kits (PKOB)’, with ‘Curiosity’ listed below in the Hardware
Tool selection window. Click on Curiosity to select the Curiosity HPC Board,
then click the Apply button (as seen in Figure 2-2).
5. In the upper left-hand corner of the Project Properties window, click on Starter
Kits (PKOB). The window will now show the configuration options for the PKOB
programmer, as shown in Figure 2-3.
6. In the Option categories drop-down menu, select Program Options; ensure that
the Enable Low Voltage Programming check box is checked (Figure 2-4). This
option should go default to checked, which ensures low-voltage programming.
Click the OK button. The Curiosity HPC Board is now ready to be programmed.
7. Once the project is ready to be programmed, simply click on the Make and
Program Device button, and MPLAB will build and compile the code and
program the PIC device, as displayed in Figure 2-5.
5. The new window configures the USB connection between the computer and the
Curiosity HPC Board (Figure 2-7). Step 1 indicates that the latest Java Runtime
Environment must be installed, allowing the user to download and install the
latest version. Step 2 opens the bridge tool; click on the Download USB Bridge
Tool button to download the bridge tool. A new window, MPLAB Xpress USB
Bridge will appear, and may ask for the unique token found in Step 3 in the
Manage USB Bridge window. Copy and paste the token into the USB Bridge tool.
Once connected, the Bridge tool will show the connection and the words
“Everything is looking good.” will appear (Figure 2-8). It is important to note that
the Bridge Tool window must remain open while working on the project. Click the
OK button in the Manage USB Bridge window.
7. The Project Properties window will open; this window allows for the selection of
the programming tool, compiler, and PIC MCU. MPLAB Xpress refers to the
Curiosity HPC Board as ‘Curiosity’, with the Curiosity HPC serial number listed
below in the Hardware Tool selection window. Click on the serial number to
select the Curiosity HPC Board, then click the Apply button (Figure 2-10).
8. In the upper left-hand corner of the Project Properties window, click on Starter
Kit (PKOB). The window will now show the program options for the PKOB.
Ensure that the Enable Low-Voltage Programming check box is checked
(Figure 2-11) and press the OK button. The Curiosity HPC Board is now ready to
be programmed.
NOTES:
Chapter 3. Troubleshooting
This chapter discusses common operational issues and methods to resolve them.
NOTES:
FIGURE A-1:
%/. '13 X) X) 5$ 5$ 5% 5%
9 5$ 5$ 5% 5%
73
5$ 5$ 5% 5%
02'8/(
5$ 5$ 5% 5%
%/. '13 5$ 5$ 5% 5% 9 986%
-
966 5% 5%
79''
79'' 79'' 79'' 79''
% 5(' '13 - %
9 02'8/(
5( 5(0&/5 5%3*' 5%
9 & & 5$ 5$ 5%3*& 5% 9 986%
-
5(' '13 X) X) 5$ 5$ 5% 5%
- -
9 5$ 5$ 5% 5% 5$ $1 3:0 5'
- -
5$ 5$ 5% 5% 5' 567 ,17 5%
- - 5 5
5$ 5$ 5% 5% 5' &6 5; 5&
- - 5 5
5$ 5$ 5% 5% 5% 6&. 7; 5&
- -
5( 5( 5% 5% 5% 0,62 6&/ 5&
- -
5( 5( 9'' 5% 026, 6'$ 5&
5( 5( 966 9 9 9 986%
9'' 5' 5' *1' *1'
79'' 79''
966 5' 5'
PLNUR%86
5$ 5$ 5' 5'
5$ 5$ 5' 5'
5 5
5& 5& 5;5& 5&
N N
5& 5& 7;5& 5&
5 5& 5& 5& 5&
-
5& 5& 5& 5& 5&
N 5' 5' 5' 5'
5 5' 5' 5' 5'
-
5%
7$5*(73,&3',3
6 6 N
& &
62/'(5%/2%-803(56
- - -
5$
5( 5( 5% 5%
-
5$ 5$ 5$ 5% 5%
5$ 5$ 5% 5%
-
5$ 5$ 5$ 5% 5%
Appendix A. Schematic
CURIOSITY HPC DEVELOPMENT BOARD SCHEMATIC
5 5' 5'
5 5 5 5 5
N N N N 5' 5'
N 'UDZQ%\
N 5$ 5$ 5' 5'
0/RSHU
5$ 5$ 5' 5'
5& 5& 5& 5& (QJLQHHU
' ' ' ' ' 5& 5& 5& 5& 03HDUFH '
5(' 5(' 5(' 5(' 5& 5& 5& 5&
3DUW1XPEHU 3URMHFW7LWOH
5& 5& 5& 5&
'0
5' 5' 5' 5' &XULRVLW\+3&
BOARD USER’S GUIDE
CURIOSITY HIGH PIN COUNT DEVELOPMENT
DS40001856B-page 23
39 39
5
DS40001856B-page 24
N
8352* 79''
$ 39 39 39 $
9330&/5
9''
39 5
*1' 5
39 5 5 &
,&63'$7 3*(' N
& N &
,&63&/. 3*(&
8 5 5
1& N X)
N 8
X) 0&/5 3*('$195()5330$&15% 95()B9 9 X)
'13
9 (195(* 3*(&$195()53&15% 9&&$ 9&&% 9
$1&,1%90,253&15% 9''B6(16( 9''B6(16(
5
5 9&$39''&25( $1&,1$93,2&15% 933B6(16( N 933B6(16( '$7$B(1 ',5
9%86 3*('$1&,1%86%2(153&15%
5 986% 3*(&$1&,1$9%862153&15% 3*'B/ $ % 7*B3*'
5 5
3*(&$153&15% 3*(& N N
9'' 3*('$1535&9&15% 3*(' *1'
9 39 5
9'' $153&15% N
)% 61/9&7'&.5
9'' $15330$&15%
39
$9'' 706&95()$130$&15%
2+0 7'2$130$&15%
966 7&.$130$&7('&15% 3:5*22'B3.
5
& & & & 966 7',$130$&7('&15%
N
X) X) X) X) 966 $1&73/65330$&15%
79''
9 9 9 9 $966 $1535()230$&15%
(3
% 26&,&/.,&15& %
39 5
626&,&,1'&15& 5
< &
626&27&.&,1&53,&15& 0+]
&
26&2&/.2&15&
986%
)% X) 8
'0+53,17&15' ((B6'2 9 X)
5
9&3&2153&15' & & 9&&$ 9&&% 9
N
2+0 '3+53&15' 6&. S) S)
5330%(&15' 6', 9 9 &/.B(1 ',5
&
7+ 5330:5&15' 6'2 5
W
X)
P$ 53305'&15' ((B&6 6'2 3*'B/ 3*&B/ $ % 7*B3*&
9
&,1%&15' 5
&,1$&15' ((B:3 *1'
86% 5
86%0,&52% 57&&'0/153&15' ((B6&. N
61/9&7'&.5
9%86679&0367&15) '3/16'$53&15' 5
9%86 9&0367&15) 6&/5330&6&15' 6',
39
' 'B1 5386%,'&15) 5330&6&15' ((B6', 5
' 'B3 6'$5330$&15)
39
,' 6&/5330$&15) 30'&15( &/.B(1
5
*1' 30'&15( '$7$B(1 N 5
39
'B3 '5* 30'&15( 6&. 3*&B/
5
'B1 '5* 30'&15( 5 N
&,1'5330$&15* 30'&15(
&,1&5330$&15* 30'&15(
& 4 &
&,1'5330$&15* 6&/30'&15(
00%7
5330$&,1&&15* 6'$30'&15(
5
3,&)-*% 5 N
5
N 7*B0&/5 5(
5 5
986% 8 9 4
0&39
79'' 00%7
N
5
9,1 9287 5
7*B3*' 5%
*1' 7*B0&/5
5 5 5
5 5 N 6
& N N & &
39 39 39
X) X) X) 5 5
& 4
9 9 9 7*B3*& 5%
00%7
5 N
' 5
N X)
*51 9
8
79''
3:5*22'B3. ((B&6 &6 9&&
7$5*352*
((B6&. 6&.
((B6'2 6, 62 ((B6', 9330&/5
986% 'UDZQ%\
((B:3 :3 9''
0/RSHU
*1'
- +2/' 966 ,&63'$7 (QJLQHHU
CURIOSITY HPC DEVELOPMENT BOARD SCHEMATIC (2 OF 2)
' 99
5 '
N ,&63&/. 03HDUFH
6(/(&7
/&
79'' 1&
-803(5 3DUW1XPEHU 3URMHFW7LWOH
Curiosity High Pin Count Development Board User’s Guide
'13 '0 &XULRVLW\+3&
6KHHW7LWOH 'HVLJQHGZLWK
9 3$' 3$' 3$' 3$' /2*2 3.2%&LUFXLW
6L]H 6FK 'DWH $0
0&+3 5 % 5HYLVLRQ 6KHHW RI $OWLXPFRP
/RJRB0&+3B6PDOO )LOH V6FK'RF
NOTES: