| ▲ | µ-Wire – USB on an ATtiny 10(cpldcpu.com) |
| 72 points by mofosyne 2 days ago | 5 comments |
| |
|
| ▲ | alhidade an hour ago | parent | next [-] |
| I love ATtinys. They are in a sweet-spot where you have a set of features with which you get stuff done while still being able to keep the whole architecture in your head. You can memorize the whole instruction set and write assembly if you wish, but can also program C, C++ and even Rust now.
The tooling is accessable and the chips are cheap and easily sourced. I once used a bitbanged USB on a t85 and thought it was barely possible, but this is another level. Impressive! |
| |
| ▲ | sitzkrieg 43 minutes ago | parent [-] | | i agree, for some reason got an ungodly amount of similar pic12s a while back. been putting them in all sorta of stuff, used a few for flickering red leds in pumpkins this halloween for example. cheap enough to throw out with the alkaline cell lol. i can easily get years of runtimes in LF parts too. while its peripherals are not particularly great at low power vs say, a msp430 or efm8sb, it simply has so few it comes out way ahead |
|
|
| ▲ | serious_angel 5 hours ago | parent | prev [-] |
| > Update 2014-01-07:
> It actually works on a ATtiny 10 now, yay!...
>
> Update 2014-03-19:
> I published a more detailed write-up...
>
> Source: https://github.com/cpldcpu/u-wire
---
> Flash: 988 of 1024 bytes used (96.4%)
> SRAM: 28 (variables)+2 (stack) of 32 bytes used (93.8%)
>
> This is most likely the most complex firmware ever loaded into an ATtiny10!
>
> Source: https://cpldcpu.com/2014/03/19/%c2%b5-wire-usb-on-an-attiny-10
It felt like it was devalued by a sorrowful LLM/AI, but no… The person achieved the whole code manually.Considering recent times… This is an authentic, real achievement that may inspire and support someone else and is to be kept treasured in the history with genuine glory, honor, and dignity. Thank you… Thank you heartfelt for being an actual engineer, developer with authentic experience to be actually proud of, and held up as an example! |
| |
| ▲ | ignilux an hour ago | parent [-] | | Doubly impressive considering the ATtiny 10 has no on-chip debugger peripheral! | | |
| ▲ | 05 42 minutes ago | parent [-] | | I don't think it makes a big difference - the mcu has a subset of AVR RISC instruction set so just running firmware on a beefier mcu of that family would allow you at least printf based debugging to uart, which should be enough here. It's not like stopping in debugger would help you with a timing sensitive protocol anyhoo, you would use logging either way. |
|
|