Hi,
what do you think about support dual CDC in maple ?
SerialUSB1 and SerialUSB2 ?
i test this mode as standalone project and works fine.
libmaple dual CDC support (SerialUSB)
(6 posts) (3 voices)-
Posted 2 years ago #
-
x89300 - That sounds very interesting.
Would you confirm, are you using a single STM32F103 USB peripheral to support both USB CDC devices simultaneously?
Have you published any more details? Is this on Linux only, or have you been able to get it working on Windows and Mac OS X too?
If you've got it working on all three platforms, then that would appear to offer an excellent path to a "better booloader" too.
Posted 2 years ago # -
I use Maple RET6 for test but under Keil and Windows.
Device works as composite with 2 CDC.
In test i connect one CDC to USART1 and other to USART2. USART1 connect to USART2 with wires. I think no problem with Linux/Mac because standard device (composite or IAD).http://akb77.com/g/stm32/stm32f103-cdc/
https://github.com/x893/STM32F103-DualCDCPosted 2 years ago # -
Could you also post the initial code using just one USB VCP device, so gets easy to see what you have changed ?
Posted 2 years ago # -
See ST Virtual CDC example.
Posted 2 years ago # -
Which of the many virtual CDC examples ? Your code differs a lot from the virtual CDC examples I used to add USB support to my F4 libmaple port, which I took from the F2 examples, as no F4 examples were available.
Posted 2 years ago #
Reply
You must log in to post.