Programming an ATTiny424 with Arduino #691
-
Is the expected behavior for the bootloader to to use the python3 with prog.py and the upload sketch to use avrdude? Asking as avrdude never seems to get a connection to my attiny424 chip and only gives me this error. Doing a verbose the bootloader gets: while any sketch gets this: None of the notes I found said anything about needing to swap from UPDI to UART for programming, so the behavior is unexpected. Exporting the code as a hex and trying to load it manually with the python3 prog.py makes me feel that I don't understand what its doing at all. this is after burning the bootloader |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
When "Uploading" a sketch, the board's definition of it's upload pins (potentially optiboot serial pins) - assuming those are specified (they aren't for non-bootloader boards of course) - are used to determining what kind of "programmer" (in this case a bootloader that acts like a programmer. During these uploads the selected tools -> programmer option ignored. When "Upload using Programmer" or "Burn Bootloader" is used, those commands request an operation when cannot be performed through a bootloader. Hence, the selected programmer (from Tools -> Programmers) i used |
Beta Was this translation helpful? Give feedback.
-
That's why we put the non-optiboot options at the top of the list ;-) |
Beta Was this translation helpful? Give feedback.
When "Uploading" a sketch, the board's definition of it's upload pins (potentially optiboot serial pins) - assuming those are specified (they aren't for non-bootloader boards of course) - are used to determining what kind of "programmer" (in this case a bootloader that acts like a programmer. During these uploads the selected tools -> programmer option ignored.
When "Upload using Programmer" or "Burn Bootloader" is used, those commands request an operation when cannot be performed through a bootloader. Hence, the selected programmer (from Tools -> Programmers) i used