Microchip Technology AVR-IoT Wx Скачать руководство пользователя страница 12

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.

4.1.3 

Mass Storage Device

The on-board debugger includes a simple Mass Storage Device implementation, which is accessible for read/write
operations via the host operating system to which it is connected.

It provides:

• Read access to basic text and HTML files for detailed kit information and support
• Write access for programming Intel

®

 HEX formatted files into the target device’s memory

• Write access for simple text files for utility purposes

4.1.3.1 

Mass Storage Device Implementation

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

The Curiosity Nano USB Device 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.

When using the Windows operating system, the on-board debugger enumerates as a Curiosity Nano USB Device
that can be found in the disk drives section of the 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 an Intel

®

 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 board 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

CLICK-ME.HTM

 – redirect to the AVR-IoT Wx web demo application

KIT-INFO.HTM

 – redirect to the development board website

KIT-INFO.TXT

 – a text file containing details about the board’s debugger firmware version, board name, USB

serial number, device, and drag-and-drop support

PUBKEY.TXT

 – a text file containing the public key for data encryption

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, do not reflect the correct status.

4.1.3.2 

Fuse Bytes

Fuse Bytes (AVR

®

 MCU Targets)

When doing drag-and-drop programming, the debugger masks out fuse bits that attempt to disable Unified Program
and Debug Interface (UPDI). This means that the UPDI pin cannot be used in its reset or GPIO modes; selecting one

 AVR-IoT Wx Hardware User Guide

Hardware User Guide

©

 2020 Microchip Technology Inc.

 User Guide

DS50002805B-page 12

Содержание AVR-IoT Wx

Страница 1: ...ecure represented by the ATECC608A secure element Connected represented by the ATWINC1510 Wi Fi controller module The AVR IoT Wx Development Board features the following elements The on board debugger...

Страница 2: ...tHub Get started with application code AVR IoT WG website Find schematics design files and purchase the board Set up for Google Cloud IoT Core AVR IoT WA website Find schematics design files and purch...

Страница 3: ...an 21 5 4 List of Antenna Types 21 6 Hardware Revision History and Known Issues 22 6 1 Identifying Product ID and Revision 22 6 2 AVR IoT WG 22 6 3 AVR IoT WA 23 7 Document Revision History 24 8 Appen...

Страница 4: ...Worldwide Sales and Service 33 AVR IoT Wx Hardware User Guide 2020 Microchip Technology Inc User Guide DS50002805B page 4...

Страница 5: ...tions with the Microchip ATmega4808 AVR microcontroller ATECC608A secure element and WINC1510 Wi Fi controller module The preprogrammed demo application publishes data from the on board light and temp...

Страница 6: ...PD0 PF5 USER SWITCH 1 PF6 USER SWITCH 0 ATWINC1510 Wi Fi Module Micro USB Connector Power Status LED Programmer Debugger ADC AIN7 ATMEGA4808 Microcontroller Charge Status LEDs LiPo Connector MCP73871...

Страница 7: ...MPLAB Data Visualizer is a program used for processing and visualizing data The Data Visualizer can receive data from various sources such as serial ports and on board debugger s Data Gateway Interfac...

Страница 8: ...Google Cloud IoT Core and the firmware is available on GitHub https github com microchip pic avr solutions avr iot google sensor node mplab For in depth information about the preprogrammed demo appli...

Страница 9: ...power up Power up The LED is ON Normal operation The LED is ON Programming Activity indicator The LED blinks slowly during programming debugging Drag and drop programming Success The LED blinks slowly...

Страница 10: ...ll enumerate as Curiosity Virtual COM Port and appear in the Ports section of the Windows Device Manager The COM port number can also be found there Info On older Windows systems a USB driver is requi...

Страница 11: ...debugger s CDC TX pin 4 1 2 5 Advanced Use CDC Override Mode In normal operation the on board debugger is a true UART bridge between the host and the device However in certain use cases the on board d...

Страница 12: ...hen programming an Intel 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 CUR...

Страница 13: ...gramming mode immediately thereafter Exact timing can vary according to the programming interface of the target device Debugger firmware v1 16 or newer Info The commands listed here are triggered by t...

Страница 14: ...providing a timestamp resolution of a half microsecond 4 2 On Board Debugger Connections The table below shows the connections between the target and the debugger section All connections between the...

Страница 15: ...The charger is configured to limit the charge current to 100 mA to prevent the overcharging of small capacity batteries Minimum recommended battery capacity is 400 mAh WARNING The MCP73871 has a batte...

Страница 16: ...ing event system intelligent analog and advanced peripherals 4 4 2 mikroBUS Socket AVR IoT Wx features a mikroBUS socket for expanding the functionality of the development board using MikroElektronika...

Страница 17: ...roperable with various vendors 802 11 b g n access points This module provides SPI ports to interface with a host controller WINC1510 provides internal Flash memory as well as multiple peripheral inte...

Страница 18: ...to authenticate the hardware with cloud providers to uniquely identify every board Note 7 bit I2C address 0x58 Table 4 7 ATECC608A Connections ATECC608A Pin ATmega4808 Pin Function Shared Functionalit...

Страница 19: ...able on the AVR IoT Wx board that can be controlled with PWM or GPIO The LEDs can be activated by driving the connected I O line to GND Table 4 10 LED Connections ATmega4808 Pin Function Description P...

Страница 20: ...This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instructions may cause harmful interference to radio communications However th...

Страница 21: ...e so chosen that the equivalent isotropically radiated power e i r p is not more than that necessary for successful communication Conform ment la r glementation d Industrie Canada le pr sent metteur r...

Страница 22: ...rr where nnnn is the identifier and rr is the revision Boards with limited space have a sticker with only a data matrix code containing the product identifier revision and serial number The serial nu...

Страница 23: ...MR210PB1952 firmware 19 5 2 The firmware was upgraded to version 19 6 1 in production PCB revision 3 Related Links 4 3 2 Battery Charger 6 3 AVR IoT WA 6 3 1 Revision 1 Revision 1 of AVR IoT WA is th...

Страница 24: ...ment B 03 2020 Updated with AVR IoT WG revsion 9 updated with information about AVR IoT WA A 10 2018 Initial document release AVR IoT Wx Hardware User Guide Document Revision History 2020 Microchip Te...

Страница 25: ...TARGET VCC_TARGET PA3_I2C_SCL PA2_I2C_SDA VCC_TARGET GND 100n C205 PA3_I2C_SCL PA2_I2C_SDA PA5_SPI_MISO PA6_SPI_SCK PA4_SPI_MOSI PF5_SW1_DGI GND Cr yptoAuthenticationTM Temper atur e Sensor GND VCC_TA...

Страница 26: ...G_ADC RESERVED S0_3_CLK DBG0_CTRL CDC_TX_CTRL BOOT DEBUGGER POWER STATUS LED 1k R110 DBG1 DBG1_CTRL REG_ENABLE 100k R107 100k R108 SWCLK 100k R113 GND SRST DEBUGGER TESTPOINT DBG2_CTRL CDC_RX_CTRL 100...

Страница 27: ...RST PA0 PD6 INT MOSI PA4 PA2 SDA t C IoT E b R 8 3 Mechanical Drawings The figures below show the board s mechanical drawing and connector placement Figure 8 4 Mechanical Drawing 100mil 1000mil 100mi...

Страница 28: ...ed the project you want to configure Open the OPTIONS dialog for the project 2 In the category General Options select the Target tab Select the device for the project or if not listed the core of the...

Страница 29: ...Figure 8 6 Select Target Device Figure 8 7 Select Debugger AVR IoT Wx Hardware User Guide Appendix 2020 Microchip Technology Inc User Guide DS50002805B page 29...

Страница 30: ...Figure 8 8 Configure Interface AVR IoT Wx Hardware User Guide Appendix 2020 Microchip Technology Inc User Guide DS50002805B page 30...

Страница 31: ...le through the website at http www microchip com support Microchip Devices Code Protection Feature Note the following details of the code protection feature on Microchip devices Microchip products mee...

Страница 32: ...C Plus logo Quiet Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProvider Vite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the U S A Adjacent K...

Страница 33: ...7252 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 7...

Отзывы: