2016-04-27 01:10 AM
I would like to begin the application example CDC Standalone, edit it for my purpose.
Manage a data stream from the PC to the micro, to be saved in the internal memory. The response stream and control to the Pc by the micro.What function should I keep in mind? What do you recommend?Thanks so much2016-04-27 02:37 AM
Hi bruno.vincenzo,
To get a response for all your questions and built you own project , I do recommend the following references: - Application notehttp://www.st.com/st-web-ui/static/active/jp/resource/technical/document/user_manual/DM00108129.pdf
''USB device library'' (6.5 Communication device class)
-
USB on-the-go Host and device library that you can download at this
http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/PF257882#
with it user Manual-
http://www.st.com/web/en/catalog/tools/PF259242
tool that help you to generate your necessary initialization code for your project.-Hannibal-
I would like to begin the application example CDC Standalone, edit it for my purpose.
Manage a data stream from the PC to the micro, to be saved in the internal memory. The response stream and control to the Pc by the micro. What function should I keep in mind? What do you recommend? Thanks so much2016-04-27 03:03 AM
Hi bruno.vincenzo,
Check this [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/USB%20CDC%2BMSC%20Composite%20Device%20VIDPID&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21¤tviews=1695]discussion, I think it would be helpful for you. -Hannibal-2016-04-27 04:33 AM
Thanks Hannibal, now I see the docs
These docs are right for STM32F103ZE? I'm use this.However, I thought to swap bytes through hyperterminal and send and receive files through xmodem protocol or ymodem or zmodem.2016-04-27 07:43 AM
Hi bruno.vincenzo,
Yes the documents are generic and comptatible with STM32F1. I see more clear your need and I recommend you to check and run both ''Virtual comport demos'' in the ''USB Full Speed device library'' that you can download from thishttp://www.st.com/web/en/catalog/tools/PF258157
. The demos are described in thehttp://www.st.com/st-web-ui/static/active/cn/resource/technical/document/user_manual/CD00158241.pdf
-Hannibal-2017-01-30 12:46 PM
hi bruno.vincenzo
Have you got it up and running? I am using the L4 and having trouble. It says the COM port cannot start.
2017-01-30 02:07 PM
Hi Jennifer D,
Increase the heap and stack sizes defined in startup file.
Hope this helps you.
Regards
Imen