Picked up a handful of #AVR chips (ATMEGA168) and am familiarizing myself with the datasheet, but it makes me wonder: can you really call it a "datasheet" if it's 653 pages long? 🤔
Coffee ⏚ reshared this.
Question for the #AVR crowd of the fediverse: What kind of ISP programmer do y'all recommend (for people using #Linux ) these days? An old tutorial recommended the USBtinyISP, but it appears to be out of stock (and possibly outdated?) everywhere I look. #AskFedi
Andrew Pam likes this.
reshared this
Jonathan Lamothe
Nav
•AVR Freaks
www.avrfreaks.netJonathan Lamothe likes this.
Jonathan Lamothe
Many years ago, I had a job that involved programming PICs, but it could only be done with their software on Windows, and required an expensive license if you wanted to use C instead of Assembly. That's why I was looking at AVR.
I know they got bought out by Microchip and a number of things have doubtless changed since then (circa 2012-ish).
Nav
•For the toolchain, you can use GCC.
For programming, you can use avrdude (works well with the Atmel-ICE on Linux).
For debugging, you can use Bloom and GDB. Bloom exposes a GDB server, allowing GDB to gain access to the AVR target for debugging operations. You can also program the target via Bloom (using GDB's `load` command)(disclaimer: I'm the author of Bloom). Bloom also works well with the Atmel-ICE.
I use CLion, GCC, avrdude and Bloom for all of my AVR development.
Jonathan Lamothe likes this.
Jonathan Lamothe
Mx. Savanni D'Gerinel
•I use https://www.adafruit.com/product/46 when I'm programming a bare AVR chip.
Some of the out-of-dateness may be about a protocol that I've heard rumor of that allows chips to be reprogrammed without an intermediate programmer. However, I've not explored it and even forget what the protocol was.
USBtinyISP AVR Programmer Kit (USB SpokePOV Dongle)
www.adafruit.comJonathan Lamothe likes this.
Jonathan Lamothe
Mx. Savanni D'Gerinel
•Gonçalo Ribeiro
•@savanni hey, just to mention that you may also build your own #AVR programmer probably even cheaper (but more DIY) with the
#VUSBtiny project:
https://github.com/goncalor/vusbtiny
I've had mine for ~8 years and still use it. You can see it in the background on this post.
https://infosec.exchange/@goncalor/111015206229493477
#electronics
Gonçalo Ribeiro
2023-09-05 23:46:54
GitHub - goncalor/vusbtiny: Small ISP programmer that uses an ATtiny running V-USB
GitHub