And one moment. Maybe someone will come in handy.
I tried programming with FTDI, uploading the "ATtiny461\ATtiny861(a) Optiboot" bootloader first.
Programming with FTDI did not work for me right away.
The installation of 1K resistors between the RX and TX pins and the corresponding pins of the microcontroller (PA6 and PA7) helped. Maybe I didn't read it carefully, but I did not see this feature in the documentation.