Problem with unhandled UPDI response #1178
Replies: 4 comments
-
Beta Was this translation helpful? Give feedback.
-
When I take my 1626 (I have no 3224) and disable the UPDI pin by turning UPDI into RST or GPIO, I cannot upload anything via UPDI anymore with a HV serial CH340G based programmer like you have. I get the exact same error. When I take my Powercycle-HV JTAG programmer I can reprogram and/or change the pin back to UPDI. My HV serial CH340G based programmer has no problems changing a 204's UPDI pin back and forth between UPDI and GPIO/RST. It always gives a 12V spike, no need to replug. So that's odd of yours as both are based on the same design by Wagminator |
Beta Was this translation helpful? Give feedback.
-
agreed it is strange. I feel like I might have something else going on here that I haven't been able to find yet. I wonder if there is something wrong with this programmer, I just now tried swapping to another new 3224 |
Beta Was this translation helpful? Give feedback.
-
actually now it's uploading fine again (no change to reset pin, burned default bootloader). Hrm. |
Beta Was this translation helpful? Give feedback.
-
I've encountered an issue that I'm not sure if it is a new bug or an unhandled hardware response.
I am using an Adafruit HV UPDI Friend to program an ATTINY3224 after changing the UPDI pin to GPIO as I need the extra input pin. I had no issues burning the fuses the first time and went through all the suggested configuration thankfully posted in a previous issue.
Using the HV programmer to upload new code to the 3224 (or burning new bootloader), this is the exception response output during upload, it seems its getting some unexpected output
Unexpected number of bytes in response: 0 byte(s) expected 1 byte(s)
:I'm looking through the megatinycore code now to see if I can find the culprit, though I'm unfamiliar with the code base. Cross-posted at Adafruit Forums as I am unsure if this is a hardware problem with the HV UPDI Friend - it is only sending the initial 12V signal after a power reset.
Beta Was this translation helpful? Give feedback.
All reactions