USB HOST FAILS ON RT5.0.2 but not on RT4.1.1

Created at 2024-02-17 00:52:14

Same code on the two O.S. version

ENUMERATION OK

| /

  • RT - Thread Operating System
    / | 4.1.1 build Feb 16 2024 15:09:46
    2006 - 2022 Copyright by RT-Thread team

lwIP-2.1.2 initialized!
[I/SDIO] SD card capacity 7617536 KB.
[I/SDIO] SD card max data rate 25 MB/s.
found part[0], begin: 1048576, size: 7.270GB
[I/usb_drv] USB HOST Hub Driver init success.
[I/utest] utest is initialize success.
[I/utest] total utest testcase num: (0)
[I/sal.skt] Socket Abstraction Layer initialize success.
[I/main] -----------------------------------------------
[I/main] MAS - Multiple Analysers for Safeguards
[I/main] -----------------------------------------------
[I/main] JRC Laboratorio Neutroni (PUNITA) G.II.7 Ispra
[I/main] -----------------------------------------------
SD_dt( PG.8 ) PIN 104
msh />[I/main] sd card detected : mounted to '/'
found part[0], begin: 184320, size: 3.927GB

msh />
msh />ls /usb
Directory /usb:
System Volume Inform<DIR>
RT-THREAD4.odt 36404
msh />
msh />

RT 5.0.2

ENUMERATION FAILS

[0] D/drv.sram: sram init success, mapped at 0x6C000000,
size is 67108864 bytes, data width is 16

| /

  • RT - Thread Operating System
    / | 5.0.2 build Feb 16 2024 15:14:52
    2006 - 2022 Copyright by RT-Thread team

lwIP-2.1.2 initialized!
[4402] I/SDIO: SD card capacity 7617536 KB.
found part[0], begin: 1048576, size: 7.270GB
[4614] D/usb_drv: usb connected

[4615] I/sal.skt: Socket Abstraction Layer initialize success.
[4622] I/main: -----------------------------------------------
[4630] I/main: MAS - Multiple Analysers for Safeguards
[4637] I/main: -----------------------------------------------
[4644] I/main: Joint Research Centre (JRC) Ispra(VA), Italy
[4651] I/main: JRC GII.7 , Laboratorio Neutroni (PUNITA)
[4665] I/main: -----------------------------------------------
msh />[4865] D/usb_drv: reset port

[5028] D/usbhost.core: attach: start enumeration
[5037] D/usb_drv: error

get device descriptor head failed
[5681] I/main: sd card detected : mounted to '/'

msh />

USING POSIX

msh />list fd
fd type ref magic path
-- ------ --- ----- ------
0 device 1 fdfd /uart6
1 device 1 fdfd /uart6
2 device 1 fdfd /uart6
3 device 1 fdfd /uart6

More

Follower
0
Views
104
0 Answer
There is no answer, come and add the answer

Write Your Answer

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

Create
Post

Share