ATtiny85 no FTDI ? ? ?

So a atmega328p needs FTDI to be able to upload a code on the chip

But a ATtiny85 doesn't need FTDI ?

An ATTiny (or an ATMega) can run V-USB code.

An ATTiny (or an ATMega) can run V-USB code.

I'm not familiar with that. I use an ATtinyISP to load code into my ATtiny85s.

I'm not familiar with that. I use an ATtinyISP to load code into my ATtiny85s.

So that means you can't upload a code in this board via usb as they are ?

V-USB (direct USB interface for micros) has been around for several years, and people have written USB bootloaders for Arduino. Example projects.

V-USB (direct USB interface for micros) has been around for several years, and people have written USB bootloaders for Arduino.

I don't think the OP can get there from here. I think the fact that he is posting for this confirms that. I think the standard method can get him up and running with the ATtiny85 while he's learning how to implement the V-USB.

I know that you need to upload a bootload in the ATtiny85 to work with it and upload codes from
the arduino IDE my question is, after I upload the bootloader I just can plug it via usb and upload
codes?

One more reason I created this topic is that :
https://forum.arduino.cc/index.php?topic=387903.0

Domino60:
I know that you need to upload a bootload in the ATtiny85

Using ISP.

Domino60:
to work with it and upload codes from the Arduino IDE my question is, after I upload the bootloader I just can plug it via USB and upload
codes?

That's it.

That's it.

So that means yes ?
But if that works with ATtiny85 will work the same with Atmega328p as well ?

I don't know if there is a version of the V-USB bootloader for the mega328.

Domino60, that picture that you showed us is not ATtiny85 that's a Digispark's USB development board based on ATTiny85 chip.
I believe it comes with bootloader (maybe V-USB based, I have no idea) that enables flashing it via USB and special config files for Arduino IDE.
If you want to use bare ATtiny85 chip in your project it's best if you update it via ISP.
Also FTDI relies on serial (USART) ports of ATmega328p. Attiny doesn't have any hardware serial ports...

(maybe V-USB based, I have no idea)

Well, it does take about 2 entire minutes to look at the open-source code, and discover that V-USB is at the core.

Also FTDI relies on serial (UART) ports of ATmega328p. Attiny doesn't have any hardware UART ports...

Probably because it doesn't have a UART...(ATmega16U2-MUCR)

raschemmel:
Probably because it doesn't have a UART...(ATmega16U2-MUCR)

Oops I meant USART :slight_smile: Serial ports on PD1 and PD0 pins :slight_smile:

Attiny85 does have this
15.2 Overview
The Universal Serial Interface (USI), provides the basic hardware resources needed for serial communication.
Combined with a minimum of control software, the USI allows significantly higher transfer rates and uses less code
space than solutions based on software only. Interrupts are included to minimize the processor load.

So pretty UART-like, I don't know the code support situation for it.

USI

USI SERIAL