Pages: [1]   Go Down
Author Topic: Can't upload sketches to my homemade arduino  (Read 1050 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,


I made this arduino for a school project but I can't get it to work. In fact I can't upload sketches into.
That's what I have:
- Arduino serial2USB light adapter ( http://arduino.cc/en/Main/USBSerial)
- My custom arduino PCB
- Arduino 1.0.5

What I'm trying to do:
I'm trying to upload a sketch on it using Arduino IDE and Arduino's Serial2USB Light Adapter.

Error I get on Arduino IDE
avrdude: stk500_getsync(): not in sync: resp=0x00

Notes
- Drivers are installed correctly and COM is successfully set.
- ATMEGA 328P-PN is already programmed with Optiboot
- When I press Reset button nothing happens.

SERIAL- PCB CONNECTIONS
5V- 5V
GND-GND
TX-RX
RX-TX
RESET/EXT-  DTR



PCB SCHEMATICS


If you need further informations please ask smiley
Thank you for your help
« Last Edit: June 01, 2014, 05:20:33 am by simonepsp » Logged

Scotland
Offline Offline
Edison Member
*
Karma: 26
Posts: 1338
Have you had your Arduino fix today?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You don't have your reset pin connected to anything that will reset the chip!
Logged

Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks. What should I do to fix this error?
Logged

Scotland
Offline Offline
Edison Member
*
Karma: 26
Posts: 1338
Have you had your Arduino fix today?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

refer to the reference schematic at http://arduino.cc/en/uploads/Main/Arduino_Uno_Rev3-schematic.pdf
Logged

Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

so there's a problem with reset button? smiley-neutral I don't understand
Logged

Scotland
Offline Offline
Edison Member
*
Karma: 26
Posts: 1338
Have you had your Arduino fix today?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Pin 1 of the 328 does not have any way to pull it LOW for a RESET.
Logged

Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

sorry, I'm not an electronic and I don't understand what should I do smiley

Could you explain me ?
Thank you smiley
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm using a jumper to connect DTR  to RESET pin and ATMEGA 1st PIN (RESET).
I've also used a capacitor and a 10kOhm res.

What is wrong?
(see first image on first post smiley )
« Last Edit: June 01, 2014, 10:58:54 am by simonepsp » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Found a fix! There was a connection problem with OSC.
Here's the solution (many thanks to Christian Aschoff of Fritzing forum):

http://fritzing.org/forum/thread/3394/?page=last
Logged

Pages: [1]   Go Up
Jump to: