cancel
Showing results for 
Search instead for 
Did you mean: 

ST-Link V2 usb drive error

keatonr
Associate

I am currently trying to test my PCB that I made using the STM32F407VGT6 microcontroller. I have my code to toggle a led using a gpio output pin on the controller connected to the led on a breadboard. Under the system core on STM32IDE I have the SYS configuration set to serial wire for the debug mode and the timebase source to SysTick. When I go to run my code which is just the simple code to toggle the led on and off, I get this message: "unexpected flash size for ST-Link micro. Don't know how to upgrade."

 

I'm not sure how to go about debugging the problem as I have done some digging to try and find out what the solution to this could be.

1 REPLY 1
Imen.D
ST Employee

Hello @keatonr,

Are you using STLinkUpgrade version 3.14.5?

I think you have the same issue reported in this post. This is an issue with STLinkUpgrade.jar v3.14.5 and this will be fixed in the coming release of STLinkUpgrade.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen