1 |
786 |
skrzyp |
2010-11-12 Christophe Coutand
|
2 |
|
|
|
3 |
|
|
* src/usbs_at91.c : Complete support for halting endpoints
|
4 |
|
|
* cdl/usbs_at91.cdl : Add option
|
5 |
|
|
CYGSEM_DEVS_USB_AT91_ZERO_LENGTH_PACKET_TERMINATION. When data
|
6 |
|
|
transfer length is known from both side, sending an empty packet
|
7 |
|
|
at the end of the transfer is not required.
|
8 |
|
|
Add devtab entry for endpoints 4 to 7.
|
9 |
|
|
|
10 |
|
|
2008-11-17 Gabor Toeroek
|
11 |
|
|
|
12 |
|
|
* src/usbs_at91.c (usbs_at91_set_pullup): Fix typo introduced by
|
13 |
|
|
Andrew Lunn in the last patch.
|
14 |
|
|
|
15 |
|
|
2008-11-03 Gabor Toeroek
|
16 |
|
|
|
17 |
|
|
* cdl/usbs_at91.cdl:
|
18 |
|
|
* include/usbs_at91.h:
|
19 |
|
|
* src/usbs_at91.c:
|
20 |
|
|
* src/usbs_at91_data.c: Support for SAM7SE which has an internal
|
21 |
|
|
pullup. Added extra endpoints for those chips that have them.
|
22 |
|
|
|
23 |
|
|
2007-11-20 Andrew Lunn
|
24 |
|
|
|
25 |
|
|
* cdl/usbs_at91.cdl: Fixed typos in
|
26 |
|
|
CYGNUM_DEVS_USB_AT91_GPIO_PULLUP_INVERTED and
|
27 |
|
|
CYGNUM_DEVS_USB_AT91_GPIO_READ_POWER_INVERTED. Fixing the typo.
|
28 |
|
|
|
29 |
|
|
* src/usbs_at91.c (usbs_at91_set_pullup): Change the logic so that
|
30 |
|
|
CYGNUM_DEVS_USB_AT91_GPIO_PULLUP_INVERTED does actually cause an
|
31 |
|
|
invert when set true.
|
32 |
|
|
|
33 |
|
|
2006-09-07 John Eigelaar
|
34 |
|
|
|
35 |
|
|
* cdl/usbs_at91.c: Read actual EP addresses from the EP configuartion
|
36 |
|
|
rather than relying on the order in the configuration list.
|
37 |
|
|
|
38 |
|
|
2006-06-06 Andrew Lunn
|
39 |
|
|
|
40 |
|
|
* cdl/usbs_at91.cdl: Allow EP0 to be enabled when there are no
|
41 |
|
|
slave clients.
|
42 |
|
|
|
43 |
|
|
2006-05-25 Andrew Lunn
|
44 |
|
|
|
45 |
|
|
* src/usbs_at91_data.cxx: Change the initialization priority. The
|
46 |
|
|
USB tty driver is initialized at priority CYG_INIT_IO, so the USB
|
47 |
|
|
device has to be initialized before that.
|
48 |
|
|
|
49 |
|
|
2006-05-19 Andrew Lunn
|
50 |
|
|
|
51 |
|
|
* src/usbs_at91.c: Rework pullup and power dectect to use the AT91
|
52 |
|
|
GPIO macros.
|
53 |
|
|
|
54 |
|
|
2006-05-07 Andrew Lunn
|
55 |
|
|
|
56 |
|
|
* Included into eCos anonymous CVS.
|
57 |
|
|
|
58 |
|
|
Note: There appears to be a hardware bug with OUT transfers. It
|
59 |
|
|
appears that after resetting the endpoint, the first OUT transfer
|
60 |
|
|
does not trigger a receive interrupt. The BK0 bit is not set,
|
61 |
|
|
however the number of bytes in the receiver FIFO is correct. The
|
62 |
|
|
second OUT transfer causes both BK0 and BK1 bits to be set and an
|
63 |
|
|
interrupt generated. Currently no workaround is used to correct
|
64 |
|
|
this behavoiour.
|
65 |
|
|
|
66 |
|
|
2006-04-23 Andrew Lunn
|
67 |
|
|
|
68 |
|
|
* src/usbs_at91.c: Endpoint 3 can send upto 64 bytes at a time,
|
69 |
|
|
not 8.
|
70 |
|
|
|
71 |
|
|
2006-04-20 Andrew Lunn
|
72 |
|
|
|
73 |
|
|
* src/usbs_at91.c (usbs_at91_control_data_sent): Send a zero byte
|
74 |
|
|
packet when the transfer is an exact multiple of the endpoint
|
75 |
|
|
buffer size.
|
76 |
|
|
|
77 |
|
|
2006-04-16 Andrew Lunn
|
78 |
|
|
|
79 |
|
|
* src/usbs_at91.c (usbs_testing_endpoints): Added support for the
|
80 |
|
|
USB testcase framework by exporting what endpoint we have.
|
81 |
|
|
* src/usbs_at91.c (usbs_at91_control_setup): Make requests other
|
82 |
|
|
than standard requests work, eg CLASS, VENDOR etc.
|
83 |
|
|
* src/usbs_at91.c (usbs_at91_handle_reset): Configure the endpoint
|
84 |
|
|
hardware using the configuration information.
|
85 |
|
|
* src/usbs_at91.c (usbs_at91_control_data_sent): Transaction is
|
86 |
|
|
complete when the buffer is empty _and_ there is no refill
|
87 |
|
|
function defined.
|
88 |
|
|
|
89 |
|
|
2006-03-10 Oliver Munz
|
90 |
|
|
|
91 |
|
|
* CDL-Update for PLL-Freuenzy.
|
92 |
|
|
|
93 |
|
|
2006-03-06 Oliver Munz
|
94 |
|
|
|
95 |
|
|
* USB device driver work finished - haha.
|
96 |
|
|
|
97 |
|
|
What's missing:
|
98 |
|
|
The set_... and get_freature-host-commands are not implemented yet.
|
99 |
|
|
The dynamical configuration of the data-endpoints is not reflectet in
|
100 |
|
|
the "usbs.h" API.
|
101 |
|
|
Isochronus transfer is not implemented.
|
102 |
|
|
Polling routines are not implemented.
|
103 |
|
|
USB-Tests are not done.
|
104 |
|
|
The PowerDetectPin is not used for the state.
|
105 |
|
|
AT91SAM7X's are not supported at the moment.
|
106 |
|
|
|
107 |
|
|
But it works for me...
|
108 |
|
|
|
109 |
|
|
//===========================================================================
|
110 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
111 |
|
|
// -------------------------------------------
|
112 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
113 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2010 Free Software Foundation, Inc.
|
114 |
|
|
//
|
115 |
|
|
// This program is free software; you can redistribute it and/or modify
|
116 |
|
|
// it under the terms of the GNU General Public License as published by
|
117 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
118 |
|
|
// later version.
|
119 |
|
|
//
|
120 |
|
|
// This program is distributed in the hope that it will be useful, but
|
121 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
122 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
123 |
|
|
// General Public License for more details.
|
124 |
|
|
//
|
125 |
|
|
// You should have received a copy of the GNU General Public License
|
126 |
|
|
// along with this program; if not, write to the
|
127 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
128 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
129 |
|
|
// -------------------------------------------
|
130 |
|
|
// ####GPLCOPYRIGHTEND####
|
131 |
|
|
//===========================================================================
|