cancel
Showing results for 
Search instead for 
Did you mean: 

USB CDC Example for DISCO429 Board

yevgen
Associate II
Posted on September 11, 2014 at 13:01

Hi !

I have taken latest Cube4.3.1 and FW package 1.3.0.

I have created USB Device VCP example for DISCO429 board and it dosn't work.

I can see serial port is appears with yellow triangle in DeviceManager.

In forum I can see few old discussion about it.

But what is situation with latest tools ?

I need this example . Can be be created without any modification ?

Or please suggest what kind of final tuning should be done.

Eugene

#discovery #stm32 #stm32f4 #usb
3 REPLIES 3
Posted on September 11, 2014 at 15:53

[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/STM32F429i-DISCO%20%20Use%20USB%20as%20device%20CDC%20class%20%28VCP%29&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&currentviews=839]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM32Discovery%2FSTM32F429i-DISCO%20%20Use%20USB%20as%20device%20CDC%20class%20%28VCP%29&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F¤tviews=839

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
yevgen
Associate II
Posted on September 12, 2014 at 14:51

Hi !

Looks like example based on old code.

With new CubeMX and SDK , USB API is different. I have created minimal DISCO429

mx/keil project for investigation of the problem. ( test_vcp.zip In attachment )

Is any known reason exist why new export from Cube not work out of box ?

Best regards !

Eugene

________________

Attachments :

test_vcp.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hzr4&d=%2Fa%2F0X0000000bb1%2FubOcoDmsbQZMbvNAd3am4pobZxHs.qRpvV9hQ6ip.KY&asPdf=false
Posted on September 12, 2014 at 18:43

Looks like example based on old code.

 

Old and Working, keep that in mind as you labour forward.

With new CubeMX and SDK , USB API is different. I have created minimal DISCO429 mx/keil project for investigation of the problem. ( test_vcp.zip In attachment ) Is any known reason exist why new export from Cube not work out of box ?

 

Don't know, It's new and poorly validated? I've got no plans to use Cube right now, the people I work with prioritize ''working'' over ''new and shiny''.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..