From f74cf8e3934daa24a4b154c499b5b62a7c58d6e2 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Tue, 23 Jul 2013 08:39:35 -0700 Subject: [PATCH] Updated usb regs (markdown) --- usb-regs.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.25.1