Closed second-string closed 2 years ago
Happy to show the schematic of the board but essentially right now the only pieces of it I'm using are 5V into the LDO, The UPDI trace through a 470ohm resistor (there's a 1.5k resistor on the CH430 pins), and ground.
Oh shoot didn't see the whole discussions section sorry. Posted it over there, closing this
I'm having issues using SerialUPDI to connect to an ATtiny414 on a very simple board. I'm powering the ATtiny from 5V coming through out of an LDO, and have a 0.1uF cap rated for 50V from Vcc to ground.
I've created a couple programmers with cheap CH340s and the recommended BAT54C schottky with the cathode towards TX soldered between the RX and TX pins on the bottom of the usb to serial board.
These are the settings in the arduino tools menu:
I've set the board, chip, port, and programmer, and I'm not sure if the others matter. These ATtinys are straight from a supplier, no bootloader burned onto them that I know of (so I'm assuming the reset pin is in UPDI mode although I might try the 12V battery hack tomorrow).
These are some scope shots of the UPDI attempted programming process (full output at bottom). The first is a wide view of the full initial sequence with channel 1 (yellow) on the UPDI pin and channel 2 (blue) on the Vcc pin of the ATtiny.
Here's a zoom in to see the initial UPDI init low, then a chunk of data:
And here's a closer zoom on that chunk of data to see that the transitions look nice and clean:
If you look at the cursor measurement on that last image, one large thing that jumps out at me is that the UPDI line is only transitioning between a high of 3.6V and a low of 1.4V. Is this expected? Should a high be 5V or is 3.6V logic acceptable? Is 1.4V low enough to register an actual low on the ATtiny within the UPID pin?
Any thoughts?
Here's the full output from the Arduino upload log. Don't think it'll tell much, just that it tries to start the process and can't get a response from the board