Microchip Technology 8002264997 User Manual Download Page 27

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.

Legal Notice

Information contained in this publication regarding device applications and the like is provided only for
your convenience and may be superseded by updates. It is your responsibility to ensure that your
application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY
OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS
CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE.
Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life
support and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend,
indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting
from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual
property rights unless otherwise stated.

Trademarks

The Microchip name and logo, the Microchip logo, AnyRate, AVR, AVR logo, AVR Freaks, BeaconThings,
BitCloud, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, 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 Logo, SuperFlash, tinyAVR, UNI/O, and XMEGA are registered trademarks of
Microchip Technology Incorporated in the U.S.A. and other countries.

ClockWorks, The Embedded Control Solutions Company, EtherSynch, Hyper Speed Control, HyperLight
Load, IntelliMOS, mTouch, Precision Edge, and Quiet-Wire are registered trademarks of Microchip
Technology Incorporated in the U.S.A.

Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BodyCom,
chipKIT, chipKIT logo, CodeGuard, CryptoAuthentication, CryptoCompanion, CryptoController,
dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial
Programming, ICSP, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, Mindi, MiWi,
motorBench, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient
Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PureSilicon, QMatrix, RightTouch logo, REAL
ICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI, SuperSwitcher, SuperSwitcher II, Total
Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and ZENA are
trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.

Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.

GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of
Microchip Technology Inc., in other countries.

All other trademarks mentioned herein are property of their respective companies.

©

 2017, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.

 ATmega168PB Xplained Mini

©

 2017 Microchip Technology Inc.

 User Guide

DS50002636A-page 27

Summary of Contents for 8002264997

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: