cancel
Showing results for 
Search instead for 
Did you mean: 

Switched my STM32F4 discovery and now Virtual Com port is not working

Patrick Morwald
Associate II
Posted on February 05, 2018 at 17:00

Hi,

i swapped my first STM32F407G-DISC1 discovery board for a new one and now the ST-Link onboard doesnt show up as a virtual com port in Windows 10 anymore. 

I flashed the St-Link with the new firmware, it runs V2.J30.S0 STM32 Debugger now.

I also installed the current Windows driver from 

http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-utilities/stsw-link009.html

.

Now i read the DISCOVERY boards dont all have the virtual com, but in

http://www.st.com/en/evaluation-tools/stm32f4discovery.html

it says that my order code should have it (on my PCB is a silk print next to the USB connector that says 'STM32F407G-DISC1).

Can it be that the silkscreen board code doesnt correspond to the 'order code' which is mentioned on the above website?

Please help since i really need the virtual COM port.

Patrick

#st-link-v2-1 #stm32f746-discovery #stm32f4
13 REPLIES 13
Posted on February 05, 2018 at 17:06

Run St-link utility to see firmware version. v2-1 is required (in this case v2-B

Posted on February 05, 2018 at 17:13

The latest (DISC1) version shall have the st-link based on STM32F103CBT6 - the old  - STM32F103C8T6. Flash size matters  - bigger flash is needed for the ST-link/v2-B where the VCOM is implemented

Posted on February 05, 2018 at 17:26

Are they different board revisions?

Pretty sure the MB997D instantiates the VCP, but it's not physically wired up to anything.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on February 05, 2018 at 17:37

Are you sure that MB997D applies to STMF429-DISC1?

Isn't it STM32F407G-DISC1 which has the MB997D?

Posted on February 05, 2018 at 17:40

Sorry  - I have noticed that the boards is really F407

Posted on February 12, 2018 at 10:19

Hi,

i have two boards, one of them doesnt instantiate the VCOM port, it has:

10:14:12 : ST-LINK SN : 066FFF535748775187133407

10:14:12 : ST-LINK Firmware version : V2J30S0

and the other board does instantiate it and has:

10:17:19 : ST-LINK SN : 066BFF3731324B4D43205239

10:17:19 : ST-LINK Firmware version : V2J25M14

Both boards are labeled MB997D / STM32F407G-DISC1 on the silkscreen and St-Link shows RevisionID: Rev 2.0 for both of them.

Can i upgrade the firmware of the non-working one to the firmware 

V2J25M14 or does it not fit the flash size?

Posted on February 12, 2018 at 10:28

The standard way is to run  ST-LINK Utility and see after connecting to the target if the red message appears in the log - it will be stated if the upgrade is possible.

Just run the utility to see the checking results. Then you can upgrade the firmware from the same utility  - 'ST-LINK->Firmware Update' (sometimes you need to re-plug the USB cable when the tools complains about the connectivity).

If this does not help (I mean the ST-LINK Utility) more investigation will be required.

Posted on February 12, 2018 at 10:35

When i connect the board, ST-Link gives me this output:

10:32:58 : ST-LINK SN : 066FFF535748775187133407

10:32:58 : ST-LINK Firmware version : V2J30S0

10:32:58 : Connected via SWD.

10:32:58 : SWD Frequency = 4,0 MHz.

10:32:58 : Connection mode : HotPlug.

10:32:58 : Debug in Low Power mode enabled.

10:32:58 : Device ID:0x413

10:32:58 : Device flash Size : 1MBytes

10:32:58 : Device family :STM32F405xx/F407xx/F415xx/F417xx

When i try to update the firmware, it says it can upgrade from 'V2.J30.S0 STM32 Debugger' to 'V2.J27.S0'

Posted on February 12, 2018 at 10:36

It's somewhat weird  - these firmwares come from two different lines.

Please check what the MCU is soldered for the ST-LINK:  STM32F103C8T6 OR STM32F103CBT6?