Toolchain update:
pymcuprog is rather slow, at least it is on my configuration. Probably lots of hangups between IO calls and buffers purging? Guessing Python isn't very performant here. It works at all; just not very fast. (Circa > 1min to flash a 64k part.)
avrdude however has ported and integrated the same functionality. It's not yet in a release, but it's in the repo:
https://github.com/avrdudes/avrdudeNaturally, I had an adventure building it*... but I do have a working build now. It works much faster, has the familiar, powerful, one-stop interface -- and reads ELF, not just hex!
(*Because, who would want to build it in Cygwin, right? Well, it's more or less supported according to their wiki, and I already had GCC 11.2 installed there. So I figured why not. Apparently, this isn't tested very often. The required packages were not fully named in the docs/cmake script, and one of them has a naming conflict with another default package file. Smart. Not sure who's fault that is, but a rename fixed it. Somehow, I doubt renaming files from packages is a good thing, but there you have it...)
Tim