0
\$\begingroup\$

I have been testing out my Digispark and the board has no USB to TTl converter chip and yet you can program it over USB. Is it possible to do this with an ATmega328p for example?

\$\endgroup\$
  • 3
    \$\begingroup\$ a guess: the chip on the board is preloaded with a bootloader that implements a usb device and can program itself using data received through usb. \$\endgroup\$ – Hearth Mar 16 at 16:40
  • \$\begingroup\$ See e.g. obdev.at/products/vusb/index.html. It's a firmware for AVR µCs which makes it possible to do a pure software emulation of low-speed USB. \$\endgroup\$ – Janka Mar 16 at 16:44
  • \$\begingroup\$ obdev.at/products/vusb/bootloadhid-de.html \$\endgroup\$ – filo Mar 16 at 16:48
  • \$\begingroup\$ This software USB scheme is somewhat possible on an ATmega as well, but it actually works better on the tiny due to some unique features there. \$\endgroup\$ – Chris Stratton Mar 16 at 20:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.