From: Oleksij Rempel Date: Tue, 23 Jul 2013 09:00:32 +0000 (-0700) Subject: Updated usb regs (markdown) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bd91c8ea098009d94da917c5383b8964fc2a78c3;p=librecmc%2Fopen-ath9k-htc-firmware.wiki.git Updated usb regs (markdown) --- diff --git a/usb-regs.md b/usb-regs.md index 56624ea..7ee1d8a 100644 --- a/usb-regs.md +++ b/usb-regs.md @@ -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