NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Atmega 32u2 NetBSD 9



On Wed, 28 Oct 2020 08:00:35 -0400
nottobay <nottobay13%gmail.com@localhost> 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


Home | Main Index | Thread Index | Old Index