Unable to get serial number descriptor: LIBUSB_TRANSFER_TIMED_OUT

Hi,
Im trying to upload a simple serial echo program to a B523 board with the SOM eval board.

Error:

:::: PUTTING DEVICE INTO DFU MODE
Unable to get serial number descriptor: LIBUSB_TRANSFER_TIMED_OUT
:::: FLASHING APPLICATION

Code:

void setup() {
  Serial.begin(9600);
}

void loop()
{
  if (Serial.available())
  {
    int inByte = Serial.read();
    Serial.write(inByte);
  }
}

Can you try putting the device in DFU Mode manually and run particle update -v once and then try again?

Okay it worked, but i get the error every time i try to restart the debugger or compile/flash new code.

This is what i do:

  1. particle update -v
  2. Compile
  3. Flash
  4. Everything works now
  5. I make a change and try to compile/flash agian
  6. Gets “Unable to get serial number descriptor: LIBUSB_TRANSFER_TIMED_OUT”’
  7. Repeat

This would suggest your code does something to the device OS.
Could it be that you are targeting an old version (pre introduction for USB Control Requests) and flash the device OS too (i.e. when flashing the debugging version)?

When this happens, put your device into Listening Mode and run particle serial inspect to see what version each individual module has.

Thank you! I Updated the device OS and i everything works as it should now.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.