Updated usb regs (markdown)
authorOleksij Rempel <linux@rempel-privat.de>
Tue, 23 Jul 2013 09:00:32 +0000 (02:00 -0700)
committerOleksij Rempel <linux@rempel-privat.de>
Tue, 23 Jul 2013 09:00:32 +0000 (02:00 -0700)
usb-regs.md

index 56624ea044ba3bf34d6613f726a10c08281c84ff..7ee1d8af37d4d6fb7c09e38605df368a98ceb023 100644 (file)
@@ -140,8 +140,28 @@ these endpoints are handled by DMA
 
 # 0x2F mUsbEPMap EP0
 code use: ZM_FUSB_BASE+0x30+(EPn-1)  
-(0x0F | size? start block?) = OUT
-(0xF0 | size? start block?) = IN
+(0x0F | FIFOn << 4) = OUT
+(0xF0 | FIFOn) = IN
+
+for FIFOn see mUsbFIFOMap registers.
+
+Current configuration:
+# 0x2f 0x00                                                                     
+# 0x30 0x0f                                                                     
+# 0x31 0xf2                                                                     
+# 0x32 0xfe                                                                     
+# 0x33 0xff                                                                     
+# 0x34 0x4f                                                                     
+# 0x35 0x6f                                                                     
+# 0x36 0x00                                                                     
+# 0x37 0x00                                                                     
+# 0x38 0x00                                                                     
+# 0x39 0x00                                                                     
+# 0x3a 0x00                                                                     
+# 0x3b 0x00                                                                     
+# 0x3c 0x00                                                                     
+# 0x3d 0x00                                                                     
+# 0x3e 0x00 
 
 # 0x30 mUsbEPMap EP1
 # 0x31 mUsbEPMap EP2
@@ -149,8 +169,15 @@ code use: ZM_FUSB_BASE+0x30+(EPn-1)
 # 0x33 mUsbEPMap EP4
 # 0x34 mUsbEPMap EP5
 # 0x35 mUsbEPMap EP6
-# 0x36 mUsbEPMap EP7
-.... 0x2F - 0x3E -- place for 15 EPs?
+# 0x36 mUsbEPMap EP7                                                                    
+# 0x37 mUsbEPMap EP8                                                                     
+# 0x38 mUsbEPMap EP9                                                                   
+# 0x39 mUsbEPMap EP10                                                                     
+# 0x3a mUsbEPMap EP11                                                                   
+# 0x3b mUsbEPMap EP12                                                                  
+# 0x3c mUsbEPMap EP13                                                                   
+# 0x3d mUsbEPMap EP14                                                                    
+# 0x3e mUsbEPMap EP15
 
 # 0x3E ZM_EP_IN_MAX_SIZE_LOW_OFFSET