![]() These pins are ordered to be compatible with those of AVR Dragon. The 20 pins marked HV_PROG (bottom right) are for target connections. Or using Sparkfun’s 3.3V version then HVprog2 is also in 3.3V logic that matches PDI programming. The 6 pins marked JP1 (top right) are for PC connection conveniently aligned for using ubiquitous Sparkfun FTDI breakout board or its clone: If you use 5V version of the breakout then the whole HVprog2 programmer runs in 5V logic, and this is necessary to program in HVSP/PP or TPI. The PCB is designed for thru-hole electronic parts wherever available, and is easy to assemble/solder. The following image is a copy of HVprog2 using PCB sold in our shop. We recommend you to use a DIP IC socket for IC1 because it enables upgrading/swapping the microcontroller in the future. These parts are for hardware version identification only by Atmel’s firmware. If you are going to use ScratchMonkey exclusively then IC2 74HC165 and its bypass capacitor C3 can be omitted. As a result, the inversion cause timing problems in every session and makes HVprog unreliable. Moreover, examining STK500 and HVprog schematics we can find the former inverts XTAL1 signal but the latter where the same firmware is used. HVprog lacks the circuit for this, thus it’s impossible to unprogram the fuse bit. Note 3: In order to recover the reset disable fuse the target voltage must be controlled. If the microcontroller is one of ATmega16/32/64/128 or ATmega164/324/644/1284 then not only HVSP/PP and ISP but also TPI/PDI is possible by using ScratchMonkey firmware. Note 2: We can use Atmel official firmware if the microcontroller is ATmega8535 but TPI/PDI is not possible in this case. Note 1: STK500 mod is simply made of original STK500 with few chips removed/replaced. The below is a comparison chart of AVR programmers: Comparison With STK500 original/mod, HVprog and HVProg2 HVprog2 is an improved version of HVprog, thus it has a similar name, and it can actually program AVR chips not only in HVSP/PP and ISP but also in TPI and PDI. There already exists another hardware clone of Atmel STK500 whose name is HVprog, and it claims to be able to program in HVSP/PP and ISP. Inspired both by Atmel STK500 and its mod we designed a clone programmer called HVprog2. In the previous post we showed a hardware/software mod of original Atmel STK500. These discuss some programmers for AVR microcontrollers. Note: This and the previous posts are nothing to do with GoPro nor genlock. ![]() HVprog2 is an Atmel STK500 clone for programming in HVSP/PP, ISP, TPI, and PDI. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |