From: Oleksij Rempel Date: Mon, 15 Jul 2013 15:23:45 +0000 (-0700) Subject: Updated usb regs (markdown) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=070546a3ad5a8b723ea5c6d40be9d35fa6b34650;p=librecmc%2Fopen-ath9k-htc-firmware.wiki.git Updated usb regs (markdown) --- diff --git a/usb-regs.md b/usb-regs.md index 48a0e04..e02c182 100644 --- a/usb-regs.md +++ b/usb-regs.md @@ -146,7 +146,7 @@ these endpoints are handled by DMA * BIT1 * BIT0 These offset + 2 Byte step for each endpoint. -For example EP0 = +0x00; EP1 = +0x02; or offset+(EPn << 1). +For example EP0 = +0x00; EP1 = +0x02; or offset+(EPn << 1). In these address space will fit 15 endpoints. # 0x5E ZM_EP_OUT_MAX_SIZE_LOW_OFFSET @@ -160,7 +160,7 @@ For example EP0 = +0x00; EP1 = +0x02; or offset+(EPn << 1). * BIT1 * BIT0 These offset + 2 Byte step for each endpoint. -For example EP0 = +0x00; EP1 = +0x02; or offset+(EPn << 1). +For example EP0 = +0x00; EP1 = +0x02; or offset+(EPn << 1). In these address space will fit 15 endpoints. # 0xAE ZM_EP3_BYTE_COUNT_HIGH_OFFSET BIT3 - 1 xfer done? @@ -168,15 +168,23 @@ For example EP0 = +0x00; EP1 = +0x02; or offset+(EPn << 1). # 0xAF ZM_EP4_BYTE_COUNT_HIGH_OFFSET BIT4 - 1 - reset fifo; 0 - disable reset? - comments: probably compatible with ZM_EP3_BYTE_COUNT_HIGH_OFFSET + comments: probably compatible with ZM_EP3_BYTE_COUNT_HIGH_OFFSET. +**These name reg do not fit to pattern!!!** Compare with 0x3e, 0x3f and 0x5e, 0x5f. # 0xBE ZM_EP3_BYTE_COUNT_LOW_OFFSET + size of data in fifo buffer? never used? # 0xBF ZM_EP4_BYTE_COUNT_LOW_OFFSET size of data in fifo buffer # 0xF8 ZM_EP3_DATA_OFFSET +32bit data. + # 0xFC ZM_EP4_DATA_OFFSET +32bit data. + +# 0x100 what is here? +** we miss 8 bytes here ** # 0x108 ZM_SOC_USB_MODE_CTRL_OFFSET BIT10 - 1 - enable MP (EP6) downstream stream mode