Hi Everyone,
I designed a new board following same schematic of mega 2560 on the web. My USB can be detected by Arduino IDE. However, when i tried upload sketch I get this error.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer"
I tried have uploaded mega2560 bootloader using this two method below. And the IDE shows bootloader uploaded, but when I tried upload sketch, it shows error prompt. I notice that when i press reset button on my board, L led starts blinking. In arudino website it states that if L led blinks upon reset, it means bootloader not upload. I'm not sure how to solve this problem.
Any expert help me please!
AVR Dragon
Arduino UNO