Programing The Arduino

4,437 views
Skip to first unread message

Byh2o

unread,
Mar 11, 2009, 1:03:25 AM3/11/09
to Tagtool
Hey everyone,

ive finised the fabrication process of my tagtool and in the first leg
of this im having troubles already....

i have a arduino duemilanove and when im putting the tagtool1.pde
instructions onto the board it give me this message:

Binary sketch size: 3260 bytes (of a 14336 byte maximum)


avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

what is my trouble? WHen resetting the board do you have to hold the
button down or just press it??

please help, i want to see my hard work working.

maki

unread,
Mar 11, 2009, 3:49:35 PM3/11/09
to Tagtool
hey,

did you set the right COM port and choose the right arduino model in
the arduino environment?
(tools->board, and tools->serial port)

did you install the virtual com port correctly?

maybe you can find more information in the forums on arduino.cc ....

good luck,
maki

samth

unread,
Mar 11, 2009, 4:20:00 PM3/11/09
to Tagtool
Hi Byh2o,
I wonder if you have ATMega328 Chip on your Duemilanove?
If so, all you need to do is to set the proper baudrate in the file
called boards.txt in Arduino program directory
The boards.txt is located in Arduino-00xx/hardware/ (where xx is the
version of the Arduino program, i.e. I'm using Arduino-0013 etc.)

Then, find this line
atmega328.upload.speed = ...

And set the speed to 57600, so the line should look like this
atmega328.upload.speed = 57600

Then you should be good to go.
There is one more thing though!
If you bought your Duemilanove that have ATMega328 before Febuary 5,
2009.
The ATMega328 Chip still have 19200 baudrate. In this case, you need
to set the speed to 19200, like this
atmega328.upload.speed = 19200

Hope this help.
Sam

Byh2o

unread,
Mar 11, 2009, 4:22:14 PM3/11/09
to Tagtool
hi maki,

ive tried all COM ports on this current computer. COM1 & COM3
aswell as selecting my arduino model

still the same error

Binary sketch size: 3260 bytes (of a 14336 byte maximum)

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

i have traveled over to the a ARDUINO forums and TROUBLESHOOTER and
did what they suggested to no avail.
--keep it off a conductive surface
--reset the board ( i just press the button)
--it says to upload the software before doing any soldering and stuff,
but ive contacted other tagtoolers and they have told me they
installed AFTER fabrication

please anyone! i cant be the FIRST one with this problem......this
isnt as easy as its made out to be.

HELP HELP HELP... should i unsolder everything and then upload????

Byh2o

unread,
Mar 11, 2009, 7:02:42 PM3/11/09
to Tagtool
Siiigggh.

guys i dont know what the deal here!

Sam,
that sounds like it would work but in my file (atmega328.upload.speed
= XXXXXX) Is ALREADY at 19200.

so i changed it to 57600 with no luck, then back to 19200 with no luck
still.

any other things i can tweak possibly?

am i clicking the right button in the arduino program.....Upload
tagtool1.pde then hit "UPLOAD TO I/O BOARD"???

thanks guys,
Distraught David

samth

unread,
Mar 11, 2009, 7:55:38 PM3/11/09
to Tagtool
David,


Have you already download and install FTDI driver yet?
to set the virtual com port.

Have you select the board in Arduino IDE to use Arduino with 328 Chip?
Menu Bar -> Tool -> Dicimila/Duemilanove w/328

Have you have Set RTS on Close checkbox check?
Set RTS on Close checkbok locates in Advance Settings for COM port in
the Control Panel -> Device Manager -> Ports (COM & LPT) -> USB Serial
Port (COMx)
If this is confusing you, just go to this page (http://www.ladyada.net/
make/boarduino/use.html) and follow the instruction from the Heading
title 'Arduino-compatibility' on to set the USB port properties.

This are what I can think of to solve your problem!

Sam

Byh2o

unread,
Mar 16, 2009, 3:56:40 PM3/16/09
to Tagtool
WOW!!!! this is so hard! WHY WHY WHY!!!!

Sam > i was praying for a miricle but the computer gods are against
me.
i HAVE installed the drivers (no conformation screen so i just
restarted)

In the Arduino Program the IS NO OPTION for a Dicimila/Duemilanove w/
328....?

As for the RTS check box, i have never made it to that screen, my PC
DOES NOT give me the option for a USB serial port (comX).....only COM1
and COM3


Can anyone tell me what is going on!? im still getting the samme error
message when uploading to the I/O board, and this is getting
rediciliously frustrating.HELP HELP HELP all i want to do is DRAW!!

-david

samth

unread,
Mar 16, 2009, 8:09:11 PM3/16/09
to Tagtool
Hi David,
I'm so sorry to hear that your problem still not be solved :(
Sometime the excitement cause us to miss some step!

Last time when I told you to set the Board in the Arduino
like this
Dicimila/Duemilanove w/328
I should have told you to select
Arduino w/ATMega328
sorry about that!!

Now, as I read your last e-mail, I think I know wher the problem is!
And I think your problem will get resolve this time.

> As for the RTS check box, i have never made it to that screen, my PC
> DOES NOT give me the option for a USB serial port (comX).....only COM1
> and COM3

The problem that you have is that you haven't install the FTDI driver.
This driver allows the Arduino (program) to communicate with the the
Duemilanove.
So that you can download the 'sketch' i.e Tagtool.pde to the chip.

Now, I want you to do this to check whether you have the FTDI dirver
installed.
First, unplug the USB cable that connects Duemilanove with the
commputer.
Then, goto the Control Panel->System
select Hardware tab,
Click at Device Manager,
Click at the + box infront of Ports(COM & LPT)
you probably see the 'Communications Port(Com1)' and 'Printer Ports
(LPT1)' listed.

Then, plug in the USB cable to connect the Duemilanove to the PC.
Wait a second, if there is a change in the list, or there is this line
'USB Serial Port (COMx)' shows up.
You are in the business! I mean that you have already installed FDTI
driver.

But if you do not see any change at all.
It means that you do not have the FTDI driver installed.

The other way to see that if you have FTDI installed is
- Disconnect the Duemilanove from your PC
- Open Arduino application
- Select Tools->Serial
You will see the available COMx port that ready for use from Arduino
application, i.e. COM1, COM3
Close the Tools tab.
- Connects the Duemilanove to the PC
- Go back to Tools->Serial,
If there is NO change on the list of the available COM ports, you do
not have FTDI driver installed.

Where can we find this FTDI driver??
- Two places,
There is the driver came with the Arduino Application that is located
in
Arduino-001x/drivers/FTDI USB Drivers/
I have never installed the driver from this directory.

The other one is on FTDI drivers installed/download page
http://www.ftdichip.com/Drivers/VCP.htm

In this page look for the right Operating System i.e Window XP etc.
And go under the column 'Comments' look for the words "setup
executable" with underline (link).
Then click at it. The driver will be installed for you. Just follows
the instruction dialogue.

After you install FTDI driver.
Connect the Duemilanove and checks by use the same methods mention
above to see if your PC can see your Duemilanove.

At this point you are ready to upload Tagtool sketch onto you
Duemilanove. And the start to DRAW, DRAW, DRAWWWWWWW.

Good luck and looking forward to hearing the good news.

Sam

Byh2o

unread,
Mar 24, 2009, 12:42:23 AM3/24/09
to Tagtool
!!!!!SUCCESS!!!!!

The "arduino0013" folder hosted on tagtool.org has an older FTDI
driver file i think....i just downloaded the newer one from your link
and im in the $$$.

thank you so much Sam and i hope this might help someone in the
future.

Reply all
Reply to author
Forward
0 new messages