7

全志F1C200S嵌入式驱动开发(u盘写读)

 1 year ago
source link: https://feixiaoxing.blog.csdn.net/article/details/131799988
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

全志F1C200S嵌入式驱动开发(u盘写读)

original.png
嵌入式-老费 newUpTime2.png 已于 2023-07-19 22:09:38 修改 articleReadEyes2.png 178

【 声明:版权所有,欢迎转载,请勿用于商业用途。 联系信箱:feixiaoxing @163.com】

        f1c200s本身也支持usb接口。并且它的接口和v3s一样,有两个用途。第一个用途是在f1c200s进入fel状态之后,可以用sunxi-fel等工具完成norflash、nandflash的烧写;第二个用途,就是在linux启动之后,把f1c200s当成host设备,实现对u盘、usb camera等外设的读写。当然,usb也可以是device设备,这取决于自己怎么安排了。

1、usb电路

3c7297dc61bd48b29ecdeeef86d1be4f.png

         目前f1c200s上面只有一个usb接口,因此默认也只能插入一个usb设备,形式为type c。所以,如果希望开发板上能有多个usb设备的同学,可能需要自己在设计电路的时候,加上FE8.1这样的hub控制器,这才能多出来一些usb接口。测试的话,就比较简单了,选择一个u盘就好了。

6e99660049ae448fb984359acf54678e.png

2、修改设备树

        设备树的部分主要有两个地方需


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK