6138 views|7 replies

43

Posts

0

Resources
The OP
 

Reasons for failure of running the official routine USBFS-USB_Host-MSC_Host on GD32F105 [Copy link]

邀请:@yang377156216   参与回复

Has anyone tried running this GD example? When I run it, it prompts me to press the user key. After I simulate pressing it, no new information is printed. When debugging, I find that it is always stuck in the USB interrupt and cannot come out. I don’t see any enumeration information, but I can read the information of the USB disk. I can also see the disconnected information after disconnecting the USB disk.

This post is from GD32 MCU

Latest reply

I don't know if this is a common problem or if it's just my board. I hope the GD32 engineers can check it out.   Details Published on 2022-6-10 17:37
 

6841

Posts

11

Resources
2
 
If you can enter the debugging, you can see where it is stuck. In theory, the routine should be verified. Or you can run another routine to rule out hardware problems.
This post is from GD32 MCU

Comments

The problem has been solved. It is a problem of clock priority.  Details Published on 2022-5-6 17:44
 
 
 

43

Posts

0

Resources
3
 
lugl4313820 posted on 2022-4-18 07:47 You can enter the debugger and see where it is stuck. In theory, the routine is verified. Or you can run another routine to rule out hardware problems.

The problem has been solved. It is a problem of clock priority.

This post is from GD32 MCU
 
 
 

4

Posts

0

Resources
4
 

We also found this problem during testing, but not all USB devices will get stuck. Some devices can recognize and read and write normally, but most will get stuck when pressing the button after displaying the information. At this time, there will be a prompt when unplugging the USB drive.

This post is from GD32 MCU
 
 
 

4

Posts

0

Resources
5
 
Posted by Senbenzakura Dabai on 2022-5-6 17:44 The problem has been solved, the problem is the clock priority

Can you explain it in more detail? I have also encountered this problem and have not found out the reason yet.

This post is from GD32 MCU
 
 
 

1

Posts

0

Resources
6
 

I have also encountered the same problem, please advise me

This post is from GD32 MCU
 
 
 

4

Posts

0

Resources
7
 

My problem is solved

I ported the USBHS USB3300 used by the MSC HOST routine of the USB HOST in GD32450I_EVAL_Demo_Suites.

The problem is that some USB flash drives cannot be enumerated (they get stuck and keep sending INQUARY after pressing the button) while some USB flash drives can be recognized normally.

Just comment out part of the usbh_request_submit function in usbh_transc.c. I have pasted the code that needs to be commented out below. I share it for your reference.

// if (1U == udev->host.pipe[pp_num].do_ping) {
// (void)usb_pipe_ping (udev, (uint8_t)pp_num);
// return USB_OK;
// }

This post is from GD32 MCU

Comments

I don't know if this is a common problem or if it's just my board. I hope the GD32 engineers can check it out.  Details Published on 2022-6-10 17:37
 
 
 

4

Posts

0

Resources
8
 
ccbb294 posted on 2022-6-10 17:34 My problem was solved. I transplanted the USBHS used by the MSC HOST routine of the USB HOST in GD32450I_EVAL_Demo_Suites ...

I don't know if this is a common problem or if it's just my board. I hope the GD32 engineers can check it out.

This post is from GD32 MCU
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Featured Posts
A DIY DC to DC negative pressure module

This module is made of integrated block LTC3863. The specifications and size are very small, only the size of one RMB yu ...

[Flower carving hands-on] Interesting and fun music visualization series of small projects (03) --- RGB rhythmic lights

This post was last edited by eagler8 on 2021-10-7 21:28 I suddenly had the urge to do a series of topics on sound visua ...

[Flower carving DIY] Interesting and fun music visualization series of small projects (05) --- WS2812 column jump light

I suddenly had the urge to do a series of topics on sound visualization. This topic is a bit difficult and covers a wide ...

[HPM-DIY] HPM6750 USB open source protocol stack performance comparison - cherryusb or tinyusb?

Since the current hpm SDK uses tinyusb, the performance speed is still extremely unmatched with the high-speed USB of t ...

[HPM-DIY] has launched a visual configuration code generation tool.

The progress of Xianji Ecosystem is really fast. Their products have many pins, and there are no relevant visual config ...

[Sensor collection, environmental data collection terminal] Debugging process UI design, software design

628248 The UI design has been drafted and implemented on TouchGFX. The hardware design was done in advance and only the ...

Time and frequency domain FET analysis

Time domain and frequency domain FET analysis 1. Can the near-field probe accurately locate the point where the EMC ex ...

My boss seems to be a bit BT

I have always thought that my boss is pretty good. He doesn't curse or do PUA or anything like that. But now, the more I ...

[Mil-Reesas RZ/G2UL Development Board - Trial Review] - Unboxing

This post was last edited by beyond_笑谈 on 2024-2-29 10:01 After receiving the Mil-Reesas RZ/G2UL development board, ...

Review summary: Miele based on Renesas RZ/G2UL development board

Activity details: Updated to 2024-04-13Evaluation report summary:@Bruceou Smart Home System Based on MYD-YG2UL (Part 2) ...

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list