background image

AMERICAS

ASIA/PACIFIC

ASIA/PACIFIC

EUROPE

Corporate Office

2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support:

www.microchip.com/support

Web Address:

www.microchip.com

Atlanta

Duluth, GA
Tel: 678-957-9614
Fax: 678-957-1455

Austin, TX

Tel: 512-257-3370

Boston

Westborough, MA
Tel: 774-760-0087
Fax: 774-760-0088

Chicago

Itasca, IL
Tel: 630-285-0071
Fax: 630-285-0075

Dallas

Addison, TX
Tel: 972-818-7423
Fax: 972-818-2924

Detroit

Novi, MI
Tel: 248-848-4000

Houston, TX

Tel: 281-894-5983

Indianapolis

Noblesville, IN
Tel: 317-773-8323
Fax: 317-773-5453
Tel: 317-536-2380

Los Angeles

Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
Tel: 951-273-7800

Raleigh, NC

Tel: 919-844-7510

New York, NY

Tel: 631-435-6000

San Jose, CA

Tel: 408-735-9110
Tel: 408-436-4270

Canada - Toronto

Tel: 905-695-1980
Fax: 905-695-2078

Australia - Sydney

Tel: 61-2-9868-6733

China - Beijing

Tel: 86-10-8569-7000

China - Chengdu

Tel: 86-28-8665-5511

China - Chongqing

Tel: 86-23-8980-9588

China - Dongguan

Tel: 86-769-8702-9880

China - Guangzhou

Tel: 86-20-8755-8029

China - Hangzhou

Tel: 86-571-8792-8115

China - Hong Kong SAR

Tel: 852-2943-5100

China - Nanjing

Tel: 86-25-8473-2460

China - Qingdao

Tel: 86-532-8502-7355

China - Shanghai

Tel: 86-21-3326-8000

China - Shenyang

Tel: 86-24-2334-2829

China - Shenzhen

Tel: 86-755-8864-2200

China - Suzhou

Tel: 86-186-6233-1526

China - Wuhan

Tel: 86-27-5980-5300

China - Xian

Tel: 86-29-8833-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-7160

Japan - Tokyo

Tel: 81-3-6880- 3770

Korea - Daegu

Tel: 82-53-744-4301

Korea - Seoul

Tel: 82-2-554-7200

Malaysia - Kuala Lumpur

Tel: 60-3-7651-7906

Malaysia - Penang

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

Tel: 66-2-694-1351

Vietnam - Ho Chi Minh

Tel: 84-28-5448-2100

Austria - Wels

Tel: 43-7242-2244-39
Fax: 43-7242-2244-393

Denmark - Copenhagen

Tel: 45-4485-5910
Fax: 45-4485-2829

Finland - Espoo

Tel: 358-9-4520-820

France - Paris

Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79

Germany - Garching

Tel: 49-8931-9700

Germany - Haan

Tel: 49-2129-3766400

Germany - Heilbronn

Tel: 49-7131-72400

Germany - Karlsruhe

Tel: 49-721-625370

Germany - Munich

Tel: 49-89-627-144-0
Fax: 49-89-627-144-44

Germany - Rosenheim

Tel: 49-8031-354-560

Israel - Ra’anana

Tel: 972-9-744-7705

Italy - Milan

Tel: 39-0331-742611
Fax: 39-0331-466781

Italy - Padova

Tel: 39-049-7625286

Netherlands - Drunen

Tel: 31-416-690399
Fax: 31-416-690340

Norway - Trondheim

Tel: 47-72884388

Poland - Warsaw

Tel: 48-22-3325737

Romania - Bucharest

Tel: 40-21-407-87-50

Spain - Madrid

Tel: 34-91-708-08-90
Fax: 34-91-708-08-91

Sweden - Gothenberg

Tel: 46-31-704-60-40

Sweden - Stockholm

Tel: 46-8-5090-4654

UK - Wokingham

Tel: 44-118-921-5800
Fax: 44-118-921-5820

Worldwide Sales and Service

©

 2020 Microchip Technology Inc.

 User Guide

DS50002804B-page 42

Summary of Contents for ATmega4809 Curiosity Nano

Page 1: ...osity Nano series of evaluation boards include an on board debugger No external tools are necessary to program and debug the ATmega4809 MPLAB X IDE and Atmel Studio Software to discover configure deve...

Page 2: ...als 26 4 3 On Board Debugger Implementation 28 5 Hardware Revision History and Known Issues 29 5 1 Identifying Product ID and Revision 29 5 2 Revision 8 29 5 3 Revision 7 29 5 4 Revision 5 29 6 Docume...

Page 3: ...Quality Management System 41 Worldwide Sales and Service 42 ATmega4809 Curiosity Nano 2020 Microchip Technology Inc User Guide DS50002804B page 3...

Page 4: ...lator controlled by the on board debugger 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 Board Overview The Mi...

Page 5: ...mel Studio 7 will auto detect which boards are connected The Kit Window in MPLAB X IDE and Atmel Studio 7 will present relevant information like data sheets and board documentation The ATmega4809 devi...

Page 6: ...sources such as serial ports and on board debugger s Data Gateway Interface as found on Curiosity Nano and Xplained Pro boards Studio Data Visualizer Studio Data Visualizer is a program used for proce...

Page 7: ...ation through terminal software A Data Gateway Interface DGI for code instrumentation with logic analyzer channels debug GPIO to visualize program flow The on board debugger controls a Power and Statu...

Page 8: ...rminal Receive Terminal Send Info As shown in Figure 3 1 the debugger s CDC TX pin is connected to a UART RX pin on the target for receiving characters from the host computer Similarly the debugger s...

Page 9: ...he following behavior Debugger UART receiver is disabled so no further data will be transferred to the host computer Debugger UART transmitter will continue to send data that is queued for sending but...

Page 10: ...th explicit baud rates CMD SEND_9600 CMD SEND_115200 CMD SEND_460800 USB Level Framing Considerations Sending data from the host to the CDC can be done byte wise or in blocks which will be chunked int...

Page 11: ...get 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 sev...

Page 12: ...wer CMD 5V0 Sets the target voltage to 5 0V If external power is provided this has no effect Debugger firmware v1 16 or newer Info The commands listed here are triggered by the content being sent to t...

Page 13: ...tamp counter implemented in the Curiosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsecond 3 2 Curiosity Nano Standard Pinout The 12 edge connections...

Page 14: ...cording to the USB specification and will limit the maximum voltage to the target The figure below shows the entire power supply system on ATmega4809 Curiosity Nano Figure 3 4 Power Supply Block Diagr...

Page 15: ...and text file to the board This supports a set of common target voltages See section 3 1 3 3 Special Commands for further details The MIC5353 supports a maximum current load of 500 mA It is an LDO reg...

Page 16: ...external voltage is applied without pulling the VOFF pin low and an external supply pulls the voltage lower than the monitoring window s lower limit target voltage setting 100 mV the on board debugger...

Page 17: ...t From Setting This can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the target voltage differs more than 100 mV over under the voltage setting it will...

Page 18: ...ption on the VBUS pin to fix this issue 3 4 Low Power Measurement Power to the ATmega4809 is connected from the on board power supply and VTG pin through a 100 mil pin header marked with POWER in silk...

Page 19: ...ntrollers on external hardware 3 5 1 Supported Devices All external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on board debugger with Atmel Studio External SA...

Page 20: ...e on board debugger 3 5 3 Hardware Modifications The on board debugger is connected to the ATmega4809 by default These connections must be removed before any external microcontroller can be programmed...

Page 21: ...wer Supply The on board debugger and level shifters actively drive data and clock signals DBG0 DBG1 and DBG2 used for programming and debugging and in most cases the external resistor on these signals...

Page 22: ...ecting External Debuggers Even though there is an on board debugger external debuggers can be connected directly to the ATmega4809 Curiosity Nano to program debug the ATmega4809 The on board debugger...

Page 23: ...4 5 6 7 8 1 VDD Ground DATA 2 VDD 3 Ground 4 PGD 5 Unused 6 Unused 7 Unused 8 Unused 1 Unused MPLAB PICkit 4 USB DEBUGGER PS LED NC ID CDC RX CDC TX DBG1 DBG2 VBUS VOFF DBG3 DBG0 GND VTG CURIOSITY NA...

Page 24: ...RX CDC TX DBG1 DBG2 VBUS VOFF DBG3 DBG0 GND VTG CURIOSITY NANO CAUTION To avoid contention between the external debugger and the on board debugger do not start any programming debug operation with th...

Page 25: ...PB0 USART3 TX CDC RX PB1 PB1 USART3 RX CDC TX PB2 PB2 PB3 PB3 GND GND PE0 PE0 PE1 PE1 PE2 PE2 PE3 PE3 VBUS VBUS VOFF VOFF DBG3 DBG3 PF6 SW0 DBG0 DBG0 UPDI GND GND VTG VTG PD7 PD7 AIN7 PD6 PD6 AIN6 PD...

Page 26: ...them in Tip For applications where the pin headers will be used permanently it is still recommended to solder them in place Important Once the pin headers are in place they are hard to remove by hand...

Page 27: ...O lines routed to the edge connector are disconnected by default to both reduce the chance of contention to the crystal as well as removing excessive capacitance on the lines when using the crystal To...

Page 28: ...ions between the target and the debugger section All connections between the target and the debugger are tri stated as long as the debugger is not actively using the interface Hence since there are li...

Page 29: ...he bottom side of the PCB Most boards will have the identifier and revision printed in plain text as A09 nnnn rr where nnnn is the identifier and rr is the revision Boards with limited space have a st...

Page 30: ...sion History Doc rev Date Comment B 10 2020 New hardware revisions A 10 2018 Initial document release ATmega4809 Curiosity Nano Document Revision History 2020 Microchip Technology Inc User Guide DS500...

Page 31: ...7 1k R202 YELLOW LED SML D12Y1WT86 2 1 D200 TS604VM1 035CR 1 3 4 2 SW200 GND GND GND GND GND UPDI PF6 J207 J208 J209 PF3 PF2 BLM18PG471SN1 L200 ATmega4809 2 2uF C205 GND DBG0 CDC_UART TX RX UART CDC_T...

Page 32: ...DRAIN TARGET ADJUSTABLE REGULATOR SRST DEBUGGER TESTPOINT DBG2_CTRL VOFF CDC_RX_CTRL 47k R109 DBG1 CDC_TX_CTRL CDC_RX_CTRL SWCLK REG_ADJUST DBG2_GPIO DBG3_CTRL DBG2_CTRL UPDI UPDI GPIO GPIO RESET Sig...

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

Page 34: ...PD1 PD1 AIN1 PD0 PD0 AIN0 GND GND PC7 PC7 PC6 PC6 PC5 PC5 PC4 PC4 PF1 PF1 TOSC2 PF0 PF0 TOSC1 PB5 PB5 PB4 PB4 GND GND PF5 PF5 LED0 PF4 PF4 PF3 PF3 PF2 PF2 DEBUGGER ATmega4809 Analog Debug I2C SPI UART...

Page 35: ...strap will disconnect the on board power supply Tip Any connection that is cut can be reconnected using solder Alternatively a 0 0402 resistor can be mounted Tip When the debugger is disconnected an e...

Page 36: ...e sure you have opened 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 lis...

Page 37: ...Figure 7 7 Select Target Device Figure 7 8 Select Debugger ATmega4809 Curiosity Nano Appendix 2020 Microchip Technology Inc User Guide DS50002804B page 37...

Page 38: ...Figure 7 9 Configure Interface ATmega4809 Curiosity Nano Appendix 2020 Microchip Technology Inc User Guide DS50002804B page 38...

Page 39: ...A listing of sales offices and locations is included in this document Technical support is available through the website at www microchip com support Microchip Devices Code Protection Feature Note the...

Page 40: ...PLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip Designer QTouch SAM BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer Tachyon TempTrackr TimeSource tinyA...

Page 41: ...Management System For information regarding Microchip s Quality Management Systems please visit www microchip com quality ATmega4809 Curiosity Nano 2020 Microchip Technology Inc User Guide DS50002804B...

Page 42: ...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 J...

Reviews: