I am trying to upload my code to pro mini by ftdi. But it gives this error.I have installed the drivers for ftdi from here http://www.ftdichip.com/Drivers/VCP.htm and also tried changing the COM port but it gives the same error with an COM port.Please Help!
Which version of the Arduino IDE are you using?
I think you may be encountering a known issue with Arduino IDE 1.6.8, Windows and FTDI: Arduino IDE 1.6.8 - Can't open device error while uploading (No issue in 1.6.7) · Issue #4700 · arduino/Arduino · GitHub which has already been fixed. You can avoid it by using any IDE version previous to 1.6.8 or if you’re feeling adventurous try the hourly build: http://www.arduino.cc/en/Main/Software#hourly