2014-01-30 06:20 AM
Hello everybody!
I've a working vcp driver for stm32f4discovery board(stm32f407vg). Use the standard st usb library. This is working well. If I change the device with an stm32f415 mikrocontroller, the code is running, but at the device manager I don't see the com port. Is anybody have an idea what is the problem? The usb pins are the same. Thanks #usb-vcp-stm322014-01-30 06:55 AM
Hi
'' If I change the device with an stm32f415 mikrocontroller, the code is running, but at the device manager I don't see the com port. Is anybody have an idea what is the problem? The usb pins are the same.'' The VCP driver is the PC driver for USB CDC device. It should be the same no matter which STM32 is implementing the USC CDC device. The problem is the stm32f415 microcontroller and the code implemening the USB CDC. You will have to give more details to get more help.2014-01-30 07:02 AM
So I have a stm32f4discovery board, and coide project for vcp communication. It is working well.
I have a mikroe Mini-M4 with stm32f415rg controller. I change the project settings(clock config etc) for this board, compile, download. The code is running, but in the device manager there is no com port. I have no idea what is the problem.2014-01-30 07:09 AM
I'm not clear what you're doing here. You're changing the chip on the discovery board, or you've got some other unspecified board with a 415 on it? I've got schematics for the DISCO, you'll need to cite some for any other board.
If you're convinced it's not the pins, make sure the clocks (HSE, PLL, PLLQ) are in fact the same and correct.2014-01-30 07:11 AM
Hi
''I have a mikroe Mini-M4 with stm32f415rg controller'' Start by checking which pins the USB port/connector this board uses. Download the reference manual for this processor and check the right port bits are used for the USB peripheral.2014-01-30 07:14 AM
Crossed on the wire there...
Ok so it's got a 16 MHz HSE, not 8 MHzAre you replacing the boot loader, and everything else with your VCP code?The VCP configuration is using the right USART and pins?2014-01-30 07:23 AM
Yes I change the clock setups for 16MHz. The driver not use UART pins, I use vcp for communicate with pc and the board.
So I change the system_stm32f4xx.c and at the stm32f4xx.h change the hse value. Next I change the project config for chip stm32f415. Compile the project and download it. But not working.2014-01-30 07:31 AM
Hi
You are now using a different board. You have assumed that the USB peripheral on the STM32F415 will use the same port pins. Check which port pins are used on the new board. Change the firmware if the port pins are different.2014-01-30 07:37 AM
USB pins are the same I check this.
2014-01-30 07:46 AM
Hi
Does the PC see anything when you plug new board in? Does the PC show USB device - unknown or bad device?