I am trying to upload a basic Blink code from my computer to Arduino Lilypad contains Atmega 328. While my Blink codes are uploading, FTDI 1402-C CN480661 FT232RL module is not responding to the Arduino IDE at the end of the process. So I couldn't upload any codes with this uploading method, I mean using FTDI modules directly.
This is how I do the connections:
This is my Blink code:
void setup() { pinMode(13, OUTPUT);}
void loop() {
digitalWrite(13, HIGH); delay(1000);
digitalWrite(13, LOW); delay(1000);
}
I chose AVRISP mkII as a programmer. ATmega328 as a processor. Arduino Lilypad as a board on Arduino IDE v1.6.6
At this point, I got this error:
avrdude: ser_open(): can't open device "\.\COM4": Access is denied
Windows's device manager says: USB Serial Port is attached to COM4, also Arduino IDE saw that.
I downloaded FTDI driver for Windows, but still, I can't upload any code into my Lilypad Arduino.
How can I use FTDI to program my Lilypad Arduino?