Microchip Technology 8002264997 Скачать руководство пользователя страница 6

2. 

Getting Started

2.1 

Xplained Mini Quick Start

Steps to start exploring the Xplained Mini platform:

1.

Download 

Atmel Studio

.

2.

Launch Atmel Studio.

3.

Connect a USB cable (Standard-A to Micro-B or Micro-AB) between the PC and the USB port on
the kit.

When the Xplained Mini kit is connected to your computer for the first time, the operating system will
perform a driver software installation. The driver file supports both 32- and 64-bit versions of Microsoft

®

Windows

®

 XP, Windows Vista

®

, Windows 7, Windows 8, and Windows 10. The drivers for the kit are

included with the 

Atmel Studio

.

Once the Xplained Mini board is powered the green status LED will blink and Atmel Studio will autodetect
which Xplained Mini board is connected. Atmel Studio will present relevant information like data sheets
and kit documentation. The ATmega168PB device is programmed and debugged by the on-board Mini
Embedded Debugger and therefore no external programmer or debugger tool is required.

2.2 

Design Documentation and Related Links

The most relevant documents and software for the evaluation kit are available here:

ATmega168PB Xplained Mini website

 - Kit information, latest user guide, and design documentation.

ATmega168PB Xplained Mini on Microchip Direct

 - Buy this kit on 

microchipDIRECT

.

Atmel Studio

 - Free IDE for the development of C/C++ and assembler code for microcontrollers.

Xplained products

 - Xplained evaluation kits are a series of easy-to-use evaluation kits for

Microchip microcontrollers and other Microchip products.

Xplained Nano: used for low pin-count devices and provides a minimalistic solution with
access to all I/O pins of the target microcontroller.

Xplained Mini: used for medium pin-count devices and adds Arduino Uno compatible header
footprint and a prototyping area.

Xplained Pro: used for medium to high pin-count devices that features advanced debugging
and standardized extensions for peripheral functions.

Note: 

 All the above kits have on-board programmers/debuggers, which creates a set of low-cost

boards for evaluation and demonstration of features and capabilities of different Microchip products.

Atmel Spaces

 

- Open Source projects for Xplained Mini.

http://start.atmel.com/

 - Atmel START is an online tool to help you select and configure software

components and tailor your embedded application in a usable and optimized manner.

2.3 

Programming and Debugging

2.3.1 

Programming the Target Using mEDBG

Using the Embedded Debugger on the ATmega168PB Xplained Mini board to program the
ATmega168PB.

 ATmega168PB Xplained Mini

©

 2017 Microchip Technology Inc.

 User Guide

DS50002636A-page 6

Содержание 8002264997

Страница 1: ...kit The evaluation kit is a hardware platform to evaluate the ATmega168PB microcontroller The on board mini embedded debugger provides seamless integration with Atmel Studio The kit provides access to...

Страница 2: ...12 3 2 1 mEDBG Low Power Modes 12 3 2 2 mEDBG Fuse Filter 12 3 2 3 mEDBG Command Line Interface 13 3 2 4 Super User Fantastic Feature Enable Register 13 3 3 mEDBG Firmware Upgrade and Manual Bootloade...

Страница 3: ...tory 25 The Microchip Web Site 26 Customer Change Notification Service 26 Customer Support 26 Microchip Devices Code Protection Feature 26 Legal Notice 27 Trademarks 27 Quality Management System Certi...

Страница 4: ...e target MCU One green mEDBG status LED One yellow user LED One mechanical user push button Virtual COM port CDC External target CLK 16MHz at 5V 8MHz at 3 3V USB powered 3 3V regulator Arduino shield...

Страница 5: ...ANALOG J203 DIGITAL J200 DIGITAL J200 Table 1 1 Default Configurations Function Default configuration Other settings Kit power source J300 5 0V USB powered External input VIN 1 Target power J301 5 0V...

Страница 6: ...a168PB Xplained Mini on Microchip Direct Buy this kit on microchipDIRECT Atmel Studio Free IDE for the development of C C and assembler code for microcontrollers Xplained products Xplained evaluation...

Страница 7: ...ot closed by selecting Disable debugWIRE and Close in the Debug menu the DWEN fuse will be enabled and the target will still be in debug mode i e it will not be possible to program the target using th...

Страница 8: ...as debugger and debugWIRE as interface 5 Click the Debug tab and select Start Debugging and Break 6 Atmel Studio will display an error message if the DWEN fuse in the ATmega168PB is not enabled click...

Страница 9: ...ATmega168PB Xplained Mini board ISP connector 3 Go to Atmel Studio Click the Tools tab select Device Programming and select the External Programmer connected as Tool with Device as ATmega168PB and In...

Страница 10: ...the tool menu 4 Connect the ATmega168PB Xplained Mini board USB connector to the PC 5 Select Device ATmega32U4 Device Select 6 Select USB communication Ctrl U 7 Select the memory area to program use...

Страница 11: ...ATmega168PB must match the settings given in the terminal software Info The virtual COM port in the mEDBG requires the terminal software to set the data terminal ready DTR signal to enable the UART pi...

Страница 12: ...able to the target MCU LOWP mode where the mEDBG is set to run at 1MHz Saving power while maintaining the USB connection for the COM port The external clock will be 1MHz Table 3 3 Low Power Modes Oper...

Страница 13: ...ic Feature Enable Register allows the user to modify the behavior of the mEDBG Name SUFFER Offset 0x0120 Reset 0xFF Property N A Bit 7 6 5 4 3 2 1 0 EOF LOWP FUSE Access R W R W R W Reset 1 1 1 Bit 2...

Страница 14: ...line utility atfw exe provided with the Atmel Studio atfw exe is located in the atbackend folder in your Atmel Studio install location To manually upgrade the firmware run the following command atfw...

Страница 15: ...connections to the ATmega168PB The tables of connections in the sections below also describe which signals are shared between the headers and on board functionality The figure below shows the assembl...

Страница 16: ...nal voltage input VIN The default power source is 5 0V from a USB The USB port is protected with a 500mA PTC resettable fuse The ATmega168PB is powered from the 5 0V USB voltage by default The figure...

Страница 17: ...4 2 Board Assembly The Xplained Mini board can easily be assembled into a product prototype for software development and hardware verification All signals of the ATmega168PB are available in the Xpla...

Страница 18: ...TXD ATmega168PB USART Output Pin 3 PD2 4 PD3 5 PD4 6 PD5 7 PD6 8 PD7 4 3 2 Board Power Header The J202 header enables connection to the ATmega168PB Xplained Mini power system Table 4 3 J202 Power Hea...

Страница 19: ...3 5 PC4 ADC Input Channel 4 6 PC5 ADC Input Channel 5 4 3 4 Target Programming The J204 header enables direct connection to the ISP bus with an external programmer for programming of the ATmega168PB...

Страница 20: ...e push button SW200 is connected to PB7 Figure 4 4 User Button PB7 1 3 4 2 SKRAAKE010 SW200 GND 100k R209 VCC_TARGET 100n C204 USER BUTTON 4 4 2 User LED There is one yellow LED D200 available for use...

Страница 21: ...o connected to the ATmega168PB via 0 resistors enabling easy disconnect from the ATmega168PB if needed The RX TX silk screen notation next to J104 refers to the RX and TX pins of the mEDBG ATmega32U4...

Страница 22: ...n legacy header used on the RZ600 wireless modules and the 10 pin Xplained sensor modules The general bus connections for an Xplained Pro Extension board are indicated in the table below Detailed wiri...

Страница 23: ...ect for SPI 16 SPI_MOSI Master out slave in line of serial peripheral interface 17 SPI_MISO Master in slave out line of serial peripheral interface 18 SPI_SCK Clock for serial peripheral interface 19...

Страница 24: ...st six digits of 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 kit...

Страница 25: ...mat and replaced the Atmel document number 42381B Restructured the document added the Hardware Revision History and Known Issues chapter 42381B 09 2015 Updated version 42381A 10 2014 Initial document...

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

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

Страница 28: ...gon 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 devices Serial EEPROMs microperipherals non...

Страница 29: ...9 8833 7252 Fax 86 29 8833 7256 China Xiamen Tel 86 592 2388138 Fax 86 592 2388130 China Zhuhai Tel 86 756 3210040 Fax 86 756 3210049 India Bangalore Tel 91 80 3090 4444 Fax 91 80 3090 4123 India New...

Отзывы: