您尚未登录。

楼主 # 2023-05-16 18:14:31

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 52
积分: 36
个人网站

Bare metal USB-host example (F1C100S)

This is a simple USB Host implementation in bare metal with supporting Mass Storage Device. In this example, the program reads a file from the drive and copies its contents to another file: GitHub

离线

#1 2023-05-16 21:41:53

lanlanzhilian
会员
注册时间: 2021-12-21
已发帖子: 130
积分: 60

Re: Bare metal USB-host example (F1C100S)

Very tasty

离线

#2 2023-05-31 20:20:26

Neil
会员
注册时间: 2021-04-04
已发帖子: 2
积分: 1.5

Re: Bare metal USB-host example (F1C100S)

This is a very nice topic.

离线

楼主 #3 2023-06-05 18:23:59

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 52
积分: 36
个人网站

Re: Bare metal USB-host example (F1C100S)

Example of using USB-Ethernet adapter and lwIP-library.
Adapters based on the RTL8152B chip are supported. The driver from u-boot was taken as the base. This program runs on bare metal and depends on the lwIP TCP/IP stack. In this example, the available services are ping, iperf, and http server. At the same time, iperf demonstrated the use of a bandwidth of more than 90Mbits/sec.
Link: GitHub
lwip1.jpg
lwip2.jpg

离线

#6 2024-07-20 10:26:04

三哥
会员
注册时间: 2018-08-03
已发帖子: 72
积分: 44.5

Re: Bare metal USB-host example (F1C100S)

楼主,我用了你的代码,读U盘时卡在这里,能帮忙看一下是什么问题不?谢谢
bulk_in()函数里面,执行wait_csr()时一直不能返回

FluxBB bbcode 测试

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn