Microchip Technology PIC16F15376 Curiosity Nano Hardware User'S Manual Download Page 8

When receiving data from the target, the on-board debugger will queue up the incoming bytes into 64-byte frames,
which are sent to the USB queue for transmission to the host when they are full. Incomplete frames are also pushed
to the USB queue at approximately 100 ms intervals, triggered by USB start-of-frame tokens. Up to 8 x 64-byte
frames can be active at any time.

If the host, or the software running on it, fails to receive data fast enough, an overrun will occur. When this happens,
the last-filled buffer frame will be recycled instead of being sent to the USB queue, and a full frame of data will be
lost. To prevent this occurrence, the user must ensure that the CDC data pipe is being read continuously, or the
incoming data rate must be reduced.

3.1.2 

Mass Storage Disk

A simple way to program the target device is through drag and drop with 

.hex

 files.

3.1.2.1 

Mass Storage Device

The on-board debugger implements a highly optimized variant of the FAT12 file system that has a number of
limitations, partly due to the nature of FAT12 itself and optimizations made to fulfill its purpose for its embedded
application.

The CURIOSITY drive is USB Chapter 9 compliant as a mass storage device but does not, in any way, fulfill the
expectations of a general purpose mass storage device. This behavior is intentional.

The on-board debugger enumerates as a Curiosity Nano USB device that can be found in the disk drives section of
the Windows device manager. The CURIOSITY drive appears in the file manager and claims the next available drive
letter in the system.

The CURIOSITY drive 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

providing a large overhead, so one MB is a trivially chosen value for disk size.

It is not possible to format the CURIOSITY drive. When programming a file to the target, the filename may appear in
the disk directory listing. This is merely the operating system’s view of the directory, which, in reality, has not been
updated. It is not possible to read out the file contents. Removing and replugging the kit will return the file system to
its original state, but the target will still contain the application that has been previously programmed.

To erase the target device, copy a text file starting with “CMD:ERASE” onto the disk.

By default, the CURIOSITY drive contains several read-only files for generating icons as well as reporting status and
linking to further information:

AUTORUN.ICO

 - icon file for the Microchip logo.

AUTORUN.INF

 - system file required for Windows Explorer to show the icon file.

KIT-INFO.HTM

 - redirect to the development board website.

KIT-INFO.TXT

 - a text file containing details about the kit firmware, name, serial number, and device.

STATUS.TXT

 - a text file containing the programming status of the board.

Info: 

 

STATUS.TXT

 is dynamically updated by the on-board debugger, the contents may be cached by the

OS and therefore not reflect the correct status.

3.1.2.2 

Configuration Words

Configuration Words (PIC

®

 MCU Targets)

Configuration Word settings included in the project being programmed after program Flash is programmed. The
debugger will 

not

 mask out any bits in the Configuration Words when writing them, but since it uses Low-Voltage

Programming mode, it is unable to clear the LVP Configuration bit. If the incorrect clock source is selected, for
example, and the board does not boot, it is always possible to perform a bulk erase (always done before
programming) and restore the device to its default settings.

 PIC16F15376 Curiosity Nano

Curiosity Nano

©

 2019 Microchip Technology Inc.

 User Guide

50002900B-page 8

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Summary of Contents for PIC16F15376 Curiosity Nano

Page 1: ...Microchip MPLAB X Integrated Development Environment IDE the kit provides easy access to the features of the PIC16F15376 to explore how to integrate the device into a custom design The Curiosity Nano...

Page 2: ...ls 16 5 Hardware Revision History and Known Issues 18 5 1 Identifying Product ID and Revision 18 5 2 Revision 2 18 5 3 Revision 1 18 6 Document Revision History 19 7 Appendix 20 7 1 Schematic 20 7 2 A...

Page 3: ...LDO regulator controlled by the on board debugger 2 3 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...

Page 4: ...like data sheets and kit documentation The PIC16F15376 device is programmed and debugged by the on board debugger and therefore no external programmer or debugger tool is required 2 3 Design Documenta...

Page 5: ...76 Curiosity Nano on microchipDIRECT Purchase this kit on microchipDIRECT PIC16F15376 Curiosity Nano Getting Started 2019 Microchip Technology Inc User Guide 50002900B page 5 Downloaded from Arrow com...

Page 6: ...D Control Operation Mode Status LED Boot Loader mode LED blink at 1 Hz during power up Power up LED is ON Normal operation LED is ON Programming Activity indicator The LED flashes slowly during progra...

Page 7: ...r Enable to set up your terminal emulator to assert the DTR signal Without it the on board debugger will not send or receive any data through its UART 3 1 1 4 Advanced Use CDC Override Mode In normal...

Page 8: ...ze It is not possible to format the CURIOSITY drive When programming a file to the target the filename may appear in the disk directory listing This is merely the operating system s view of the direct...

Page 9: ...C NC ID ID CDC RX CDCRX CDC TX CDCTX DBG1 DBG1 DBG2 DBG2 VBUS VBUS VOFF VOFF DBG3 DBG3 DBG0 DBG0 GND GND VTG VTG CURIOSITY NANO 3 3 Power Supply The kit is powered through the USB port and contains tw...

Page 10: ...rd debugger on PIC16F15376 Curiosity Nano are 2 3 5 1V Info The target voltage is set to 3 3V in production It can be changed through MPLAB X project properties Any change to the target voltage is per...

Page 11: ...power supply The debugger and signal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters are powered down when the USB cable is removed 3 3 3 VBUS Out...

Page 12: ...Target Power strap top side Tip A 100 mil pin header can be soldered into the Target Power strap J101 footprint for easy connection of an ammeter Once the ammeter is not needed anymore place a jumper...

Page 13: ...CDC RX CDC TX DBG3 DBG2 DBG1 DBG0 GPIO straps LDO VOFF LDO VBUS VTG VCC_EDGE Power Supply strap Target Power strap By cutting the GPIO straps with a sharp tool as shown in Figure 3 7 all I Os connect...

Page 14: ...page 14 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloade...

Page 15: ...ignals shown in the image above such as UART I2C SPI ADC PWM and others are shown at specific pins to comply with the Curiosity Nano board standard These signals can usually be routed to alteriative p...

Page 16: ...4 2 Mechanical Switch PIC16F15376 Pin Description Shared Functionality RE2 User switch SW0 Edge connector 4 2 3 Crystal The PIC16F15376 Curiosity Nano board has a footprint for a 32 768 kHz crystal Th...

Page 17: ...of the signals the pins can be configured to anything the user wants For further information on how to use the capabilities of the on board debugger see Section 3 Curiosity Nano Table 4 4 On Board De...

Page 18: ...vision s serial number The product identifier for PIC16F15376 Curiosity Nano is A09 3251 5 2 Revision 2 Revision 2 adds the Target Power strap and staggered the holes along the edge of the PCB for con...

Page 19: ...rrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloade...

Page 20: ...1_SCL RC4_MOSI RC5_MISO RC6_SCK RD4_SS RD0_TX RD1_RX RD2 RD3 RB0_TX RB3_RX RB4 RC7 RE3_MCLR RB7_ICSPDAT RA7_ANA7 RA6_ANA6 RA5_ANA5 RA4_ANA4_PWM RA3_ANA3_PWM RA2_ANA2 RA1_ANA1 RA0_ANA0 RD7 RD6 RD5 RB5...

Page 21: ...PIO DBG3_CTRL DBG2_CTRL UPDI UPDI GPIO GPIO RESET Signal DBG0 DBG1 DBG2 DBG3 ICSP Interface DAT CLK GPIO MCLR DBG3 CDC TX CDC RX UART RX UART TX UART RX UART TX TARGET TARGET 1k 1k R110 VBUS_ADC DMN65...

Page 22: ...0 0 0 4 1 P A J 2 0 0 0 4 0 P A J 2 0 0 0 3 9 P A J 2 0 0 0 3 8 P A J 2 0 0 0 3 7 P A J 2 0 0 0 3 6 P A J 2 0 0 0 3 5 P A J 2 0 0 0 3 4 P A J 2 0 0 0 3 3 P A J 2 0 0 0 3 2 P A J 2 0 0 0 3 1 P A J 2 0...

Page 23: ...GND GND 3 AN PWM RST INT CS RX SCK TX MISO SCL MOSI SDA 3 3V 5V GND GND Xplained Pro Extension EXT1 1 2 19 20 Curiosity Nano Base for click boards TM RA0 RA3 RA7 RA6 RD4 RC3 RC6 RC2 RC5 RB1 RC4 RB2 3...

Page 24: ...the on board debugger can not enter programming mode of the PIC16F15376 and will typically fail at reading the device ID CAUTION To avoid contention between the external debugger and the on board deb...

Page 25: ...ne 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 pro...

Page 26: ...e CryptoCompanion CryptoController dsPICDEM dsPICDEM net Dynamic Average Matching DAM ECAN EtherGREEN In Circuit Serial Programming ICSP INICnet Inter Chip Connectivity JitterBlocker KleerNet KleerNet...

Page 27: ...ng Tel 60 4 227 8870 Philippines Manila Tel 63 2 634 9065 Singapore Tel 65 6334 8870 Taiwan Hsin Chu Tel 886 3 577 8366 Taiwan Kaohsiung Tel 886 7 213 7830 Taiwan Taipei Tel 886 2 2508 8600 Thailand B...

Reviews: