Commit Graph

927 Commits

Author SHA1 Message Date
patacongo
a5ad963f5b Add framework to support HC12
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2301 42af7a65-404d-4744-a932-0658087f49c3
2009-12-03 17:24:42 +00:00
patacongo
c3d9748e71 Fix a problem with TX status on resume from stall
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2295 42af7a65-404d-4744-a932-0658087f49c3
2009-12-01 21:14:56 +00:00
patacongo
ca99ea0191 Should not returned queued read requests on a reset
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2294 42af7a65-404d-4744-a932-0658087f49c3
2009-12-01 15:28:33 +00:00
patacongo
14ea59ddbe Move LPC-specific code from examples/usbstorage to mcu123-lpc214x/src
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2290 42af7a65-404d-4744-a932-0658087f49c3
2009-11-30 15:52:06 +00:00
patacongo
b419ea40e9 SDIO now works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2287 42af7a65-404d-4744-a932-0658087f49c3
2009-11-29 15:46:13 +00:00
patacongo
06f9c5c40b Extend SDIO debug instrumentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2286 42af7a65-404d-4744-a932-0658087f49c3
2009-11-28 18:17:53 +00:00
patacongo
4810f93392 Fix compile errors with DMA debug off
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2284 42af7a65-404d-4744-a932-0658087f49c3
2009-11-28 15:05:21 +00:00
patacongo
51b0612d65 Less intrusive DMA debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2281 42af7a65-404d-4744-a932-0658087f49c3
2009-11-27 13:09:32 +00:00
patacongo
5df8a7a194 Numerous fixes for basic STM32 SDIO DMA access
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2279 42af7a65-404d-4744-a932-0658087f49c3
2009-11-26 00:18:22 +00:00
patacongo
f702470d68 Fix block read/write return values; SDIO error reporting; slow down clock if interrupt mode
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2278 42af7a65-404d-4744-a932-0658087f49c3
2009-11-25 13:50:26 +00:00
patacongo
ee72943b08 Fix problems when DMA2 is enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2277 42af7a65-404d-4744-a932-0658087f49c3
2009-11-21 17:43:59 +00:00
patacongo
a5128b6fc6 Fix SCR data transfer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2276 42af7a65-404d-4744-a932-0658087f49c3
2009-11-21 15:45:50 +00:00
patacongo
a4b109eaa2 Progress integrating SD on STM32
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2275 42af7a65-404d-4744-a932-0658087f49c3
2009-11-20 00:24:11 +00:00
patacongo
c53dda6fe8 Now correctly handles SD card ACMD41 busy
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2274 42af7a65-404d-4744-a932-0658087f49c3
2009-11-19 00:52:40 +00:00
patacongo
0d5e2e701b Correct identifies v1.x SD card
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2273 42af7a65-404d-4744-a932-0658087f49c3
2009-11-18 23:12:23 +00:00
patacongo
014944fe6e Initial MMC/SD SDIO STM32 bug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2272 42af7a65-404d-4744-a932-0658087f49c3
2009-11-18 17:31:49 +00:00
patacongo
445b47fcd8 Callbacks need to use worker thread; clean up/document configuration settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2268 42af7a65-404d-4744-a932-0658087f49c3
2009-11-17 23:20:08 +00:00
patacongo
e00ff41565 Code complete for STM32 SDIO driver and MMC/SD SDIO driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2266 42af7a65-404d-4744-a932-0658087f49c3
2009-11-17 21:31:56 +00:00
patacongo
094394fc15 Finish event wait logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2265 42af7a65-404d-4744-a932-0658087f49c3
2009-11-17 18:18:35 +00:00
patacongo
d97d3d5a61 Add basic data transfer logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2264 42af7a65-404d-4744-a932-0658087f49c3
2009-11-17 16:24:44 +00:00
patacongo
373959f7db Add SDIO interrupt handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2263 42af7a65-404d-4744-a932-0658087f49c3
2009-11-16 23:22:36 +00:00
patacongo
79ad2c60d8 Addition DMA setup logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2262 42af7a65-404d-4744-a932-0658087f49c3
2009-11-16 15:58:05 +00:00
patacongo
a472c7c26c Redesign SDIO wait logic; add SDIO DMA logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2261 42af7a65-404d-4744-a932-0658087f49c3
2009-11-16 15:37:11 +00:00
patacongo
b7a3e6e45f Add logic to handle card insertion/removal events
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2259 42af7a65-404d-4744-a932-0658087f49c3
2009-11-15 19:48:08 +00:00
patacongo
fe9b2c9355 Add SD card initialization logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2258 42af7a65-404d-4744-a932-0658087f49c3
2009-11-15 18:23:46 +00:00
patacongo
15e7af4e97 Add IOCTLs and card identification logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2253 42af7a65-404d-4744-a932-0658087f49c3
2009-11-13 23:30:41 +00:00
patacongo
5d816174df Add to STM32 SDIO driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2252 42af7a65-404d-4744-a932-0658087f49c3
2009-11-13 15:16:33 +00:00
patacongo
1f7c83b035 Separate STM32F103ZE pin-mapping into a separate header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2251 42af7a65-404d-4744-a932-0658087f49c3
2009-11-12 23:13:18 +00:00
patacongo
41bf4a4c5e Add SDIO GPIO initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2250 42af7a65-404d-4744-a932-0658087f49c3
2009-11-12 17:44:52 +00:00
patacongo
ad761213f2 Finish reponse methods
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2249 42af7a65-404d-4744-a932-0658087f49c3
2009-11-12 16:49:39 +00:00
patacongo
6f4c6dc9fe SDIO interface simplication
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2248 42af7a65-404d-4744-a932-0658087f49c3
2009-11-12 15:49:48 +00:00
patacongo
e980495cb7 Incremental update to STM32 MMCSD driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2247 42af7a65-404d-4744-a932-0658087f49c3
2009-11-11 23:52:48 +00:00
patacongo
105fa683df Incremental update to STM32 MMCSD driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2246 42af7a65-404d-4744-a932-0658087f49c3
2009-11-11 22:34:40 +00:00
patacongo
7088acf110 Incremental progress on STM32 MMCSD driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2245 42af7a65-404d-4744-a932-0658087f49c3
2009-11-11 21:20:49 +00:00
patacongo
d170816334 Add skeleton file that will hold the STM32 SDIO driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2244 42af7a65-404d-4744-a932-0658087f49c3
2009-11-11 13:19:23 +00:00
patacongo
970720336e Add skeleton file that will hold the STM32 SDIO driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2243 42af7a65-404d-4744-a932-0658087f49c3
2009-11-11 12:32:45 +00:00
patacongo
257f3b6afe Rename mmcsd.c to mmcsd_sdio.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2242 42af7a65-404d-4744-a932-0658087f49c3
2009-11-11 00:13:42 +00:00
patacongo
27ee67893f Add SDIO register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2238 42af7a65-404d-4744-a932-0658087f49c3
2009-11-06 21:59:49 +00:00
patacongo
c7b07b4868 Add support for GPIO interrupts & STM3210E-EVAL board buttons
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2226 42af7a65-404d-4744-a932-0658087f49c3
2009-11-05 14:07:41 +00:00
patacongo
5ec648709f Fix handling of pending OUT transfers; if we clear CTR_RX first, we lose size of OUT transfer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2218 42af7a65-404d-4744-a932-0658087f49c3
2009-11-04 02:57:32 +00:00
patacongo
f1de52049b Status not being set when transfer started via epsubmit()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2217 42af7a65-404d-4744-a932-0658087f49c3
2009-11-03 16:11:55 +00:00
patacongo
f57ba50c9b If SETUP received, that also means the end of a previous TX
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2215 42af7a65-404d-4744-a932-0658087f49c3
2009-11-03 00:52:16 +00:00
patacongo
7b612c7fea Non-standard requests handled by class caused controller errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2214 42af7a65-404d-4744-a932-0658087f49c3
2009-11-02 22:32:22 +00:00
patacongo
98a2dd5d71 Fix EP configure switch value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2213 42af7a65-404d-4744-a932-0658087f49c3
2009-11-02 20:49:23 +00:00
patacongo
33ce084daa Fix case where both RX and TX enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2210 42af7a65-404d-4744-a932-0658087f49c3
2009-11-02 20:09:25 +00:00
patacongo
b5e3ef6cb5 Sometimes RX status is not NAK
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2209 42af7a65-404d-4744-a932-0658087f49c3
2009-11-02 18:14:41 +00:00
patacongo
c7d9c978c8 Fix RX status setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2208 42af7a65-404d-4744-a932-0658087f49c3
2009-11-02 15:04:47 +00:00
patacongo
e1f1ff8516 Fix compilation error with register debug off
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2207 42af7a65-404d-4744-a932-0658087f49c3
2009-11-01 20:13:47 +00:00
patacongo
ff92a5567e Need to send ZLP at end of no-data setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2206 42af7a65-404d-4744-a932-0658087f49c3
2009-11-01 19:12:46 +00:00
patacongo
026fdc7e41 Fix endian-ness issue in SETUP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2205 42af7a65-404d-4744-a932-0658087f49c3
2009-11-01 17:29:41 +00:00