I tried to make my own arduino for one of my project. I used the Duemilanove PCB and I removed what I didn't need. Attach, you can find my schematic.
The ATMEGA328 that i'm using come from an arduino card so there is the bootloader inside.
When I connect my card, the computer detects the FT232 but when I try to program the ATMEGA328, the upload starts but at the end the software ARDUINO says to me this error: avrdude: stk500_getsync(): not in sync: resp=0x00.
As boards I select : arduino duemilanove
In programmer: AVRISP mkll
I also chose the right serial port.
I found some solutions from other forums but nothing worked.
Did I forget something in my schematic?
Do you have any solutions for my problem?
Just to remind you once again I'm not using the real arduino dueminalove board, I'm using an electronic card that i built by myself.
I understand that. You said so above. But there are different bootloaders, and if you select the wrong one in the IDE, it won't work. For example, I personally have the Uno bootloader programmed into a Duemilanove board. So I have to select Uno in the IDE and not Duemilanove, or it won't work.
You need a second Uno (or Duemilanove or similar). You put the sketch on the second board, connect as shown in the thread I linked, and it attempts to put the target board (your own board in your case) into programming mode and interrogate it.
This would demonstrate various things, like whether the crystal is working, what the fuses are, what bootloader is installed, etc. That would be my first move. Depending on what that shows, we could move on.
I bought a dueminalove board, I put the microcontroller on this board, when I program it there is no problem and it works fine.
On my board when i use the same microcontroller I am still not able to program it so I think the problem comes from the schematic.
I also noticed that in the Duemilanove boeard schematic there are LEDs connected to the GPIO0 and GPIO1 pins of the FT232. I didn't connect anything to these pins on my own board, i doubt that could be the cause of the problem but could you confirm this??
I doubt the absence of LEDs will do much. Do you have a spare processor chip? Then you could put it into the Duemilanove and run the sketch I mentioned to test your stand-alone board.
I just found a link where a guy has the same problem as mine. He's trying to program an ATMEGA328 on a breadboard and he gets the exact same error message in the IDE.
He actually found a solution and as i dont have a spare processor chip at the moment to try your solution, I'm going to try his and I let you know as soon as possible how it worked out. https://forum.sparkfun.com/viewtopic.php?f=32&t=30068