Commit Graph

393 Commits

Author SHA1 Message Date
patacongo
bedc751b0b 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
8c8b5f01b7 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
081d8a6abc 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
fd34e51e1c 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
dcc16a713c 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
29395f7fd1 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
7ef8423ad0 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
2142afe747 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
0a24197444 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
2740d04258 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
498ae01164 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
529bbb7a2a 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
ad3467a844 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
1ae08cf310 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
1ec817c5aa 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
ec5b3cef66 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
35d260bda4 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
cd8a7958eb 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
e12ba000d0 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
9f0c906935 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
911672589d 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
a18a6c13c9 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
4196c8ce60 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
a1087ace92 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
4da26a9817 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
c0675a0711 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
041200d562 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
b5ec25b919 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
93b36a90b9 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
3c24e1beeb 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
84deab6932 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
b1ea58fd14 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
40040fe9fe 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
92925d0b9d 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
146a21e630 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
ef96b697d0 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
f70dba1600 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
patacongo
5c78a1d644 Fix direction logic in the submit method
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2204 42af7a65-404d-4744-a932-0658087f49c3
2009-10-31 19:14:00 +00:00
patacongo
624c01ed82 Fix PMA addressing issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2203 42af7a65-404d-4744-a932-0658087f49c3
2009-10-31 18:34:54 +00:00
patacongo
2fe96d8442 Integration updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2201 42af7a65-404d-4744-a932-0658087f49c3
2009-10-31 16:02:00 +00:00
patacongo
3336fa811f arch/arm/src/stm32/stm32_usbdev.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2200 42af7a65-404d-4744-a932-0658087f49c3
2009-10-31 15:54:10 +00:00
patacongo
6183474b2c Fix size of BTABLE
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2199 42af7a65-404d-4744-a932-0658087f49c3
2009-10-31 02:32:46 +00:00
patacongo
281d987dba Enhanced debug; need a delay after removing PWDN
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2198 42af7a65-404d-4744-a932-0658087f49c3
2009-10-31 00:49:51 +00:00
patacongo
1f2493af82 Misc integration fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2197 42af7a65-404d-4744-a932-0658087f49c3
2009-10-30 23:06:30 +00:00
patacongo
5a73f2fb40 USB integration in progress
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2195 42af7a65-404d-4744-a932-0658087f49c3
2009-10-30 17:33:54 +00:00
patacongo
c1cd3b3a42 BUG: mixing else causes bad IRQ settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2194 42af7a65-404d-4744-a932-0658087f49c3
2009-10-30 13:51:07 +00:00
patacongo
0cca961169 Fix typo introduced in last commit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2192 42af7a65-404d-4744-a932-0658087f49c3
2009-10-29 22:23:52 +00:00
patacongo
18e8d5310d Fix default NVIC priority
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2191 42af7a65-404d-4744-a932-0658087f49c3
2009-10-29 22:02:10 +00:00
patacongo
9d82aac055 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2190 42af7a65-404d-4744-a932-0658087f49c3
2009-10-29 21:55:50 +00:00
patacongo
525cf07fce timeout loop variable should be volatile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2188 42af7a65-404d-4744-a932-0658087f49c3
2009-10-29 21:16:57 +00:00