To begin with, could you please run the avrdude command with the -vvvv switch (maximum verbose) and show the output?
Are you sure that ttyU1 is the correct serial port and that your user has access to it? (If you've tried for two weeks you've probably checked that, but just confirming.) Does /dev/ttyU1 still exist when the device is not connected? Perhaps BSD has a list of predefined virtual serial ports and connecting the device actually changes nothing... The device you're linking to claims to have a specially developed firmware. STK500 is normally a serial based protocol which should make it compatible everywhere, but it's possible that the author implemented a USB virtual serial port in some way that's incompatible with BSD. Could you figure out the VID and PID of the device? On Linux this would be done for example with the lsusb command or by looking at the dmesg log. Not sure how it's done in FreeBSD. /Didrik On Sat, Apr 16, 2022, 12:13 Axel Rau <[email protected]> wrote: > Hi all, > > as an AVR newbie, I thought, ISP programmers just run out of the box via > USB on FreeBSD with avrdude. > From the recommended original Atmel tools, only the super tool > ATMEL-ICE is available. > All what I see on the market are cheap clones of the original AVRISP > mkII, which claim to run with avrdude, but are documented only for > running on windows (and, I guess, tested only on that platform). > The one, I bought (DIAMEX-AVR-USB, > https://www.diamex.de/dxshop/DIAMEX-USB-ISP-Programmer-Stick-fuer-AVR) > gives timeouts and I could not find a working configuration within 2 weeks. > I look for a tool for a simple job with ATtinys, like so: > - - - > avrdude -c stk500v2 -p t861 -P /dev/ttyU1 \ > -U hfuse:w:init.t861.elf \ > -U efuse:w:init.t861.elf \ > -U eeprom:w:init.t861.elf \ > -U flash:w:init.t861.elf > - - - > > Besides ATMEL-ICE, which tool, today available on the market should work > with avrdude-6.4 from ports on FreeBSD 13.0-RELEASE out of the box? > > Please advice. > > Thanks, Axel > -- > PGP-Key: CDE74120 ☀ computing @ chaos claudius > >
