avrdude-dev
[Top][All Lists]
Advanced

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

Re: Which ISP programmer for FreeBSD?


From: Axel Rau
Subject: Re: Which ISP programmer for FreeBSD?
Date: Sat, 16 Apr 2022 13:51:03 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

Am 16.04.22 um 12:49 schrieb Didrik Madheden:
To begin with, could you please run the avrdude command with the -vvvv switch (maximum verbose) and show the output?

See attachment.
What I see there, does this mean, that avrdude has received something at all from the programmer?

Are you sure that ttyU1 is the correct serial port and that your user has access to it?
No. Sorry this was an old copy&paste from the beginning. Its cuau0 or 1.

 (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.

- - -
root@home2l:/ # usbconfig -d 0.4 dump_device_desc
ugen0.4: <ERFOS AVR-ISP2> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (500mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x0002  <Communication device>
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0040
  idVendor = 0x16c0
  idProduct = 0x2a9b
  bcdDevice = 0x4340
  iManufacturer = 0x0001  <ERFOS>
  iProduct = 0x0002  <AVR-ISP2>
  iSerialNumber = 0x0003  <19331-49101-552>
  bNumConfigurations = 0x0001
- - -
There is a thread in freebsd-hardware:
  https://marc.info/?l=freebsd-hardware&r=1&b=202204&w=2

Axel
--
PGP-Key: CDE74120  ☀  computing @ chaos claudius

Attachment: diamex.log
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]