Getting error while using stm32 with arduino ide

hI,
I AM FACING AAN ISSUE whenever I try to upload my code I get the following error:

Error probing interface "serial_w32"
stm32flash 0.4
Cannot handle device "COM5"

Failed to open port: COM5
http://stm32flash.googlecode.com/

Using Parser : Raw BINARY

I am using an STM 32 and I HAVE BOUGHT A NEW ONE TO check if the older one was a fake but it seems that I am getting the error no matter what I have also download the Arduino ide several ties!!
please help me