CC-BY-SA 3.0

Recommend Projects

ATmega UPDI HV Programmer

3 months ago 431
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments


HV UPDI (High Voltage Unified Program and Debug Interface) programmer for the new tinyAVR 0- and 1-series microcontrollers built on ATmega8/88/168/328 based on the design and the firmware by Dlloydev ( The 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.

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


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; BLINKING at 4Hz if target overload occurs
HV FLASHING at HV pulses during programming


More information and source code:

Getting started with the new ATtiny chips:


UPDI Programmer based on ATmega8/88/168/328:

Mini UPDI Programmer based on ATtiny1604:

Mini UPDI HV Programmer based on ATtiny1604:

Development board for ATtiny x14/x04 series:

Development board for ATtiny x16/x06 series:


UPDI HV Programmer



ID Name Designator Footprint Quantity
1 CH330N U2 SOP-8_150MIL 1
2 16MHZ X1 HC-49S 1
3 USB-B-Female USB1 USB-M-49 1
4 PC817C U4 SOP-4 1
5 5V1 D1 ZENER-SOD-123 1
6 USB-Plug USB2 USB-M-48 1
7 39k R7 0603 1
8 10k R15,R1 0603 2
9 5k1 R14 0603 1
10 1k R5,R3,R13,R2,R6,R12,R11,R4 0603 8
11 470R R10 0603 1
12 2k R8 0603 1
13 10R R9 0603 1
14 Header UPDI 210S-3X1/2.54 1
15 PRG LED2 LED0603 1
16 MT3608 U3 SOT-23-6 1
18 HV LED3 LED0603 1
19 PWR LED1 LED0603 1
20 22p C6,C5 0603 2
21 100n C1,C2,C3,C8,C7 0603 5
22 1u C11 0603 1
23 Header MODE 210S-3X1/2.54 1
24 22u C10,C9 1206 2
25 47u C4 1206 1
26 Micro USB USB3 MICRO-USB-16 1
27 SS14 D2 DIODE-SMA(DO-214AC) 1
28 4.7uH L1 IND-SMD_L4.4-W4.2 1
29 ATMEGA8/88/168/328 U1 TQFP-32_7X7X08P 1


Filename Download
The owner does not allow comments in this project now

Comments (0)

如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在 打开保存即可。
有问题联系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.