完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
是否有任何软件库允许使用STM8微控制器构建USB硬件而无需任何额外芯片? 我正在寻找它,但到目前为止我还没有找到任何东西。这样的库将大大提高STM8微控制器(和销售量)的价值,因为它可以构建广泛的应用程序。 对于Atmel AVR 8bit,至少有两个不错的解决方案可以在任何具有至少2kB闪存的AVR微控制器上运行,128字节 - 例如ATtiny2313的。 1 - V-USB是Atmel®AVR微控制器的低速USB设备的纯软件实现 2 - LUFA(用于AVR的轻量级USB框架,以前称为MyUSB) 如果您有这样的库,您可以构建许多有用的应用程序,例如 Android配件主机 音频输入设备 主机音频 音频输出设备 音频输出主机 双虚拟串行设备 通用HID设备 通用HID主机 操纵杆装置 操纵杆主机 键盘设备 键盘/鼠标设备 键盘主机 键盘主机/设备双模式 大容量存储器 大容量存储/键盘设备 海量存储主机 MIDI设备 MIDI主机 鼠标设备 鼠标主机 打印机主机 RNDIS(CDC)以太网设备 RNDIS(CDC)以太网主机 静止图像主机 虚拟串行设备 虚拟串行主机 虚拟串行/大容量存储设备 虚拟串行/鼠标设备 为什么STM8没有类似的解决方案? STM8系列微控制器是否比AVR系列差? 问候和感谢, 简 #stm8-u***#stm8 #u*** #library 以上来自于谷歌翻译 以下为原文 Hello, Is there any software library that allows to build USB hardware with STM8 microcontroller without any additional chip? I am looking it but I have not found anything so far. Such library would greatly improve value of STM8 microcontrollers (and volume of sale) as it would open possibility to construct the broad set of applications. For Atmel AVR 8bit there are at least two nice solutions that runs on any AVR microcontroller with at least 2 kB of Flash memory, 128 bytes - e.g. ATTiny2313. 1 - V-USB is a software-only implementation of a low-speed USB device for Atmel�s AVR microcontrollers 2 - LUFA (Lightweight USB Framework for AVRs, formerly known as MyUSB) If you have such library you can build a lot of useful applications e.g. Android Accessory Host Audio In Device Audio In Host Audio Out Device Audio Out Host Dual Virtual Serial Device Generic HID Device Generic HID Host Joystick Device Joystick Host Keyboard Device Keyboard/Mouse Device Keyboard Host Keyboard Host/Device Dual Mode Mass Storage Device Mass Storage/Keyboard Device Mass Storage Host MIDI Device MIDI Host Mouse Device Mouse Host Printer Host RNDIS (CDC) Ethernet Device RNDIS (CDC) Ethernet Host Still Image Host Virtual Serial Device Virtual Serial Host Virtual Serial/Mass Storage Device Virtual Serial/Mouse Device Why is no similar solution for STM8? Is STM8 family of microcontrollers somewhat worse than AVR family? Regards and thanks, Jane #stm8-u*** #stm8 #u*** #library |
|
相关推荐
4个回答
|
|
你好,我们又见面了,
我正在考虑为STM8实现USB设备固件。 您是否看到STM8系列中缺少任何不允许为STM8创建USB设备固件的功能? 如果AVR可以有USB固件,为什么STM8不能拥有? 问候, 简 以上来自于谷歌翻译 以下为原文 Hi again, I am thinking over implementing USB device firmware for STM8. Do you see any missing functionality in STM8 family that does not allow to create USB device firmware for STM8? If AVR can have USB firmware, why STM8s cannot have? Regards, Jane |
|
|
|
你好简。
我认为STM8硬件和AVR硬件一样好。 因此,STM8的USB库是可行的,但如果您不熟悉STM8汇编程序,可能需要很长时间才能开发和测试。 如果您需要有关STM8汇编程序的帮助,如果开发没有时间限制,我会帮助您。 EtaPhi 以上来自于谷歌翻译 以下为原文 Hello Jane. I think that STM8 hardware is as good as AVR one. Therefore, a USB library for STM8 is feasible, but it may take a long time to develop and test if you are not well acquainted with STM8 assembler. If you need assistance on STM8 assembler and if there are no time limits on development, I'll help you. EtaPhi |
|
|
|
|
|
|
|
嗨,
做得好!谢谢。代码看起来不错。 我建议你在一个最流行的代码库https://github.com/或http://sourceforge.net/上发布代码 如果您用英语很好地记录代码并在存储库上发布代码,它将允许您构建志愿者社区,以帮助您改进项目。在这种情况下,没有人会忘记你在STM8微控制器上创建了第一个USB协议实现。也许你将能够从ST公司那里获得一些支持。谁知道? AVR V-USB网页上的一些原理图也会对某些人有所帮助。 再次感谢你。保持这项宝贵的工作。 最好的祝福, 简 以上来自于谷歌翻译 以下为原文 Hi, Good job! Thank you. The code looks nice. I advice you to publish the code on one of the most popular code repository https://github.com/ or http://sourceforge.net/ If you document code well in English and publish code on repository it will allow you to build community of volunteers that will help you to improve project. And it such case nobody will ever forget that you created the first implementation of USB protocol on STM8 microcontrollers. Maybe you will be able to gather some support from ST company. Who knows? Some schematics like these on AVR V-USB webpage would be also helpful for some people. Thank you again. Keep up this valuable job. Best regards, Jane |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2725 浏览 1 评论
3237 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1807 浏览 1 评论
3646 浏览 6 评论
6034 浏览 21 评论
1337浏览 4评论
197浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
273浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 17:06 , Processed in 1.145307 second(s), Total 83, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号