From: Oleksij Rempel Date: Tue, 24 Sep 2013 07:58:54 +0000 (-0700) Subject: Updated usb regs (markdown) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fe6594b1d278079869d43dd1b7666b29a3873424;p=librecmc%2Fopen-ath9k-htc-firmware.wiki.git Updated usb regs (markdown) --- diff --git a/usb-regs.md b/usb-regs.md index 24befb2..bc22852 100644 --- a/usb-regs.md +++ b/usb-regs.md @@ -4,6 +4,16 @@ Assumptions made on source code: * **FIFO0 - FIFO13, 512 Byte each? FIFO14 - FIFO15 - 64 Byte each?** * location of usb descriptor target_firmware/magpie_fw_dev/build/magpie_1_1/sboot/hif/usb/src/usb_table.c +# EP layout vs software/reg layout +Default +* EP 1 OUT; Bulk; = LP (Low priority downstream); RX0; +* EP 2 IN; Bulk; = US (upstream) +* EP 3 IN; Interrupt; +* EP 4 OUT; Interrupt; +* EP 5 OUT; Bulk; = HP (High priority downstream); RX1; +* EP 6 OUT; Bulk; = MP (Medium priority downstream); RX2; + + # 0x00 ZM_MAIN_CTRL_OFFSET * BIT7 * BIT6 - 1 = HighSpeed is set (read only?)