avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] suggest a "programmer"?


From: Joerg Wunsch
Subject: Re: [avrdude-dev] suggest a "programmer"?
Date: Sun, 21 Feb 2016 16:48:00 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

As Nicholas Flowers wrote:

> > So a CDC device is nothing you could live with?

> I'm also using the chip as a USB-UART bridge (I'm cloning myself as an FTDI
> device, but would be happy to switch to CDC if you have reason to think it
> is better?), but that is for serial data.  I'd rather keep my programming
> interface separate,

OK.

> Adding ser# support: I'm confident I could change it to work for me, less
> confident that it wouldn't screw someone else up.

There are enough precedent cases to copy from.  (I wish USBtiny and
USBasp were using the standard stuff from usb_libusb.c where the
serial number matching is already included.)

But again, if you are going to mimic an AVRISPmkII, you'd already have
the serial number stuff included.

> Another consideration:
> it'd be nice if this "just worked" on any reasonably-recent ubuntu machine
> I apt-get from.

Well, if we add it right now, it will be in the next AVRDUDE release, and
from there, the Ubuntu package maintainers typically pick it up relatively
quickly.

Since I've just added the libhidapi stuff (I long wanted to add), I
won't want to wait too long for a new release.  Just picking up some
bugfixes and patches, and make confident the new addition works well.

> It looks like I can get bus #/device # given a ser# from /sys/bus/usb.  And
> that I could use those to give a name to "usbtiny" type.  Maybe I'll give
> that a go -- unless anyone has reason to think the tiny interface is
> problematic?

I have no real idea about USBtiny.  I've been testing it off and on,
but that's it.  As my main development work is done on FreeBSD, I
could not use that /sys/bus/usb stuff here anyway.

But if it works for you, why not?
-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



reply via email to

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