background image

3. 

Curiosity Nano

Curiosity Nano is an evaluation platform that provides a set of small boards with access to most of the
microcontrollers I/Os. The platform consists of a series of low pin-count microcontroller (MCU) boards,
which are integrated with MPLAB

®

 X to present relevant user guides, application notes, data sheets, and

example code. The platform features a Virtual COM port (CDC) for serial communication to a host PC
and a Data Gateway Interface (DGI) GPIO.

3.1 

On-Board Debugger

The PIC18F47Q10 Curiosity Nano contains an on-board debugger for programming and debugging. The
on-board debugger is a composite USB device of several interfaces: a debugger, a mass storage device,
a data gateway, and a Virtual COM port (CDC).

Together with MPLAB

®

 X, the on-board debugger interface can program and debug the PIC18F47Q10.

A Data Gateway Interface (DGI) is available for use with the logic analyzer channels for code
instrumentation, to visualize the program flow. DGI GPIOs can be graphed using the 

Data Visualizer

.

The Virtual COM port is connected to a UART on the PIC18F47Q10 and provides an easy way to
communicate with the target application through terminal software.

The on-board debugger controls one Power and Status LED (marked PS) on the PIC18F47Q10 Curiosity
Nano board. The table below shows how the LED is controlled in different operation modes.

Table 3-1. On-board Debugger LED Control

Operation Mode

Status LED

Boot Loader mode

LED blink at 1 Hz during power-up.

Power-up

LED is lit - constant.

Normal operation

LED is lit - constant.

Programming

Activity indicator; the LED flashes slowly during programming/debugging.

Fault

The LED flashes fast if a power fault is detected.

Sleep/Off

LED is off. The on-board debugger is either in Sleep mode or powered down.
This can occur if the kit is externally powered.

3.1.1 

Virtual COM Port

A general purpose bridge between a host PC and a target device.

3.1.1.1 

Overview

The debugger implements a composite USB device that includes a standard Communications Device
Class (CDC) interface, which appears on the host as a Virtual COM Port. The CDC can be used to
stream arbitrary data in both directions between the host and the target: the characters sent from the host
will appear in the UART form on the CDC TX pin, and the UART characters sent into the CDC RX pin will
be sent back to the host.

On Windows machines, the CDC will enumerate as Curiosity Virtual COM Port and appear in the Ports
section of the device manager. The COM port number is usually shown here.

Info: 

 On older Windows systems, a USB driver is required for CDC. This driver is included in Atmel

®

Studio and MPLAB X installations.

 PIC18F47Q10 Curiosity Nano

Curiosity Nano

©

 2019 Microchip Technology Inc.

 User Guide

DS40002103A-page 5

Содержание PIC18F47Q10 Curiosity Nano

Страница 1: ...oller Supported by MPLAB X Integrated Development Environment IDE the kit provides easy access to the features of the PIC18F47Q10 and explains how to integrate the device into a custom design The Curi...

Страница 2: ...sion History 17 7 Appendix 18 The Microchip Web Site 22 Customer Change Notification Service 22 Customer Support 22 Microchip Devices Code Protection Feature 22 Legal Notice 23 Trademarks 23 Quality M...

Страница 3: ...ugger 1 8 5 1V output voltage limited by USB input voltage 500 mA maximum output current limited by ambient temperature and output voltage 1 2 Kit Overview The Microchip PIC18F47Q10 Curiosity Nano eva...

Страница 4: ...ks to the most relevant documents and software for the PIC18F47Q10 Curiosity Nano MPLAB X IDE MPLAB X IDE is a software program that runs on a PC Windows Mac OS Linux to develop applications for Micro...

Страница 5: ...rd The table below shows how the LED is controlled in different operation modes Table 3 1 On board Debugger LED Control Operation Mode Status LED Boot Loader mode LED blink at 1 Hz during power up Pow...

Страница 6: ...Data packets that are already queued up for sending to the target will continue to be sent out but no further data will be accepted 3 1 1 4 Advanced Use CDC Override Mode In normal operation the on bo...

Страница 7: ...e contains approximately one MB of free space This does not reflect the size of the target device s Flash in any way When programming a hex file the binary data are encoded in ASCII with metadata prov...

Страница 8: ...Curiosity Nano kits have a standardized pinout The program debug pins have different functions depending on the target programming interface as shown in the table and figure below Table 3 2 Curiosity...

Страница 9: ...t voltage limits are configured in the debugger firmware to ensure that the output voltage never exceeds the hardware limits of the PIC18F47Q10 microcontroller The voltage limits configured in the on...

Страница 10: ...cause permanent damage to the kit Programming debugging and data streaming is still possible while using external power the debugger and signal level shifters will be powered from the USB cable Both r...

Страница 11: ...Debugger Connections to the PIC18F47Q10 DEBUGGER TARGET Level Shift PA04 PA06 PA07 PA08 PA16 PA00 PA01 USB DIR x 5 VCC_P3V3 VBUS VCC_LEVEL VCC_TARGET DBG0 DBG1 DBG2 DBG3 CDC TX CDC RX CDC RX CDCTX DBG...

Страница 12: ...onsumption of the PIC18F47Q10 and other peripherals connected to the board cut the strap and connect an ammeter over the strap The ammeter can be connected between the target VTG pad edge connector an...

Страница 13: ...RD2 RD2 RD3 RD3 GND GND VBUS VBUS VOFF VOFF DBG3 DBG3 RE3 MCLR DBG0 DBG0 RB7 ICSPDAT GND GND VTG VTG RA7 RA7 ANA7 RA6 RA6 ANA6 RA5 RA5 ANA5 RA4 RA4 ANA4 PWM RA3 RA3 ANA3 PWM RA2 RA2 ANA2 RA1 RA1 ANA1...

Страница 14: ...crystal should be disconnected when using the pin as GPIO as this might harm the crystal Table 4 3 Crystal Connections PIC18F47Q10 Pin Function Shared Functionality RC0 SOSC0 Crystal output Edge conn...

Страница 15: ...ctor RD0 CDC RX UART TX PIC18F47Q10 TX line Edge connector RB7 DBG0 ICSPDAT Edge connector RB6 DBG1 ICSPCLK Edge connector RE2 DBG2 GPIO Edge connector RE3 DBG3 MCLR Edge connector VCC_TARGET VCC_LEVE...

Страница 16: ...f the serial number which is listed under kit details contain the product identifier and revision The same information can be found on the sticker on the bottom side of the PCB Most kits will print th...

Страница 17: ...6 Document Revision History Doc rev Date Comment A 03 2019 Initial document release PIC18F47Q10 Curiosity Nano Document Revision History 2019 Microchip Technology Inc User Guide DS40002103A page 17...

Страница 18: ...30 SWDCLK PA30 31 SWDIO PA31 32 GND 3 EP 7 GN G G D 3 EP 7 DBG0_CTRL 7 47k R101 27k R104 7 47k R101 27k R104 DBG1_CTRL REG_ENABLE 47k 47k R103 47k 47k R102 47k 47k R105 47k 47k R100 SRST DBG2_CTRL 47...

Страница 19: ...RA3_ANA3_PWM RC6_SCK RC5_MISO RC4_MOSI RD3 RD2 RD0_TX RD1_RX RC3_RX RC2_TX RC1_SOSCI RE2_SW0 RE0_LED0 RC0_SOSCO RC1_SOSCI 47k 47k R204 47k 47k R205 J211 J210 RB3 11 RB4 12 RB5 13 RB6 ICSPCLK 14 RB7 I...

Страница 20: ...6 RD6 RD5 RD5 RB5 RB5 RC1 RC1 SOSCI RC0 RC0 SOSCO RE1 RE1 RE0 RE0 LED0 GND GND PIC18F47Q10 CURIOSITY NANO Analog Debug I2C SPI UART Shared pinout Peripheral Port PWM Power Ground 1 AN PWM RST INT CS R...

Страница 21: ...AB PICkit 4 In circuit Debugger Programmer to PIC18F47Q10 Curiosity Nano USB DEBUGGER PS LED NC ID CDC RX CDC TX DBG1 DBG2 VBUS VOFF DBG3 DBG0 GND VTG CURIOSITY NANO 2 3 4 5 6 7 8 1 MCLR VDD Ground DA...

Страница 22: ...ow the registration instructions Customer Support Users of Microchip products can receive assistance through several channels Distributor or Representative Local Sales Office Field Application Enginee...

Страница 23: ...ory CryptoRF dsPIC FlashFlex flexPWR Heldo JukeBlox KeeLoq Kleer LANCheck LINK MD maXStylus maXTouch MediaLB megaAVR MOST MOST logo MPLAB OptoLyzer PIC picoPower PICSTART PIC32 logo Prochip Designer Q...

Страница 24: ...n 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 MCUs and dsPIC DSCs KEELOQ code hopping dev...

Страница 25: ...52 China Xiamen Tel 86 592 2388138 China Zhuhai Tel 86 756 3210040 India Bangalore Tel 91 80 3090 4444 India New Delhi Tel 91 11 4160 8631 India Pune Tel 91 20 4121 0141 Japan Osaka Tel 81 6 6152 7160...

Отзывы: