Better HN
topnewbestaskshowjobs
Log inSign up

arrw

4 karma · joined Apr 15, 2024 (2y ago) · 2 submissions

Submissions

comment 2y ago · link · parent

Very cool guide.

But if you are worried about soldering more fiddly stuff like those ARM processors: It doesn't have to be that big, STM32 is nice if you need the power, but for smaller stuff smaller controllers can be preferrable.

E.g. one may also consider using VUSB, which is a library that bit-bangs USB on small Atmel microcontrollers: https://www.obdev.at/products/vusb/index.html Example board schematic we've used to teach students Linux kernel module programming: https://gitlab.cs.fau.de/i4/passt/passtboard-v2 with firmware http://www.poempelfox.de/ds1820tousb/ and https://gitlab.cs.fau.de/i4/passt/ds1820tousb

Also very easy, if you are inclined towards Arduino style programming there are tons of boards you can just use as USB devices with the included libraries in very few lines of code, for example https://www.az-delivery.de/en/products/digispark-board

comment 2y ago · link · parent

Quite a few years ago I wrote a tool as a university project that can extract C (and to a lesser degree C++ and Pascal) struct definitions from DWARF debug symbols and output VHDL or LaTeX/TikZ diagrams: https://gitlab.cs.fau.de/arw/st