Teensy 4.1 serial host doesn't recognize a serial device from MicroPython

AlexGrand

New member
Hi everyone,

I have a new problem with the serial host of Teensy 4.1 connecting to a micro controller MicroPython.

The connection doesn't seems to want to go through. Here is what I get when i remove the debug parameter in USBHost_t36.h

Code:
USB Host Testing - Serial

USB2 PLL running

 reset waited 6

USBHS_ASYNCLISTADDR = 0

USBHS_PERIODICLISTBASE = 20006000

periodictable = 20006000

port change: 10001803

    connect

  begin reset

port change: 10001005

  port enabled

  end recovery

new_Device: 12 Mbit/sec

new_Pipe

enumeration:

enumeration:

enumeration:

Device Descriptor:

  12 01 00 02 EF 02 01 40 55 F0 00 98 00 02 01 02 03 01 

    VendorID = F055, ProductID = 9800, Version = 0200

    Class/Subclass/Protocol = 239 / 2 / 1

    Number of Configurations = 1

enumeration:

enumeration:

Manufacturer: MicroPython

enumeration:

Product: Pyboard Virtual Comm Port in FS Mode

enumeration:

Serial Number: 207C395C394E

enumeration:

Config data length = 98

enumeration:

Configuration Descriptor:

  09 02 62 00 03 01 00 80 FA 

    NumInterfaces = 3

    ConfigurationValue = 1

  09 04 00 00 02 08 06 50 00 

    Interface = 0

    Number of endpoints = 2

    Class/Subclass/Protocol = 8(Mass Storage) / 6(SCSI) / 80(Bulk Only)

  07 05 81 02 40 00 00 

    Endpoint = 1 IN

    Type = Bulk

    Max Size = 64

    Polling Interval = 0

  07 05 01 02 40 00 00 

    Endpoint = 1 OUT

    Type = Bulk

    Max Size = 64

    Polling Interval = 0

  08 0B 01 02 02 02 01 00 

    Interface Association = 1 through 2

    Class / Subclass / Protocol = 2 / 2 / 0

  09 04 01 00 01 02 02 01 00 

    Interface = 1

    Number of endpoints = 1

    Class/Subclass/Protocol = 2 / 2 / 1

  05 24 00 10 01 

  05 24 01 00 02 

  04 24 02 02 

  05 24 06 01 02 

  07 05 82 03 08 00 20 

    Endpoint = 2 IN

    Type = Interrupt

    Max Size = 8

    Polling Interval = 32

  09 04 02 00 02 0A 00 00 00 

    Interface = 2

    Number of endpoints = 2

    Class/Subclass/Protocol = 10 / 0 / 0

  07 05 03 02 40 00 00 

    Endpoint = 3 OUT

    Type = Bulk

    Max Size = 64

    Polling Interval = 0

  07 05 83 02 40 00 00 

    Endpoint = 3 IN

    Type = Bulk

    Max Size = 64

    Polling Interval = 0

enumeration:

USBHub memory usage = 960

USBHub claim_device this=20003A20

USBHub memory usage = 960

USBHub claim_device this=20005220

HIDParser claim this=20002CA0

HIDParser claim this=20003360

HIDParser claim this=200055E0

USBSerial(512)claim this=20003E60

vid=F055, pid=9800, bDeviceClass = 239, bDeviceSubClass = 2, bDeviceProtocol = 1

09 04 00 00 02 08 06 50 00 07 05 81 02 40 00 00 07 05 01 02 40 00 00 08 0B 01 02 02 02 01 00 09 04 01 00 01 02 02 01 00 05 24 00 10 01 05 24 01 00 02 04 24 02 02 05 24 06 01 02 07 05 82 03 08 00 20 09 04 02 00 02 0A 00 00 00 07 05 03 02 40 00 00 07 05 83 02 40 00 00 

Descriptor 4 = INTERFACE

HIDParser claim this=20002CA0

HIDParser claim this=20003360

HIDParser claim this=200055E0

USBSerial(512)claim this=20003E60

vid=F055, pid=9800, bDeviceClass = 239, bDeviceSubClass = 2, bDeviceProtocol = 1

09 04 00 00 02 08 06 50 00 07 05 81 02 40 00 00 07 05 01 02 40 00 00 08 0B 01 02 02 02 01 00 09 04 01 00 01 02 02 01 00 05 24 00 10 01 05 24 01 00 02 04 24 02 02 05 24 06 01 02 07 05 82 03 08 00 20 09 04 02 00 02 0A 00 00 00 07 05 03 02 40 00 00 07 05 83 02 40 00 00 

Descriptor 5 = ENDPOINT

Descriptor 5 = ENDPOINT

Descriptor 11 = IAD

Descriptor 4 = INTERFACE

HIDParser claim this=20002CA0

HIDParser claim this=20003360

HIDParser claim this=200055E0

USBSerial(512)claim this=20003E60

vid=F055, pid=9800, bDeviceClass = 239, bDeviceSubClass = 2, bDeviceProtocol = 1

09 04 01 00 01 02 02 01 00 05 24 00 10 01 05 24 01 00 02 04 24 02 02 05 24 06 01 02 07 05 82 03 08 00 20 09 04 02 00 02 0A 00 00 00 07 05 03 02 40 00 00 07 05 83 02 40 00 00 

Descriptor 36 =  ???

Descriptor 36 =  ???

Descriptor 36 =  ???

Descriptor 36 =  ???

Descriptor 5 = ENDPOINT

Descriptor 4 = INTERFACE

HIDParser claim this=20002CA0

HIDParser claim this=20003360

HIDParser claim this=200055E0

USBSerial(512)claim this=20003E60

vid=F055, pid=9800, bDeviceClass = 239, bDeviceSubClass = 2, bDeviceProtocol = 1

09 04 02 00 02 0A 00 00 00 07 05 03 02 40 00 00 07 05 83 02 40 00 00 

len = 23

Descriptor 5 = ENDPOINT

Descriptor 5 = ENDPOINT

It seems to be stuck with a device class = 239 and subclass =2 that it doesn't know how to handle.
But I am a bit confused how to deal with it from there.
If someone has an idea how to proceed it would help me a lot.

Thanks

Alex
 
Back
Top