License

CC-BY-SA 3.0

Recommend Projects

ATtiny1604 UPDI HV Programmer

1 month ago 151
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments

Description

1. Overview

Mini HV UPDI (High Voltage Unified Program and Debug Interface) programmer for the new tinyAVR 0- and 1-series microcontrollers built on ATtiny1604/1614 based on the design and the firmware by Dlloydev (https://github.com/Dlloydev/jtag2updi). The Mini HV UPDI programmer will enable you to use the additional configuration settings for the UPDI pin without the fear of getting locked out from the MCU. It features 3 programming modes: UPDI, HV or PCHV, with the target voltage at 5V.

IMG_20200913_102915_x.jpgIMG_20200913_102947_x.jpg

2. Uploading Firmware

SELFPRG Jumper Settings:

SELFPRG Jumper Prog Mode
no jumper Normal operation.
pins 1-2 shorted UPDI - Uploading firmware or installing bootloader via UPDI header using another UPDI (HV) programmer. This is necessary when no bootloader is installed.
pins 2-3 shorted USB - Uploading firmware via USB. An installed bootloader is required.

3. Operating Instructions

MODE Jumper Settings:

MODE Jumper Prog Mode PA0 Configurations HV Pulse Power Cycle
no jumper UPDI UPDI NO NO
pins 2-3 shorted HV UPDI, RESET YES NO
pins 1-2 shorted PCHV UPDI, RESET, GPIO YES YES

Modes:

Mode Function
UPDI Mode This mode would be used when the UPDI pin is configured as UPDI or for any target device that isn't HV tolerant.
HV Mode This mode applies the 12V UPDI enable sequence (HV pulse) at the start of the programming sequence. This temporarily reconfigures the UPDI/Reset pin to UPDI mode which will remain in this state until the next power on reset (POR). This allows programming to occur when the pin is configured as Reset. A POR needs to occur for any fuse setting changes to take effect.
PCHV Mode Power Cycle High Voltage mode (PCHV) will initiate a power cycle and HV pulse at the start of the programming sequence. At the end of the sequence, a second power cycle will occur which causes any new fuse setting to take effect. The power cycle OFF duration has been set to 10ms. This mode would be used when the UPDI/Reset pin is configured as Reset or as GPIO.

Status LED Operation:

LED Status
PWR STEADY ON when programmer is powered
PRG STEADY ON when in programming mode
HV FLASHING at HV pulses during programming

4. Further Information

More information and source code: https://github.com/Dlloydev/jtag2updi/wiki/DIY-ATtiny-HV-UPDI-Programmer

Getting started with the new ATtiny chips: http://www.technoblogy.com/show?2OCH

megaTinyCore: https://github.com/SpenceKonde/megaTinyCore

UPDI Programmer based on ATmega8/88/168/328: https://easyeda.com/wagiminator/y-updi-programmer

Mini UPDI Programmer based on ATtiny1604: https://easyeda.com/wagiminator/attiny1604-updi-programmer

Development board for ATtiny x14/x04 series: https://easyeda.com/wagiminator/attiny-814-development-board-smd

Development board for ATtiny x16/x06 series: https://easyeda.com/wagiminator/y-attiny3216-development-board-smd

Documents

Mini UPDI HV Programmer

Mini_UPDI_HV_Programmer_v1.0

BOM

ID Name Designator Footprint Quantity BOM_Supplier BOM_Supplier Part
1 CH330N U2 SOP-8_150MIL 1 LCSC C108996
2 5V1 D2,D1 ZENER-SOD-123 2 LCSC C184214
3 ST662ACD-TR U3 SOP-8_150MIL 1 LCSC C500661
4 USB-Plug USB1 USB-M-48 1 LCSC C112454
5 1k R1,R2,R10,R13,R11,R3,R4,R9,R5 0603 9 LCSC C21190
6 10k R7,R6,R12,R8 0603 4 LCSC C25804
7 UPDI H1 210S-3X1/2.54 1 LCSC C49257
8 PRG LED2 LED0603 1 LCSC C2286
9 AO3401A Q1,Q3 SOT-23-3 2 LCSC C15127
10 ATTINY1604/1614-SSN U1 SOIC-14_150MIL 1 LCSC C481364
11 HV LED3 LED0603 1 LCSC C72041
12 PWR LED1 LED0603 1 LCSC C72043
13 100n C5,C1,C4,C3 0603 4 LCSC C14663
14 220n C7,C6 0603 2 LCSC C21120
15 4u7 C9,C8 0603 2 LCSC C69335
16 SELFPRG J1 210S-3X1/2.54 1 LCSC C180248
17 MODE J2 210S-3X1/2.54 1 LCSC C180248
18 10u C2 0603 1 LCSC C466781
19 MMBT3904 Q2,Q4 SOT-23-3 2 LCSC C20526

Attachments

Filename Download
Mini_UPDI_HV_Programmer_firmware_v1.0.zip
Success
The owner does not allow comments in this project now

Comments (0)

goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.