I'm in the process of building a USB composite CDC + MSC device on the STM32F4 Discovery board but am having trouble getting windows to recognise it. Using USBlyzer all the descriptor info seems ok but windows will only recognise the CDC (virtual com port). The port gets enumerated and ...
[u] ericherman/stm32f-discovery-example:https://github.com/ericherman/stm32f4-discovery-example使用USB-CDC的例子 [u] serialUSB:https://www.das-labor.org/trac/browser/microcontroller/src-stm32f4xx/serialUSB [u] STM32F4 USB CDC connection:http://www.coocox.org/forum/topic.php?id=1757&pa...
https://github.com/ghosoft/STM32F429I-DISC0_usb_vcp
一旦确认连接了 BleuIO加密狗,就会运行 USBH_CDC_Receive 函数以开始从 USB CDC 接收数据。 USBH_CDC_ReceiveCallback 还需要实现: 在这个例子中,接收到的数据只是回显到 UART。 使用USBH_CDC_Transmit 函数将数据发送到 Dongle。在此示例中,UART 输入用于发送不同的命令。 为此,我们创建了一个可以从 main.c ...
发送接口比较简单,经阅读 ST 对虚拟串口的实现了解到往 USB 发送数据,使用 CDC_Transmit_FS 接口即可,所以实现如下: int vSerialPutString(xComPortHandle xPort, signed char *pMessage, unsigned short len) { xPort = xPort; retry: if(0x00 != CDC_Transmit_FS(pMessage, len)) { osDelay(10); goto...
stm32USBCDC中串口助手无法打开 芯片:STM32F401CB,有64kB ram软件:cubemx生成的IAR工程功能:mcu控制单片机采集i2c传感器数据,通过u***的virtual com port回传到PC(后期会在mcu zrl121234562019-01-21 07:09:46 STM32USB如何配置多个CDC设备 title:STM32USB如何配置多个CDC设备—5个CDC设备,date: 2021/1/18 20...
添加头文件#include "usbd_cdc_if.h"。 在main()的死循环中添加CDC_Transmit_FS()函数。 #include "usbd_cdc_if.h" /** * @brief The application entry point. * @retval int */ int main(void) { /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ ...
STM32 USB_CDC配置前言:配置思路前言:做之前先要有一些准备:1、PC上装好VCP1.31以上的虚拟串口驱动2、准备一块带USB的STM32(是要连接好USB接口的,不是串口的USB)3 lhhgff 2021-08-23 07:24:19 求大佬分享STM32 USB CDC虚拟多串口的测试代码 求大佬分享STM32 USB CDC虚拟多串口的测试代码 uuwyfsdfsf ...
Describe the bug We have a custom STM32H743 board configured for High-Speed USB CDC ACM Uart. The device will enumerate and we can receive data from the devices, but can't send data. We have tried it on a NUCLEO-H743ZI2 (full speed) and ...
在Device里面,有core跟class,class里面有CDC的东西,core是低层代码 另外example里面也有一些东西 ...