[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 22:56:33 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
As Nicholas Flowers wrote:
> Also, my understanding (which may be wrong) is that USB considers IN 2
> distinct from OUT 2, but that the 16U2 (at least) doesn't allow you to both
> configure IN 2 and OUT 2. I could have an IN 1/OUT 2 or vice versa.
That's exactly the LUFA problem I mentioned. USB considers endpoints
0x02 and 0x82 being two distinct EPs (one OUT, one IN), and that's
what the old Philips/NXP PDIUSBD12 chip on the AVRISPmkII does.
However, Atmel controllers don't support this, they require the IN and
OUT endpoint numbers being distinct in the lower 7 bits. Since the
LUFA implementation wants to be Atmel Studio compliant, they then
switch the endpoint direction dynamically, but that's tricky.
--
cheers, Joerg .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)
- Re: [avrdude-dev] suggest a "programmer"?, (continued)
- Re: [avrdude-dev] suggest a "programmer"?, Nicholas Flowers, 2016/02/21
- Re: [avrdude-dev] suggest a "programmer"?, Nicholas Flowers, 2016/02/21
- Re: [avrdude-dev] suggest a "programmer"?, Joerg Wunsch, 2016/02/21
- Re: [avrdude-dev] suggest a "programmer"?, Nicholas Flowers, 2016/02/21
- Re: [avrdude-dev] suggest a "programmer"?, Joerg Wunsch, 2016/02/21
- Re: [avrdude-dev] suggest a "programmer"?, Nicholas Flowers, 2016/02/21
- Re: [avrdude-dev] suggest a "programmer"?, Nicholas Flowers, 2016/02/24
- Re: [avrdude-dev] suggest a "programmer"?, Nicholas Flowers, 2016/02/25
- Re: [avrdude-dev] suggest a "programmer"?, David Sainty, 2016/02/27
- Re: [avrdude-dev] suggest a "programmer"?, Erik Walthinsen, 2016/02/22
- Re: [avrdude-dev] suggest a "programmer"?,
Joerg Wunsch <=