USB HOST NOT ENUMERATING

Created at 2024-02-27 19:53:17

A test has been done using the same hardware configuration and now using RT-THREAD 4.1.1, but compiling two versions with some configuration changes:

a) First configuration:
**not using RT_USING_STIO

      RT_USING TERMIOS**

The USB Host works properly:

msh />start enumeration
pipe transform remain size,: 8
pipe transform remain size,: 0
rt_usb_set_address
pipe transform remain size,: 0
get device descriptor length 18
pipe transform remain size,: 18
pipe transform remain size,: 0
Vendor ID 0x58f
Product ID 0x6387
pipe transform remain size,: 18
pipe transform remain size,: 0
pipe transform remain size,: 32
pipe transform remain size,: 0
pipe transform remain size,: 0
rt_usb_get_interface_descriptor: 0
interface class 0x8, subclass 0x6
rt_usb_get_endpoint_descriptor: 0
rt_usb_get_endpoint_descriptor: 1
rt_usb_get_endpoint_descriptor: 0
rt_usb_get_endpoint_descriptor: 1
pipe transform remain size,: 0
pipe transform remain size,: 1
pipe transform remain size,: 0
pipe transform remain size,: 31
pipe transform remain size,: 36
pipe transform remain size,: 13
pipe transform remain size,: 31
pipe transform remain size,: 13
pipe transform remain size,: 31
pipe transform remain size,: 18
pipe transform remain size,: 13
pipe transform remain size,: 31
pipe transform remain size,: 13
pipe transform remain size,: 31
pipe transform remain size,: 8
pipe transform remain size,: 13
pipe transform remain size,: 31
pipe transform remain size,: 512
[I/main] sd card detected : mounted to '/'
pipe transform remain size,: 448
pipe transform remain size,: 384
pipe transform remain size,: 320
pipe transform remain size,: 256
pipe transform remain size,: 192
pipe transform remain size,: 128
pipe transform remain size,: 64
pipe transform remain size,: 13
found part[0], begin: 184320, size: 3.927GB
pipe transform remain size,: 31
pipe transform remain size,: 512
pipe transform remain size,: 448
pipe transform remain size,: 384
pipe transform remain size,: 320
pipe transform remain size,: 256
pipe transform remain size,: 192
pipe transform remain size,: 128
pipe transform remain size,: 64
pipe transform remain size,: 13
pipe transform remain size,: 31
pipe transform remain size,: 512
pipe transform remain size,: 448
pipe transform remain size,: 384
pipe transform remain size,: 320
pipe transform remain size,: 256
pipe transform remain size,: 192
pipe transform remain size,: 128
pipe transform remain size,: 64
pipe transform remain size,: 13
pipe transform remain size,: 31
pipe transform remain size,: 512
pipe transform remain size,: 448
pipe transform remain size,: 384
pipe transform remain size,: 320
pipe transform remain size,: 256
pipe transform remain size,: 192
pipe transform remain size,: 128
pipe transform remain size,: 64
pipe transform remain size,: 13

msh />ls /usb
Directory /usb:
pipe transform remain size,: 31
pipe transform remain size,: 512
pipe transform remain size,: 448
pipe transform remain size,: 384
pipe transform remain size,: 320
pipe transform remain size,: 256
pipe transform remain size,: 192
pipe transform remain size,: 128
pipe transform remain size,: 64
pipe transform remain size,: 13

...

msh />ls /usb
Directory /usb:
pipe transform remain size,: 31
pipe transform remain size,: 512
pipe transform remain size,: 448
pipe transform remain size,: 384
pipe transform remain size,: 320
pipe transform remain size,: 256
pipe transform remain size,: 192
pipe transform remain size,: 128
pipe transform remain size,: 64
pipe transform remain size,: 13
System Volume Inform<DIR>
RT-THREAD4.odt 36404
msh />

b) using the same program but with

**RT_USING_STDIO
RT_USING_TERMIOS**

the device doesn't enumerate.

更多

Follower
0
Views
295
1 Answer
RTThread_IoT_OS
RTThread_IoT_OS 2024-02-28

Kindly connect with Cathy on LinkedIn, and She will be glad to assist in investigating this matter further. https://www.linkedin.com/in/li-cathy-25658b154/

Write Your Answer

Log in to publish your answer,Click here to log in.

Create
Post

Share