Programing mega via arduino pro using isp

Hello.
I have an arduino mega 2560 that is not detected by my computer when plugged via USB.
So, I'm trying to upload my code to it using an arduino pro as ISP.
I run the "ArduinoSPI" sketch in the Pro, while connecting it to my PC using a FTDI usb-to-serial.
Then, I connect both arduino's SPI pins as follows:

Pro Mega
MISO MISO
MOSI MOSI
5 V 5 V
GND GND
Pin 10 Reset
SCK SCK

And a 10uF capacitor between the Pro reset pin (at the Power JP) and the GND pin.

Then, connect it to the PC, change the "board" to "Mega" and the programmer to "Arduino as SPI".

When I try to upload the code, it gives the "timeout" error.

What I'm doing wrong?

from another thread

this may be an option

Thank you.
Gonna try.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.