cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F1x USB virtual COM-Port CooCox CoIDE Project

bernhard
Associate II
Posted on January 27, 2014 at 14:41

Hey everybody,

I searched the whole myST forum and almost the whole internet. Can anybody provide me with a CooCox CoIDE example project that is working along with the above mentioned MCU? 

In the optimal case it's something which works in both directions.

I'd aprreciate it so much.

Thanks in advance and best regards

#stm32
5 REPLIES 5
Posted on January 27, 2014 at 15:02

If you can't use the tool-chain you've chosen, then pick one that others actually support. They have their own forum, do they not support it there?

Porting ST's examples to GNU/GCC isn't particularly difficult, see the Atollic or RiDE examples.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
bernhard
Associate II
Posted on February 23, 2014 at 14:56

Although it's for the STM32F104 and on german, the projects provided on this

http://mikrocontroller.bplaced.net/wordpress/?page_id=2736

page helped me to finally get it working. 

Also I found this post [DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/STM32F103+USB+VCP+Demo+Code+Problems&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=2484]https://my.st.com/public/STe2ecommunities/mcu/Lists/... very helpful!

bernhard
Associate II
Posted on February 23, 2014 at 14:56

please delete, double post

arro239
Senior
Posted on February 24, 2014 at 03:31

Did you get the virtual serial port functional? Can you please do me a favor and check of you have the same 'reconnecting after reset' issue as I do? More on my issue:

https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fST%20virtual%20com%20port%20issue%20in%20case%20of%20MCU%20reset&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD0650...
Gabriel Germanovix
Associate II
Posted on February 24, 2014 at 04:27

I was also looking for some example of the USB Coocox to stm32f1xx ... 

Got some success by following these steps: 

I downloaded the USB-On-the-go library .... 

http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1743/PF257882 

I opened the project (VCP) in Keil uVision IDE ... 

I created a new project in CooCox and including source files and header files needed .. 

Finally, I removed all of the LCD, it does not interest me. 

Gotta run with it somehow Virtual COM port. 

The main file is the usbd_cdc_vcp.c. 

But not yet learned to work correctly with the functions .. 

Sorry for bad english .. I used the translate ...