Dlloydev / jtag2updi

HV UPDI / UPDI programmer software for Arduino (targets Tiny AVR-0/1/2, Mega AVR-0 and AVR-DA/DB MCUs)
MIT License
27 stars 8 forks source link

In this diagram, it is not clear where to connect tinyAVR? #15

Closed P55-rgb closed 3 years ago

P55-rgb commented 3 years ago

In this diagram, it is not clear where to connect tinyAVR? Can you add it (tinyAVR) to the diagram? https://raw.githubusercontent.com/wiki/Dlloydev/jtag2updi/images/NanoProgSch.png https://oshpark.com/shared_projects/cxgBKsCQ

Dlloydev commented 3 years ago

From the diagram, its just the 3 connections here, where T5V is the target 5V power (this comes from A0-A5). image For steady 5V power, this can be taken from the 6-pin connector on the Nano (see Arduino's documentation to identify GND and 5V on this connector.

P55-rgb commented 3 years ago

image Two questions.

  1. HVUPDI = 12v?
  2. Pin 6=UPDI on tiny412, where to connect?
Dlloydev commented 3 years ago

Yes, the HVUPDI signal will have a fast 12V pulse (about 700µs) just after power-up, but it will normally be 5V. Pin PA0 (UPDI) is 12V tolerant.

image

After the Nano is uploaded with the jtag2updi firmware, you'll need to install a jumper on J3 so that you can now program the ATtiny412.

P55-rgb commented 3 years ago

According to the documentation on tiny412 page 385, a 12V pulse should appear on the UPDI pin. I don't understand how your HVUPDI circuit generates a 12 volt pulse? Explain the scheme...

Dlloydev commented 3 years ago

Its a Dickson Charge Pump ... explained in the documentation (scroll down near the bottom).

P55-rgb commented 3 years ago

image LEDs: Red, yellow, blue. There is only one LED1 in the diagram. Is LED1, this is: red, yellow, or blue? ))) Where are the LEDs installed (red, yellow, blue) and what is their designation?

Dlloydev commented 3 years ago

The red and yellow led are on the Nano. LED1 is the blue LED which indicates the 12V pulse, this is on the programmer PCB. There's images available at the bottom of the documentation link, gerber files are available at Osh Park.

P55-rgb commented 3 years ago

https://oshpark.com/shared_projects/cxgBKsCQ How much will it cost to deliver your programmer to Russia, to Tomsk?

Dlloydev commented 3 years ago

Sorry, I'm not building and selling these as I don't have the necessary equipment (never did receive the reflow oven purchased just prior to the pandemic). I'll need to update the info at the Tindie store.