USB FPGA Firmware ISP1362: Enumeration, Empty OUT Packet -


i writing firmware interface fpga mat-lab data acquisition , control. setup far fpga (de2-115) -> isp 1362 -> pc (windows). using generic "usb view" program view device descriptors.

i've hit wall. usb host resets device, sends 8-byte "get descriptor" request. fill in ep 18 bytes , validate it. 20? microseconds later isp1362 flags interrupt , status of in ep is empty (data sent, right?). more microseconds later there 0 length packet in out ep. clear out ep. after 220 microseconds host resets device again. darn 0 length packet mean?

summarize: receive bus reset, receive descriptor, send description, receive empty packet, receive bus reset.

also, there program let me @ raw data interaction of this? want see host (pc) sees.

blength             =   8'h12        ; bdescriptortype     =   8'h01        ; bcdusb              =   16'h0200     ; bdeviceclass        =   8'h00        ; bdevicesubclass     =   8'h00        ; bdeviceprotocol     =   8'h00        ; bmaxpacketsize0     =   8'h40        ; idvendor            =   16'h067b     ; idproduct           =   16'h2303     ; bcddevice           =   16'h0400     ; imanufacturer       =   8'h01        ; iproduct            =   8'h02        ; iserialnumber       =   8'h00        ; bnumconfigs         =   8'h01        ; 


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -