Commit Graph

3207 Commits

Author SHA1 Message Date
patacongo 3d8e23f6d5 Basic USB host functionality in place
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3236 42af7a65-404d-4744-a932-0658087f49c3
2011-01-09 15:35:08 +00:00
patacongo 08508f1a27 Remove some unnecessary tests
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3235 42af7a65-404d-4744-a932-0658087f49c3
2011-01-09 02:42:02 +00:00
patacongo d04467620b Fix misc race conditions and use of stale pointer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3234 42af7a65-404d-4744-a932-0658087f49c3
2011-01-09 02:15:30 +00:00
patacongo cc023c0515 Mostly debug stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3233 42af7a65-404d-4744-a932-0658087f49c3
2011-01-04 03:04:06 +00:00
patacongo dbc7da47da Missed part of last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3232 42af7a65-404d-4744-a932-0658087f49c3
2011-01-02 20:16:16 +00:00
patacongo 1b2c057215 FunctionAddress no longer hard-coded
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3231 42af7a65-404d-4744-a932-0658087f49c3
2011-01-02 20:05:28 +00:00
patacongo 964e5cc2f2 Handle case where USB device inserted at power up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3230 42af7a65-404d-4744-a932-0658087f49c3
2011-01-01 20:57:50 +00:00
patacongo cec6074e4e Add debug instrumentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3229 42af7a65-404d-4744-a932-0658087f49c3
2011-01-01 16:56:59 +00:00
patacongo dde5fe0ca3 Don't duplicate structures in ohci.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3228 42af7a65-404d-4744-a932-0658087f49c3
2011-01-01 15:43:53 +00:00
patacongo d5ee8a20b8 Misc debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3227 42af7a65-404d-4744-a932-0658087f49c3
2011-01-01 15:08:18 +00:00
patacongo 64f711fec3 Initial debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3226 42af7a65-404d-4744-a932-0658087f49c3
2010-12-31 20:59:23 +00:00
patacongo de172f1792 Address should not be shifted in SET_ADDRESS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3225 42af7a65-404d-4744-a932-0658087f49c3
2010-12-31 18:50:39 +00:00
patacongo d7de45316d Correct logic that turns on USB host power
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3224 42af7a65-404d-4744-a932-0658087f49c3
2010-12-31 17:25:24 +00:00
patacongo 9e57b6ce35 Handling missing RHSC interrupt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3223 42af7a65-404d-4744-a932-0658087f49c3
2010-12-30 23:08:46 +00:00
patacongo 29f9959a97 mostly cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3222 42af7a65-404d-4744-a932-0658087f49c3
2010-12-30 02:25:14 +00:00
patacongo 9334b083f7 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3221 42af7a65-404d-4744-a932-0658087f49c3
2010-12-30 01:15:40 +00:00
patacongo 9bec23cc8c Remove some garbage left in the file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3220 42af7a65-404d-4744-a932-0658087f49c3
2010-12-28 03:11:25 +00:00
patacongo 52d7dfc5f8 Separate enumeration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3219 42af7a65-404d-4744-a932-0658087f49c3
2010-12-28 02:22:11 +00:00
patacongo 630b3bea79 update usb host docs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3218 42af7a65-404d-4744-a932-0658087f49c3
2010-12-23 02:06:23 +00:00
patacongo a20e12e3c4 Add USB host support to Nucleus2G
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3217 42af7a65-404d-4744-a932-0658087f49c3
2010-12-23 00:49:46 +00:00
patacongo 29492d87e0 Update some comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3216 42af7a65-404d-4744-a932-0658087f49c3
2010-12-22 03:12:55 +00:00
patacongo 7097a7c993 First debug changes for USB host
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3215 42af7a65-404d-4744-a932-0658087f49c3
2010-12-22 02:02:14 +00:00
patacongo 6209f3d310 Mostly cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3214 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 19:51:41 +00:00
patacongo 50a660ccfc Add logic to get info from the device descriptor
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3213 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 17:29:03 +00:00
patacongo 523fa94525 misc resource utilization fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3212 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 15:57:40 +00:00
patacongo 1af49ff4bd Init TDSTATUS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3211 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 12:26:34 +00:00
patacongo 452832f40f Need to init IO buffer free list
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3210 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 12:13:16 +00:00
patacongo 3cd91f0fb0 Add some range checking
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3209 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 12:05:25 +00:00
patacongo 00f5d3ad1e Correct some initialization sequence issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3208 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 11:44:51 +00:00
patacongo 86707d5624 Clean up comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3207 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 11:21:07 +00:00
patacongo 31f2d9a122 Add USB host support to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3206 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 02:36:11 +00:00
patacongo 1771fc602a backward comparison
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3205 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 01:45:08 +00:00
patacongo e8620ef2ca Separate waiting for a device and enumerating a device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3204 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 01:41:03 +00:00
patacongo ed9719a040 Final cleanup before testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3203 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 01:10:29 +00:00
patacongo 56991a648d Finishes first cut
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3202 42af7a65-404d-4744-a932-0658087f49c3
2010-12-20 21:48:16 +00:00
patacongo 857a6111bc Add a little more
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3201 42af7a65-404d-4744-a932-0658087f49c3
2010-12-20 20:59:12 +00:00
patacongo 4566137cb8 minor
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3200 42af7a65-404d-4744-a932-0658087f49c3
2010-12-20 16:51:15 +00:00
patacongo 469e7a6363 minor
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3199 42af7a65-404d-4744-a932-0658087f49c3
2010-12-20 02:40:16 +00:00
patacongo bfa36c50b7 Add class binding logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3198 42af7a65-404d-4744-a932-0658087f49c3
2010-12-19 19:18:29 +00:00
patacongo 868a0f7bac More descriptor stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3197 42af7a65-404d-4744-a932-0658087f49c3
2010-12-19 17:49:53 +00:00
patacongo 25ec14575b Make number of user endpoints configurable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3196 42af7a65-404d-4744-a932-0658087f49c3
2010-12-19 15:58:45 +00:00
patacongo 5824a1642c Finishes first cut at USB host MS class
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3195 42af7a65-404d-4744-a932-0658087f49c3
2010-12-18 17:35:54 +00:00
patacongo e3b7c6671d Working through initialization state machine
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3194 42af7a65-404d-4744-a932-0658087f49c3
2010-12-18 03:24:13 +00:00
patacongo c8d0918a1e Add CBW helpers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3193 42af7a65-404d-4744-a932-0658087f49c3
2010-12-18 01:53:05 +00:00
patacongo 148e5c46ce typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3192 42af7a65-404d-4744-a932-0658087f49c3
2010-12-18 00:31:38 +00:00
patacongo 78f1704737 Fix compile error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3191 42af7a65-404d-4744-a932-0658087f49c3
2010-12-17 14:59:53 +00:00
patacongo 1e05f80f58 Add td allocation logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3190 42af7a65-404d-4744-a932-0658087f49c3
2010-12-17 02:19:04 +00:00
patacongo 46dc066efe Add waitsem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3189 42af7a65-404d-4744-a932-0658087f49c3
2010-12-16 17:11:05 +00:00
patacongo c796ba1e29 Add pieces of a state machine
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3188 42af7a65-404d-4744-a932-0658087f49c3
2010-12-16 03:45:09 +00:00
patacongo ce5b767486 Add a complete method
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3187 42af7a65-404d-4744-a932-0658087f49c3
2010-12-16 02:06:24 +00:00