OpenCores
no use no use 1/1 no use no use
Possible enumeration bug found
by venny on Jun 4, 2011
venny
Posts: 2
Joined: Feb 27, 2011
Last seen: Jan 23, 2013
Hello everyone, I'm not sure if anyone posted about this before: In USB 1.1 core from opencores_ws, file usb1_ctrl.v, line 253, shouldn't there be "(rom_size_dd > wLength[15:0])", instead of [6:0]?
When used with NI VISA driver, host asks for 0x400 bytes of configuration descriptor(0x80 0x6 0x0 0x2 0x0 0x0 0x0 0x4). This caused device to return 0 bytes, now it seems to work properly. Was anyone facing the same problem?
RE: Possible enumeration bug found
by dnagy on Jan 27, 2012
dnagy
Posts: 5
Joined: Apr 15, 2010
Last seen: Nov 17, 2022
Just to let you know I replicated this issue in a test and confirmed the following fixes it.

assign rom_size_d = ({9'b000000000,rom_size_dd} > wLength) ? wLength : rom_size_dd;
no use no use 1/1 no use no use
© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.