From: Oleksij Rempel Date: Tue, 23 Jul 2013 15:39:35 +0000 (-0700) Subject: Updated usb regs (markdown) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f74cf8e3934daa24a4b154c499b5b62a7c58d6e2;p=librecmc%2Fopen-ath9k-htc-firmware.wiki.git Updated usb regs (markdown) --- diff --git a/usb-regs.md b/usb-regs.md index f2b1b23..1df079e 100644 --- a/usb-regs.md +++ b/usb-regs.md @@ -1,6 +1,7 @@ Assumptions made on source code: * looks like USB block is [FUSB200](http://www.faraday-tech.com/techDocument/FUSB200_ProductBrief_v1_2.pdf). -* According to docs FUSB200 has 15 endpoints, but according to the source 10. +* We have 15 Enddpoints and 15 FIFO buffers. +* FIFO0 - FIFO13, 512 Byte each? FIFO14 - FIFO15 - 64 Byte each? # 0x00 ZM_MAIN_CTRL_OFFSET * BIT7 @@ -288,7 +289,7 @@ Current layout: * BIT2 - BIT3; number of FIFO blocks or better to say extra blocks? 0 - no more blocks; 1 - one block; 2 - two blocks. * BIT0 - BIT1; EP type: 0x1 - Iso; 0x2 - Bulk, 0x3 - Intr; -* 0x90 0x86 +* 0x90 0x86 <- FIFO0: Bulk | + one block (0x91) | size 512 * 0x91 0x06 * 0x92 0x86 * 0x93 0x06