Attiny3226,1626 uploading the program and at the same time monitoring the serial port #904
Replies: 8 comments 11 replies
-
Invest 2 or 3 dollar in an extra USB-serial adapter and keep that connected to the TX/RX pin while uploading via UPDI with the modified serial USB adapter. |
Beta Was this translation helpful? Give feedback.
-
On the 2-series with 20 or 24 pins this is easy. Set for alt-reset on PB4, and wire the classic DTR autoreset to that pin. Bootload with optiboot via UPDI, and you've got it. For everything else, since you need a reset to enter the bootloader, you have to plug+unpluig the board to upload via optboot so it's not as nice. But yeah, those are the options. Either you have to use a bootloader, or you have to have a dual serial adapter and either a Rev. C breakout board from me on default settings or Rev. B with CT-UP jumper bridged. On the 1-series and 14-pin 2-series, the dual serial adapter method is the only one that doesn't require unplugging anything, unless you're willing to sacrifice easy UPDI programming and have an HV UPDI programmer, in which case you can fuse UPDI to act as reset, wire up autoreset and use optiboot (note that autoreset needs to be disabled on those parts case when using any sort of UPDI programming - as in not connected to the UPDI/Reset pin, by clearing the RST_EN jumper on my boards or disconnecting it on some other board. I think most people do what @hmeijdam does - we just have two serial adapters, one permanently rigged as a UPDI adapter and one left as a normal serial adapter (and again, this has the bonus of being able to keep the port open during the uploads with an external serial monitor, which you want to use because the IDE's serial monitor is trash) |
Beta Was this translation helpful? Give feedback.
-
Muldental in Germany makes and sells servo connectors that can have 1000 cycles |
Beta Was this translation helpful? Give feedback.
-
Yes. Servo plugs have the 0.1 inch pitch as well. |
Beta Was this translation helpful? Give feedback.
-
thanks for the help will try tomorrow. I did it quickly and it also works, the program is uploaded and I have a preview on the monitor, only later I have to disconnect because the processor does not go into a deep sleep, I have 1.5mA but you can upload and check the program on the monitor, everything is visible. |
Beta Was this translation helpful? Give feedback.
-
Recheck power consumption after a power cycle after bootloading, I thought
we were always properly disabling updi, but that sounds like about the
amount of waste if updibwas not properly disabled
…____________
Spence Konde
Azzy’S Electronics
New products! Check them out at tindie.com/stores/DrAzzy
GitHub: github.com/SpenceKonde
ATTinyCore: Arduino support for almost every ATTiny microcontroller
Contact: ***@***.***
On Fri, Jan 27, 2023, 16:37 Brendy1986 ***@***.***> wrote:
thanks for the help will try tomorrow. I did it quickly and it also works,
the program is uploaded and I have a preview on the monitor, only later I
have to disconnect because the processor does not go into a deep sleep, I
have 1.5mA but you can upload and check the program on the monitor,
everything is visible.
[image: Screenshot_2023-01-27-22-36-36-535_org telegram messenger]
<https://user-images.githubusercontent.com/118827809/215205377-4fbc75a7-f941-40cb-afa0-555decf61212.jpg>
—
Reply to this email directly, view it on GitHub
<#904 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTXEW2ERV7EMCRGJG3U52TWUQ5Z7ANCNFSM6AAAAAAUJCSABI>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Something like this happens: |
Beta Was this translation helpful? Give feedback.
-
I uploaded the bootloader via UPDI. I connected but I can't upload anything, I keep getting an error. |
Beta Was this translation helpful? Give feedback.
-
I would like to upload the program as in the classic Arduino and run the serial port monitor to have a preview without switching the cable.
Beta Was this translation helpful? Give feedback.
All reactions