On Wed, 28 Oct 2020 08:00:35 -0400
nottobay <nottoba...@gmail.com> wrote:

> So I was wondering is there anything special I need to do to connect a
> atmega 32u2 based device to NetBSD for flashing firmware?

It works more or less the same as on Linux.
In order to flash firmware as a regular user you might need to grant
some USB permissions. This should work:

# give users in group "wheel" write access to usb devices
chmod 660 /dev/ugen* /dev/usb*
/usr/pkg/bin/avrdude -c avrispmkII -p m32u2 -U flash:w:firmware.elf:e

-Tobias

Reply via email to