Jump to content

    

maxis

Участник
  • Content Count

    67
  • Joined

  • Last visited

Community Reputation

0 Обычный

About maxis

  • Rank
    Участник
  1. К сожалению нет маркировки, могу только предполагать, поэтому и хочу снять диаграммы непосредственно с устройства. Ленивый это да) Плис для меня хобби, поэтому что у профессионала пол дня - у меня несколько дней. В любом случае спасибо за помощь.
  2. Постараюсь более подробно описать задачу: Есть некое устройство с дисплеем, закрытый ящик, которое постоянно используется. Дисплей в устройстве предположительно LQ042T5DZ11. От дисплея хотят отказаться и загнать видеопоток в usb. Соответственно мне необходимо сделать конвертер видео параллельная шина - usb на Cypress FX2. Но так как устройство постоянно используется, отлаживать железо и софт с ним проблемно, поэтому задумал вместо дисплея на короткое время подключить отладку Core EP4CE10, в signaltab вывести сигналы которые идут на дисплей, сохранить их, вернуть дисплей на место. Если памяти отладки не хватит чтоб снять весь кадр в RGB, то снять только G компоненту. Потом на этой же отладке эмулировать/генерировать эти же сигналы для отладки разрабатываемого конвертера. Грубо говоря отладка должна притворится тем самым устройством. Соответственно я представлял себе это так - по сохранённому сигналтабу ручками пишем модуль который на выходе генерирует точно такие же сигналы. Но долго и нудно. Может есть какие-либо скрипты которые генерируют из файла сигналтаба HDL модуль, на выходе которого получаем те-же сигналы что и в сохранённом сигналтаб?
  3. Сигналы 3.3В: Clk, HSync, EN, VSync, R[5:0], G[5:0], B[5:0], Pwm, Неизвестные[3:0]. Частота предположительно 8-11МГц, на месте буду мерить конкретную. Необходимо снять один полный кадр, предположительно 646*344 клоков, ~700Кб. Необходимо выдавать поток кадров непрерывно, если влезать не будет можно пожертвовать цветностью. В наличии отладка на EP4CE10F17C8N.
  4. Добрый день. Есть железка выдающая видео в параллельном интерфейсе и ещё несколько сигналов, но доступ к ней сильно ограничен как по времени так и удобству подключения. Необходимо сохранить с неё временные диаграммы выходных сигналов и сгенерировать такие же сигналы для спокойной отладки другого устройства. Первая мысль - визуализировать входные сигналы в signaltab на отладке, а потом ручками написать блок который будет генерировать на выход такие-же. Можно ли сделать это автоматически, или есть другой способ решить задачу проще?
  5. PCI Express M.2

    Цитата(Nepoch @ Jul 10 2016, 16:34) Актуально? Тоже нужна, если есть буду благодарен.
  6. STM32F4xx Isochronous Feedback

    Реализую всё тоже самое что и у автора, но только на другом чипе и HighSpeed. Может кто-нибудь подскажет почему после каждой записи фитбека происходит URB Sync Reset Pipe and Clear Stall?
  7. Проблема решилась очень просто - так как используется HighSpeed, то вместо bInterval для конечной точки необходимо было указать = 4 (125мкс * 2^(bInterval-1) = 1мс). В итоге всё завелось, добавил фитбек для синхронизации и столкнулся с проблемой: после каждой передачи по фитбеку хост даёт Sync reset pipe and clear stall. может кто-нибудь сталкивался или есть мысли из за чего такое может быть? КодHighSpeedConfigDscr:   ;; Configuration 1       db   0x09            ;; bLength       db   0x02         ;; bDescriptorType       db   (HighSpeedConfigDscrEnd-HighSpeedConfigDscr) mod 256  ;; wTotalLength       db   (HighSpeedConfigDscrEnd-HighSpeedConfigDscr)  /  256             db   0x02              ;; bNumInterfaces       db   0x01            ;; bConfigurationValue       db   0x00            ;; iConfiguration       db   0xC0            ;; bmAttributes  BUS Powred       db   0x32            ;; bMaxPower = 100 mA ;; USB Speaker Standard interface descriptor       db   0x09        ;; bLength       db   0x04             ;; bDescriptorType       db   0x00            ;; bInterfaceNumber       db   0x00            ;; bAlternateSetting       db   0x00            ;; bNumEndpoints       db   0x01              ;; bInterfaceClass       db   0x01         ;; bInterfaceSubClass       db   0x00            ;; bInterfaceProtocol       db   0x00            ;; iInterface ;;USB Speaker Class-specific AC Interface Descriptor       db   0x09        ;; bLength       db   0x24         ;; bDescriptorType       db   0x01            ;; bDescriptorSubtype       db   0x00, 0x01         ;; 1.00  bcdADC       db   0x1E, 0x00;; wTotalLength       db   0x01    ;; bInCollection       db   0x01            ;; baInterfaceNr    ;; USB Speaker Input Terminal Descriptor       db   0x0C       ;; bLength       db   0x24         ;; bDescriptorType       db   0x02        ;; bDescriptorSubtype       db   0x01            ;; bTerminalID       db   0x01, 0x01         ;; wTerminalType AUDIO_TERMINAL_USB_STREAMING   0x0101         db   0x00            ;; bAssocTerminal       db   0x02              ;; bNrChannels       db   0x03, 0x00         ;; wChannelConfig 0x0003  Mono           db   0x00            ;; iChannelNames       db   0x00            ;; iTerminal ;;USB Speaker Output Terminal Descriptor       db   0x09         ;; bLength       db   0x24         ;; bDescriptorType       db   0x03        ;; bDescriptorSubtype       db   0x02            ;; bTerminalID       db   0x01, 0x03         ;; wTerminalType  0x0301       db   0x00            ;; bAssocTerminal       db   0x01            ;; bSourceID       db   0x00            ;; iTerminal    ;; USB Speaker Standard AS Interface Descriptor - Audio Streaming Zero Bandwith ;; Interface 1, Alternate Setting 0                                                   db   0x09     ;; bLength       db   0x04        ;; bDescriptorType       db   0x01            ;; bInterfaceNumber       db   0x00            ;; bAlternateSetting       db   0x00            ;; bNumEndpoints       db   0x01              ;; bInterfaceClass       db   0x02        ;; bInterfaceSubClass       db   0x00            ;; bInterfaceProtocol       db   0x00            ;; iInterface    ;; USB Speaker Standard AS Interface Descriptor - Audio Streaming Operational ;; Interface 1, Alternate Setting 1                                                 db   0x09     ;; bLength       db   0x04        ;; bDescriptorType       db   0x01            ;; bInterfaceNumber       db   0x01            ;; bAlternateSetting       db   0x02            ;; bNumEndpoints       db   0x01              ;; bInterfaceClass       db   0x02        ;; bInterfaceSubClass       db   0x00            ;; bInterfaceProtocol       db   0x00            ;; iInterface    ;; USB Speaker Audio Streaming Interface Descriptor       db   0x07     ;; bLength       db   0x24         ;; bDescriptorType       db   0x01             ;; bDescriptorSubtype       db   0x01            ;; bTerminalLink       db   0x00            ;; bDelay       db   0x01, 0x00         ;; wFormatTag AUDIO_FORMAT_PCM  0x0001    ;; USB Speaker Audio Type III Format Interface Descriptor       db   0x0B            ;; bLength       db   0x24         ;; bDescriptorType       db   0x02         ;; bDescriptorSubtype       db   0x01              ;; bFormatType       db   0x02            ;; bNrChannels       db   0x03            ;; bSubFrameSize :  3 Bytes per frame (24bits)       db   24                 ;; bBitResolution (24-bits per sample)         db   0x01            ;; bSamFreqType only one frequency supported         db   0x80, 0xBB, 0x00;; Audio sampling frequency coded on 3 bytes             ;; Endpoint 2 - Standard Descriptor       db   0x09    ;; bLength       db   0x05              ;; bDescriptorType       db   0x02            ;; bEndpointAddress 2 out endpoint       db   0x05              ;; bmAttributes (01)       db   0x26, 0x01 ;; wMaxPacketSize in Bytes (Freq(Samples)*2(Stereo)*3(HalfWord))         db   0x04            ;; bInterval       db   0x00            ;; bRefresh       db   0x88            ;; bSynchAddress    ;; Endpoint - Audio Streaming Descriptor       db   0x07   ;; bLength       db   0x25       ;; bDescriptorType       db   0x01              ;; bDescriptor       db   0x00            ;; bmAttributes       db   0x00            ;; bLockDelayUnits       db   0x00            ;; wLockDelay       db   0x00 ;; Endpoint 8 - Standard Descriptor       db   0x09    ;; bLength       db   0x05              ;; bDescriptorType       db   0x88            ;; bEndpointAddress 8 in endpoint       db   0x11              ;; bmAttributes       db   0x03, 0x00 ;; wMaxPacketSize in Bytes       db   0x04            ;; bInterval       db   0x04            ;; bRefresh       db   0x00            ;; bSynchAddress HighSpeedConfigDscrEnd: Кодwhile(!(EP2468STAT & bmEP8FULL))     {         EP8FIFOBUF[ 0 ] = 0x00;         EP8FIFOBUF[ 1 ] = 0x00;         EP8FIFOBUF[ 2 ] = 0x0C;         SYNCDELAY;         EP8BCH = 0x00;         SYNCDELAY;         EP8BCL = 0x03; // pass newly-sourced buffer on to host     }
  8. usb 4 android & stm32f4

    http://learn2prog.ru/android-usb
  9. Без разницы какой режим синхронизации использую, результат один и тот же. При попытке воспроизвести звук наблюдается примерно следующее: Код[ TXT Log File Generated By USBTrace ] --------- Request # 1 ----[OUT]---- URB_FUNCTION_SELECT_INTERFACE Length: 0x50 USBD Status: USBD_STATUS_SUCCESS (0x0) ConfigurationHandle: 0xFFFFE0001F7B3950 Interface Information Length: 0x30 InterfaceNumber: 0x1 AlternateSetting: 0x1 Class: 0x0 SubClass: 0x0 Protocol: 0x0 InterfaceHandle: 0x0 NumberOfPipes: 0x0 --------- Request # 2 ----[OUT]---- URB_FUNCTION_SELECT_INTERFACE Length: 0x50 USBD Status: USBD_STATUS_SUCCESS (0x0) ConfigurationHandle: 0xFFFFE0001F7B3950 Interface Information Length: 0x30 InterfaceNumber: 0x1 AlternateSetting: 0x1 Class: 0x0 SubClass: 0x0 Protocol: 0x0 InterfaceHandle: 0x0 NumberOfPipes: 0x0 --------- Request # 3 ----[IN]---- URB_FUNCTION_SELECT_INTERFACE Length: 0x50 USBD Status: USBD_STATUS_SUCCESS (0x0) ConfigurationHandle: 0xFFFFE0001F7B3950 Interface Information Length: 0x30 InterfaceNumber: 0x1 AlternateSetting: 0x1 Class: 0x1 SubClass: 0x2 Protocol: 0x0 InterfaceHandle: 0xFFFFE0001F5D3420 NumberOfPipes: 0x1 Pipe Information Pipe #0 MaximumPacketSize: 0x120 EndpointAddress: 0x2 Interval: 0x1 PipeType: UsbdPipeTypeIsochronous PipeHandle: 0xFFFFE0001F5D3448 MaximumTransferSize: 0x48000 --------- Request # 4 ----[IN]---- URB_FUNCTION_SELECT_INTERFACE Length: 0x50 USBD Status: USBD_STATUS_SUCCESS (0x0) ConfigurationHandle: 0xFFFFE0001F7B3950 Interface Information Length: 0x30 InterfaceNumber: 0x1 AlternateSetting: 0x1 Class: 0x1 SubClass: 0x2 Protocol: 0x0 InterfaceHandle: 0xFFFFE0001F5D3420 NumberOfPipes: 0x1 Pipe Information Pipe #0 MaximumPacketSize: 0x120 EndpointAddress: 0x2 Interval: 0x1 PipeType: UsbdPipeTypeIsochronous PipeHandle: 0xFFFFE0001F5D3448 MaximumTransferSize: 0x48000 --------- Request # 5 ----[OUT]---- URB_FUNCTION_ISOCH_TRANSFER Length: 0x110 USBD Status: USBD_STATUS_SUCCESS (0x0) EndpointAddress: 0x2 PipeHandle: 0xFFFFE0001F5D3448 TransferFlags: 0x4 ( USBD_TRANSFER_DIRECTION_OUT USBD_START_ISO_TRANSFER_ASAP ) TransferBufferLength: 0xB40 TransferBuffer: 0xFFFFD000235F60E0 TransferBufferMDL: 0x0 StartFrame: 0x0 NumberOfPackets: 0xA ErrorCount: 0x0 Iso Packet Descriptor IsoPacket #0 Offset: 0x0 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #1 Offset: 0x120 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #2 Offset: 0x240 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #3 Offset: 0x360 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #4 Offset: 0x480 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #5 Offset: 0x5A0 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #6 Offset: 0x6C0 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #7 Offset: 0x7E0 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #8 Offset: 0x900 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #9 Offset: 0xA20 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) ** Data ** 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 --------- Request # 6 ----[OUT]---- URB_FUNCTION_ISOCH_TRANSFER Length: 0x110 USBD Status: USBD_STATUS_SUCCESS (0x0) EndpointAddress: 0x2 PipeHandle: 0xFFFFE0001F5D3448 TransferFlags: 0x4 ( USBD_TRANSFER_DIRECTION_OUT USBD_START_ISO_TRANSFER_ASAP ) TransferBufferLength: 0xB40 TransferBuffer: 0xFFFFD000235F60E0 TransferBufferMDL: 0x0 StartFrame: 0x0 NumberOfPackets: 0xA ErrorCount: 0x0 Iso Packet Descriptor IsoPacket #0 Offset: 0x0 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #1 Offset: 0x120 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #2 Offset: 0x240 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #3 Offset: 0x360 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #4 Offset: 0x480 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #5 Offset: 0x5A0 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #6 Offset: 0x6C0 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #7 Offset: 0x7E0 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #8 Offset: 0x900 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) IsoPacket #9 Offset: 0xA20 Length: 0x0 Status: USBD_STATUS_SUCCESS (0x0) ** Data ** 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 --------- Request # 7 ----[IN]---- URB_FUNCTION_ISOCH_TRANSFER Length: 0x110 USBD Status: USBD_STATUS_INVALID_PARAMETER (0x80000300) EndpointAddress: 0x2 PipeHandle: 0xFFFFE0001F5D3448 TransferFlags: 0x4 ( USBD_TRANSFER_DIRECTION_OUT USBD_START_ISO_TRANSFER_ASAP ) TransferBufferLength: 0x0 TransferBuffer: 0xFFFFD000235F60E0 TransferBufferMDL: 0x0 StartFrame: 0x0 NumberOfPackets: 0xA ErrorCount: 0x0 Iso Packet Descriptor IsoPacket #0 Offset: 0x0 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #1 Offset: 0x120 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #2 Offset: 0x240 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #3 Offset: 0x360 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #4 Offset: 0x480 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #5 Offset: 0x5A0 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #6 Offset: 0x6C0 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #7 Offset: 0x7E0 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #8 Offset: 0x900 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #9 Offset: 0xA20 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) --------- Request # 8 ----[IN]---- URB_FUNCTION_ISOCH_TRANSFER Length: 0x110 USBD Status: USBD_STATUS_INVALID_PARAMETER (0x80000300) EndpointAddress: 0x2 PipeHandle: 0xFFFFE0001F5D3448 TransferFlags: 0x4 ( USBD_TRANSFER_DIRECTION_OUT USBD_START_ISO_TRANSFER_ASAP ) TransferBufferLength: 0x0 TransferBuffer: 0xFFFFD000235F60E0 TransferBufferMDL: 0x0 StartFrame: 0x0 NumberOfPackets: 0xA ErrorCount: 0x0 Iso Packet Descriptor IsoPacket #0 Offset: 0x0 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #1 Offset: 0x120 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #2 Offset: 0x240 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #3 Offset: 0x360 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #4 Offset: 0x480 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #5 Offset: 0x5A0 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #6 Offset: 0x6C0 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #7 Offset: 0x7E0 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #8 Offset: 0x900 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) IsoPacket #9 Offset: 0xA20 Length: 0x0 Status: USBD_STATUS_UNKNOWN (0xFFFFFFFF) --------- Request # 9 ----[OUT]---- URB_FUNCTION_ABORT_PIPE Length: 0x28 USBD Status: USBD_STATUS_SUCCESS (0x0) EndpointAddress: 0x2 PipeHandle: 0xFFFFE0001F5D3448 --------- Request # 10 ----[OUT]---- URB_FUNCTION_ABORT_PIPE Length: 0x28 USBD Status: USBD_STATUS_SUCCESS (0x0) EndpointAddress: 0x2 PipeHandle: 0xFFFFE0001F5D3448 --------- Request # 11 ----[IN]---- URB_FUNCTION_ABORT_PIPE Length: 0x28 USBD Status: USBD_STATUS_SUCCESS (0x0) EndpointAddress: 0x2 PipeHandle: 0xFFFFE0001F5D3448 --------- Request # 12 ----[IN]---- URB_FUNCTION_ABORT_PIPE Length: 0x28 USBD Status: USBD_STATUS_SUCCESS (0x0) EndpointAddress: 0x2 PipeHandle: 0xFFFFE0001F5D3448 --------- Request # 13 ----[OUT]---- URB_FUNCTION_SYNC_RESET_PIPE_AND_CLEAR_STALL Length: 0x28 USBD Status: USBD_STATUS_SUCCESS (0x0) EndpointAddress: 0x2 PipeHandle: 0xFFFFE0001F5D3448 --------- Request # 14 ----[OUT]---- URB_FUNCTION_SYNC_RESET_PIPE_AND_CLEAR_STALL Length: 0x28 USBD Status: USBD_STATUS_SUCCESS (0x0) EndpointAddress: 0x2 PipeHandle: 0xFFFFE0001F5D3448 --------- Request # 15 ----[IN]---- URB_FUNCTION_SYNC_RESET_PIPE_AND_CLEAR_STALL Length: 0x28 USBD Status: USBD_STATUS_SUCCESS (0x0) EndpointAddress: 0x2 PipeHandle: 0xFFFFE0001F5D3448 --------- Request # 16 ----[IN]---- URB_FUNCTION_SYNC_RESET_PIPE_AND_CLEAR_STALL Length: 0x28 USBD Status: USBD_STATUS_SUCCESS (0x0) EndpointAddress: 0x2 PipeHandle: 0xFFFFE0001F5D3448 ... и всё повторяется Проект прикрепил к сообщению. За основу был взят сайпросовский пример, поэтому и название проекта такое.
  10. попробуй скинуть утилиту hex2bin в папку с проектом и из cmd выполнить cd d:\cypress\usb\адрес_до_папки_с_проектом .\Hex2bix.exe -i -f 0xC2 -o FX2_to_extsyncFIFO.iic FX2_to_extsyncFIFO.hex
  11. Аналогичная проблема как и у автора. Решение не было найдено?
  12. USB

    Чтоб не плодить темы задам вопрос тут: Изучаю cy7c68013a, задача принять аудио данные. Дискриптор написал, устройство определяется нормально, но данные на устройство не уходят. Вроде всё делаю по примерам, но никак не заставить устройство принимать пакеты. В чём может быть дело? CODE#pragma NOIV // Do not generate interrupt vectors #include "fx2.h" #include "fx2regs.h" #include "fx2sdly.h" // SYNCDELAY macro extern BOOL GotSUD; // Received setup data flag extern BOOL Sleep; extern BOOL Rwuen; extern BOOL Selfpwr; BYTE Configuration; // Current configuration BYTE AlternateSetting; // Alternate settings void EZUSB_INITI2C(); //#define bmEP2IRQ 0x10 //----------------------------------------------------------------------------- // Task Dispatcher hooks // The following hooks are called by the task dispatcher. //----------------------------------------------------------------------------- void TD_Init(void) // Called once at startup { // set the CPU clock to 48MHz CPUCS = ((CPUCS & ~bmCLKSPD) | bmCLKSPD1); SYNCDELAY; // set the slave FIFO interface to 48MHz IFCONFIG |= 0x40; SYNCDELAY; // b7: Valid // b6: DIR (0=OUT, 1=IN) // b[5:4] Type (01=ISO, 10=BULK, 11=INT) // b3: Size (0=512, 1=1024 bytes) // b2: 0 // b[1:0] Buffering (00=quad, 10=double, 11=triple) // Only using endpoint 4, zero the valid bit on all others EP1OUTCFG = EP1INCFG = EP2CFG = EP4CFG = EP6CFG = EP8CFG = 0x00; SYNCDELAY; EP4CFG = 0x98; // EP4 is DIR=OUT, TYPE=ISOC, SIZE=1024, BUF=4x SYNCDELAY; // OUT endpoints do NOT come up armed EP4BCL = 0x80; // arm first buffer by writing BC w/skip=1 SYNCDELAY; EP4BCL = 0x80; // arm second buffer by writing BC w/skip=1 // enable dual autopointer feature //AUTOPTRSETUP |= 0x01; USBIE |= bmSOF; // Enable the SOF IRQ to serve as LED timers //EPIE = bmEP2IRQ; // Enable EP6 and EP2 Interrupts to turn on transfer LEDS //EPIE = bmEP4IRQ; // Enable EP6 and EP4 Interrupts to turn on transfer LEDS OEA = 0xFF; IOA = 0xFF; } void TD_Poll(void) // Called repeatedly while the device is idle { IOA = 0x00; // check EP4 EMPTY(busy) bit in EP2468STAT (SFR), core set's this bit when FIFO is empty if(!(EP2468STAT & bmEP4EMPTY)) { EP4BCL = 0x80; // re(arm) EP4OUT } IOA = 0xFF; } BOOL TD_Suspend(void) // Called before the device goes into suspend mode { return(TRUE); } BOOL TD_Resume(void) // Called after the device resumes { return(TRUE); } //----------------------------------------------------------------------------- // Device Request hooks // The following hooks are called by the end point 0 device request parser. //----------------------------------------------------------------------------- BOOL DR_GetDescriptor(void) { return(TRUE); } BOOL DR_SetConfiguration(void) // Called when a Set Configuration command is received { Configuration = SETUPDAT[2]; return(TRUE); // Handled by user code } BOOL DR_GetConfiguration(void) // Called when a Get Configuration command is received { EP0BUF[0] = Configuration; EP0BCH = 0; EP0BCL = 1; return(TRUE); // Handled by user code } BOOL DR_SetInterface(void) // Called when a Set Interface command is received { AlternateSetting = SETUPDAT[2]; return(TRUE); // Handled by user code } BOOL DR_GetInterface(void) // Called when a Set Interface command is received { EP0BUF[0] = AlternateSetting; EP0BCH = 0; EP0BCL = 1; return(TRUE); // Handled by user code } BOOL DR_GetStatus(void) { return(TRUE); } BOOL DR_ClearFeature(void) { return(TRUE); } BOOL DR_SetFeature(void) { return(TRUE); } BOOL DR_VendorCmnd(void) { return(TRUE); } //----------------------------------------------------------------------------- // USB Interrupt Handlers // The following functions are called by the USB interrupt jump table. //----------------------------------------------------------------------------- // Setup Data Available Interrupt Handler void ISR_Sudav(void) interrupt 0 { GotSUD = TRUE; // Set flag EZUSB_IRQ_CLEAR(); USBIRQ = bmSUDAV; // Clear SUDAV IRQ } // Setup Token Interrupt Handler void ISR_Sutok(void) interrupt 0 { EZUSB_IRQ_CLEAR(); USBIRQ = bmSUTOK; // Clear SUTOK IRQ } void ISR_Sof(void) interrupt 0 { EZUSB_IRQ_CLEAR(); USBIRQ = bmSOF; // Clear SOF IRQ } void ISR_Ures(void) interrupt 0 { // whenever we get a USB reset, we should revert to full speed mode pConfigDscr = pFullSpeedConfigDscr; ((CONFIGDSCR xdata *) pConfigDscr)->type = CONFIG_DSCR; pOtherConfigDscr = pHighSpeedConfigDscr; ((CONFIGDSCR xdata *) pOtherConfigDscr)->type = OTHERSPEED_DSCR; EZUSB_IRQ_CLEAR(); USBIRQ = bmURES; // Clear URES IRQ } void ISR_Susp(void) interrupt 0 { Sleep = TRUE; EZUSB_IRQ_CLEAR(); USBIRQ = bmSUSP; } void ISR_Highspeed(void) interrupt 0 { if (EZUSB_HIGHSPEED()) { pConfigDscr = pHighSpeedConfigDscr; ((CONFIGDSCR xdata *) pConfigDscr)->type = CONFIG_DSCR; pOtherConfigDscr = pFullSpeedConfigDscr; ((CONFIGDSCR xdata *) pOtherConfigDscr)->type = OTHERSPEED_DSCR; } EZUSB_IRQ_CLEAR(); USBIRQ = bmHSGRANT; } void ISR_Ep0ack(void) interrupt 0 { } void ISR_Stub(void) interrupt 0 { } void ISR_Ep0in(void) interrupt 0 { } void ISR_Ep0out(void) interrupt 0 { } void ISR_Ep1in(void) interrupt 0 { } void ISR_Ep1out(void) interrupt 0 { } void ISR_Ep2inout(void) interrupt 0 { //BYTE dum; //EZUSB_IRQ_CLEAR(); //EPIRQ = bmEP2IRQ; // Clear IRQ // check EP2 EMPTY(busy) bit in EP2468STAT (SFR), core set's this bit when FIFO is empty if(!(EP2468STAT & bmEP2EMPTY)) { EP2BCL = 0x80; // re(arm) EP2OUT } } void ISR_Ep4inout(void) interrupt 0 { //BYTE dum; //EZUSB_IRQ_CLEAR(); //EPIRQ = bmEP4IRQ; // Clear IRQ // check EP4 EMPTY(busy) bit in EP2468STAT (SFR), core set's this bit when FIFO is empty if(!(EP2468STAT & bmEP4EMPTY)) { EP4BCL = 0x80; // re(arm) EP4OUT } } void ISR_Ep6inout(void) interrupt 0 { } void ISR_Ep8inout(void) interrupt 0 { } void ISR_Ibn(void) interrupt 0 { } void ISR_Ep0pingnak(void) interrupt 0 { } void ISR_Ep1pingnak(void) interrupt 0 { } void ISR_Ep2pingnak(void) interrupt 0 { } void ISR_Ep4pingnak(void) interrupt 0 { } void ISR_Ep6pingnak(void) interrupt 0 { } void ISR_Ep8pingnak(void) interrupt 0 { } void ISR_Errorlimit(void) interrupt 0 { } void ISR_Ep2piderror(void) interrupt 0 { } void ISR_Ep4piderror(void) interrupt 0 { } void ISR_Ep6piderror(void) interrupt 0 { } void ISR_Ep8piderror(void) interrupt 0 { } void ISR_Ep2pflag(void) interrupt 0 { } void ISR_Ep4pflag(void) interrupt 0 { } void ISR_Ep6pflag(void) interrupt 0 { } void ISR_Ep8pflag(void) interrupt 0 { } void ISR_Ep2eflag(void) interrupt 0 { } void ISR_Ep4eflag(void) interrupt 0 { } void ISR_Ep6eflag(void) interrupt 0 { } void ISR_Ep8eflag(void) interrupt 0 { } void ISR_Ep2fflag(void) interrupt 0 { } void ISR_Ep4fflag(void) interrupt 0 { } void ISR_Ep6fflag(void) interrupt 0 { } void ISR_Ep8fflag(void) interrupt 0 { } void ISR_GpifComplete(void) interrupt 0 { } void ISR_GpifWaveform(void) interrupt 0 { } CODE;;----------------------------------------------------------------------------- ;; File: dscr.a51 ;; Contents: This file contains descriptor data tables. ;; ;; $Archive: /USB/Examples/Fx2lp/bulkloop/dscr.a51 $ ;; $Date: 9/01/03 8:51p $ ;; $Revision: 3 $ ;; ;; ;;----------------------------------------------------------------------------- ;; Copyright 2003, Cypress Semiconductor Corporation ;;-----------------------------------------------------------------------------;;----------------------------------------------------------------------------- DSCR_DEVICE equ 1 ;; Descriptor type: Device DSCR_CONFIG equ 2 ;; Descriptor type: Configuration DSCR_STRING equ 3 ;; Descriptor type: String DSCR_INTRFC equ 4 ;; Descriptor type: Interface DSCR_ENDPNT equ 5 ;; Descriptor type: Endpoint DSCR_DEVQUAL equ 6 ;; Descriptor type: Device Qualifier DSCR_DEVICE_LEN equ 18 DSCR_CONFIG_LEN equ 9 DSCR_INTRFC_LEN equ 9 DSCR_ENDPNT_LEN equ 7 DSCR_DEVQUAL_LEN equ 10 ET_CONTROL equ 0 ;; Endpoint type: Control ET_ISO equ 1 ;; Endpoint type: Isochronous ET_BULK equ 2 ;; Endpoint type: Bulk ET_INT equ 3 ;; Endpoint type: Interrupt public DeviceDscr, DeviceQualDscr, HighSpeedConfigDscr, FullSpeedConfigDscr, StringDscr, UserDscr DSCR SEGMENT CODE PAGE ;;----------------------------------------------------------------------------- ;; Global Variables ;;----------------------------------------------------------------------------- rseg DSCR ;; locate the descriptor table in on-part memory. DeviceDscr: db DSCR_DEVICE_LEN ;; Descriptor length db DSCR_DEVICE ;; Decriptor type dw 0002H ;; Specification Version (BCD) db 00H ;; Device class db 00H ;; Device sub-class db 00H ;; Device sub-sub-class db 64 ;; Maximum packet size dw 0FF00H ;; Vendor ID dw 0FF0H ;; Product ID (Sample Device) dw 0000H ;; Product version ID db 1 ;; Manufacturer string index db 2 ;; Product string index db 0 ;; Serial number string index db 1 ;; Number of configurations DeviceQualDscr: db DSCR_DEVQUAL_LEN ;; Descriptor length db DSCR_DEVQUAL ;; Decriptor type dw 0002H ;; Specification Version (BCD) db 00H ;; Device class db 00H ;; Device sub-class db 00H ;; Device sub-sub-class db 64 ;; Maximum packet size db 1 ;; Number of configurations db 0 ;; Reserved HighSpeedConfigDscr: /* Configuration 1 */ db 0x09 /* bLength */ db 0x02 /* bDescriptorType */ db (HighSpeedConfigDscrEnd-HighSpeedConfigDscr) mod 256 /* wTotalLength 109 bytes*/ db (HighSpeedConfigDscrEnd-HighSpeedConfigDscr) / 256 db 0x02 /* bNumInterfaces */ db 0x01 /* bConfigurationValue */ db 0x00 /* iConfiguration */ db 0xC0 /* bmAttributes BUS Powred*/ db 0x32 /* bMaxPower = 100 mA*/ /* 09 byte*/ /* USB Speaker Standard interface descriptor */ db 0x09 /* bLength */ db 0x04 /* bDescriptorType */ db 0x00 /* bInterfaceNumber */ db 0x00 /* bAlternateSetting */ db 0x00 /* bNumEndpoints */ db 0x01 /* bInterfaceClass */ db 0x01 /* bInterfaceSubClass */ db 0x00 /* bInterfaceProtocol */ db 0x00 /* iInterface 7??????????*/ ;;USB Speaker Class-specific AC Interface Descriptor */ db 0x09 ;;;;/* bLength */ db 0x24 ;;;;/* bDescriptorType */ db 0x01 ;;;;/* bDescriptorSubtype */ db 0x00, 0x01 ;;;;/* 1.00 */ ;;/* bcdADC */ db 0x27, 0x00 ;;;;/* wTotalLength = 39 30?????????*/ db 0x01 ;;;;/* bInCollection */ db 0x01 ;;;;/* baInterfaceNr */ ;;;;/* 09 byte*/ ;;;;/* USB Speaker Input Terminal Descriptor */ db 0x0C ;;;;/* bLength */ db 0x24 ;;;;/* bDescriptorType */ db 0x02 ;;;;/* bDescriptorSubtype */ db 0x01 ;;;;/* bTerminalID */ db 0x01, 0x01 ;;;;/* wTerminalType AUDIO_TERMINAL_USB_STREAMING 0x0101 */ db 0x00 ;;;;/* bAssocTerminal */ db 0x02, 0x03 ;;;;/* bNrChannels */ ;;;;/* wChannelConfig 0x0003 Mono */ db 0x00 db 0x00 ;;;;/* iChannelNames */ db 0x00 ;;;;/* iTerminal */ ;;;;/*USB Speaker Output Terminal Descriptor */ db 0x09 ;;;;/* bLength */ db 0x24 ;;;;/* bDescriptorType */ db 0x03 ;;;;/* bDescriptorSubtype */ db 0x02 ;;;;/* bTerminalID */ db 0x01 ;;/* wTerminalType 0x0301*/ db 0x03 db 0x00 ;;/* bAssocTerminal */ db 0x01 ;;/* bSourceID */ db 0x00 ;;/* iTerminal */ ;;/* 09 byte*/ ;;/* USB Speaker Standard AS Interface Descriptor - Audio Streaming Zero Bandwith */ ;;/* Interface 1, Alternate Setting 0 */ db 0x09 ;;/* bLength */ db 0x04 ;;/* bDescriptorType */ db 0x01 ;;/* bInterfaceNumber */ db 0x00 ;;/* bAlternateSetting */ db 0x00 ;;/* bNumEndpoints */ db 0x01 ;;/* bInterfaceClass */ db 0x02 ;;/* bInterfaceSubClass */ db 0x00 ;;/* bInterfaceProtocol */ db 0x00 ;;/* iInterface */ ;;/* 09 byte*/ ;;/* USB Speaker Standard AS Interface Descriptor - Audio Streaming Operational */ ;;/* Interface 1, Alternate Setting 1 */ db 0x09 ;;/* bLength */ db 0x04 ;;/* bDescriptorType */ db 0x01 ;;/* bInterfaceNumber */ db 0x01 ;;/* bAlternateSetting */ db 0x01 ;;/* bNumEndpoints */ db 0x01 ;;/* bInterfaceClass */ db 0x02 ;;/* bInterfaceSubClass */ db 0x00 ;;/* bInterfaceProtocol */ db 0x00 ;;/* iInterface */ ;;/* 09 byte*/ ;;/* USB Speaker Audio Streaming Interface Descriptor */ db 0x07 ;;/* bLength */ db 0x24 ;;/* bDescriptorType */ db 0x01 ;;/* bDescriptorSubtype */ db 0x01 ;;/* bTerminalLink */ db 0x01 ;;/* bDelay */ db 0x01 ;;/* wFormatTag AUDIO_FORMAT_PCM 0x0001*/ db 0x00 ;;/* 07 byte*/ ;;/* USB Speaker Audio Type III Format Interface Descriptor */ db 0x0B ;;/* bLength */ db 0x24 ;;/* bDescriptorType */ db 0x02 ;;/* bDescriptorSubtype */ db 0x01 ;;/* bFormatType */ db 0x02 ;;/* bNrChannels */ db 0x03 ;;/* bSubFrameSize : 3 Bytes per frame (24bits) */ db 24 ;;/* bBitResolution (24-bits per sample) */ db 0x01 ;;/* bSamFreqType only one frequency supported */ db 0x80 ;;/* Audio sampling frequency coded on 3 bytes */ db 0xBB db 0x00 ;;/* 11 byte*/ ;;/* Endpoint 1 - Standard Descriptor */ db 0x09 ;;/* bLength */ db 0x05 ;;/* bDescriptorType */ db 0x04 ;;/* bEndpointAddress 4 out endpoint*/ db 0x01;;0x05 ;;/* bmAttributes */ db 0x20 ;;/* wMaxPacketSize in Bytes (Freq(Samples)*2(Stereo)*2(HalfWord)) */ db 0x01 db 0x01 ;;/* bInterval */ db 0x00 ;;/* bRefresh */ db 0x00;//0x81 ;;/* bSynchAddress */ ;;/* 09 byte*/ ;;/* Endpoint - Audio Streaming Descriptor*/ db 0x07 ;;/* bLength */ db 0x25 ;;/* bDescriptorType */ db 0x01 ;;/* bDescriptor */ db 0x00 ;;/* bmAttributes */ db 0x00 ;;/* bLockDelayUnits */ db 0x00 ;;/* wLockDelay */ db 0x00 ;;/* 07 byte*/ ;; Endpoint - Standard Descriptor <-------- additional feedback EP ;;db 0x09 ;;/* bLength */ ;;db 0x05 ;;/* bDescriptorType */ ;;db 0x81 ;;/* bEndpointAddress */ ;;db 0x01 ;;/* bmAttributes */ ;;db 0x03 ;;/*1x 3 bytes wMaxPacketSize */ ;;db 0x00 ;;db 0x01 ;;/* bInterval */ ;;db 0x03 ;;/* bRefresh, every 2ms */ ;;db 0x00 ;;/* bSynchAddress */ ;;/* 09 byte*/ HighSpeedConfigDscrEnd: FullSpeedConfigDscr: /* Configuration 1 */ db 0x09 /* bLength */ db 0x02 /* bDescriptorType */ db (HighSpeedConfigDscrEnd-HighSpeedConfigDscr) mod 256 /* wTotalLength 109 bytes*/ db (HighSpeedConfigDscrEnd-HighSpeedConfigDscr) / 256 db 0x02 /* bNumInterfaces */ db 0x01 /* bConfigurationValue */ db 0x00 /* iConfiguration */ db 0xC0 /* bmAttributes BUS Powred*/ db 0x32 /* bMaxPower = 100 mA*/ /* 09 byte*/ /* USB Speaker Standard interface descriptor */ db 0x09 /* bLength */ db 0x04 /* bDescriptorType */ db 0x00 /* bInterfaceNumber */ db 0x00 /* bAlternateSetting */ db 0x00 /* bNumEndpoints */ db 0x01 /* bInterfaceClass */ db 0x01 /* bInterfaceSubClass */ db 0x00 /* bInterfaceProtocol */ db 0x00 /* iInterface 7??????????*/ ;;USB Speaker Class-specific AC Interface Descriptor */ db 0x09 ;;;;/* bLength */ db 0x24 ;;;;/* bDescriptorType */ db 0x01 ;;;;/* bDescriptorSubtype */ db 0x00, 0x01 ;;;;/* 1.00 */ ;;/* bcdADC */ db 0x27, 0x00 ;;;;/* wTotalLength = 39 30?????????*/ db 0x01 ;;;;/* bInCollection */ db 0x01 ;;;;/* baInterfaceNr */ ;;;;/* 09 byte*/ ;;;;/* USB Speaker Input Terminal Descriptor */ db 0x0C ;;;;/* bLength */ db 0x24 ;;;;/* bDescriptorType */ db 0x02 ;;;;/* bDescriptorSubtype */ db 0x01 ;;;;/* bTerminalID */ db 0x01, 0x01 ;;;;/* wTerminalType AUDIO_TERMINAL_USB_STREAMING 0x0101 */ db 0x00 ;;;;/* bAssocTerminal */ db 0x02, 0x03 ;;;;/* bNrChannels */ ;;;;/* wChannelConfig 0x0003 Mono */ db 0x00 db 0x00 ;;;;/* iChannelNames */ db 0x00 ;;;;/* iTerminal */ ;;;;/*USB Speaker Output Terminal Descriptor */ db 0x09 ;;;;/* bLength */ db 0x24 ;;;;/* bDescriptorType */ db 0x03 ;;;;/* bDescriptorSubtype */ db 0x02 ;;;;/* bTerminalID */ db 0x01 ;;/* wTerminalType 0x0301*/ db 0x03 db 0x00 ;;/* bAssocTerminal */ db 0x01 ;;/* bSourceID */ db 0x00 ;;/* iTerminal */ ;;/* 09 byte*/ ;;/* USB Speaker Standard AS Interface Descriptor - Audio Streaming Zero Bandwith */ ;;/* Interface 1, Alternate Setting 0 */ db 0x09 ;;/* bLength */ db 0x04 ;;/* bDescriptorType */ db 0x01 ;;/* bInterfaceNumber */ db 0x00 ;;/* bAlternateSetting */ db 0x00 ;;/* bNumEndpoints */ db 0x01 ;;/* bInterfaceClass */ db 0x02 ;;/* bInterfaceSubClass */ db 0x00 ;;/* bInterfaceProtocol */ db 0x00 ;;/* iInterface */ ;;/* 09 byte*/ ;;/* USB Speaker Standard AS Interface Descriptor - Audio Streaming Operational */ ;;/* Interface 1, Alternate Setting 1 */ db 0x09 ;;/* bLength */ db 0x04 ;;/* bDescriptorType */ db 0x01 ;;/* bInterfaceNumber */ db 0x01 ;;/* bAlternateSetting */ db 0x01 ;;/* bNumEndpoints */ db 0x01 ;;/* bInterfaceClass */ db 0x02 ;;/* bInterfaceSubClass */ db 0x00 ;;/* bInterfaceProtocol */ db 0x00 ;;/* iInterface */ ;;/* 09 byte*/ ;;/* USB Speaker Audio Streaming Interface Descriptor */ db 0x07 ;;/* bLength */ db 0x24 ;;/* bDescriptorType */ db 0x01 ;;/* bDescriptorSubtype */ db 0x01 ;;/* bTerminalLink */ db 0x01 ;;/* bDelay */ db 0x01 ;;/* wFormatTag AUDIO_FORMAT_PCM 0x0001*/ db 0x00 ;;/* 07 byte*/ ;;/* USB Speaker Audio Type III Format Interface Descriptor */ db 0x0B ;;/* bLength */ db 0x24 ;;/* bDescriptorType */ db 0x02 ;;/* bDescriptorSubtype */ db 0x01 ;;/* bFormatType */ db 0x02 ;;/* bNrChannels */ db 0x03 ;;/* bSubFrameSize : 3 Bytes per frame (24bits) */ db 24 ;;/* bBitResolution (24-bits per sample) */ db 0x01 ;;/* bSamFreqType only one frequency supported */ db 0x80 ;;/* Audio sampling frequency coded on 3 bytes */ db 0xBB db 0x00 ;;/* 11 byte*/ ;;/* Endpoint 1 - Standard Descriptor */ db 0x09 ;;/* bLength */ db 0x05 ;;/* bDescriptorType */ db 0x04 ;;/* bEndpointAddress 4 out endpoint*/ db 0x01;;0x05 ;;/* bmAttributes */ db 0x20 ;;/* wMaxPacketSize in Bytes (Freq(Samples)*2(Stereo)*2(HalfWord)) */ db 0x01 db 0x01 ;;/* bInterval */ db 0x00 ;;/* bRefresh */ db 0x00;//0x81 ;;/* bSynchAddress */ ;;/* 09 byte*/ ;;/* Endpoint - Audio Streaming Descriptor*/ db 0x07 ;;/* bLength */ db 0x25 ;;/* bDescriptorType */ db 0x01 ;;/* bDescriptor */ db 0x00 ;;/* bmAttributes */ db 0x00 ;;/* bLockDelayUnits */ db 0x00 ;;/* wLockDelay */ db 0x00 ;;/* 07 byte*/ ;; Endpoint - Standard Descriptor <-------- additional feedback EP ;;db 0x09 ;;/* bLength */ ;;db 0x05 ;;/* bDescriptorType */ ;;db 0x81 ;;/* bEndpointAddress */ ;;db 0x01 ;;/* bmAttributes */ ;;db 0x03 ;;/*1x 3 bytes wMaxPacketSize */ ;;db 0x00 ;;db 0x01 ;;/* bInterval */ ;;db 0x03 ;;/* bRefresh, every 2ms */ ;;db 0x00 ;;/* bSynchAddress */ ;;/* 09 byte*/ FullSpeedConfigDscrEnd: StringDscr: StringDscr0: db StringDscr0End-StringDscr0 ;; String descriptor length db DSCR_STRING db 09H,04H StringDscr0End: StringDscr1: db StringDscr1End-StringDscr1 ;; String descriptor length db DSCR_STRING db 'R',00 db '6',00 db 'M',00 db 'F',00 db '4',00 db '9',00 db 'T',00 db '2',00 StringDscr1End: StringDscr2: db StringDscr2End-StringDscr2 ;; Descriptor length db DSCR_STRING db 'Q',00 db 'W',00 db 'E',00 db 'R',00 db 'T',00 db 'Y',00 StringDscr2End: UserDscr: dw 0000H end
  13. Цитата(jcxz @ Jun 17 2015, 07:20) Вам конечно виднее, ибо тут телепатов нет чтобы угадывать что у Вас там за схема. Вначале говорили о DSP (с USB), сейчас уже оказывается CY7C68013A + ПЛИС. Как тут можно что-то подсказать? И непонятно - в чём сложность EP0 в CY7C68013A? Хост периодически будет запрашивать коэфф. у устройства, а оно будет отвечать. Ну под DSP я имел ввиду просто обработку сигнала, которая будет включать в себя один 31 полосовой эквалайзер, после - разделение на 8 каналов, линию задержек и 10 полосный эквалайзер на каждый канал. Эквалайзеры состоят из последовательно включенных "Second-Order" фильтров, для которых необходимо по 5 коэффициентов в формате 4.20. Итого 333 байт + 8 байт задержек. Попробую сейчас проверить на STM32 (пока отладка сайпрасса едет из китая), но есть подозрения что данные будут передаваться довольно долго. Я так понимаю вы предлагаете использовать Extension Unit для передачи данных? Не возникнет ли проблем при попытке отправить данные ep0 из андроид приложения при использовании стандартного драйвера?
  14. Цитата(jcxz @ Jun 16 2015, 18:17) А почему не передавать эти коэфф. через Ep0? С EP0 будет работать только 8051 ядро CY7C68013A, а остальные эндпоинты будут заведены в плис. Мне кажется что реализовать протокол по EP0 в этом случае сложнее.
  15. Итак только начал знакомится с usb, появилось несколько вопросов. Собираюсь сделать Usb Audio Device c DSP ядром. Устройство будет подключатся к девайсу на андроиде. На устройство необходимо передавать аудиопоток и коэффициенты для фильтров (порядка 333байт по изменению). Причём всё должно обслуживатся стандартными драйверами на устройстве. С аудиопотоком проблем нет, возник вопрос как передать коэфициенты. Если я правильно понимаю то реализовать можно добавив отдельный интерфейс HID Consumer Control и из своей программы отсылать коофициенты именно этому интерфейсу через Interrupt pipe. 1)Смогу ли я передать коофициенты во время активного воспроизведения? Аудиопоток при этом не прервётся? 2)Аудиопоток будет асинхронным с фидбэк конечной точкой. С чего начинается воспроизведение, с запроса данных от фидбэка или с пакета аудиоданных?