1
\$\begingroup\$

This is my first time using FTDI with Arduino.

enter image description here enter image description here

I'm using the SparkFun EL Sequencer which uses and embedded ATMega328p. I hooked it up to my USB port using this FTDI cable. When I try to upload my code: I get the following error:

avrdude: stk500_getsync(): not in sync: resp=0x00

Debug mode:

avrdude: usbdev_open(): did not find any USB device "usb"

I've used my regular USB cable to successfully program my UNO from this machine (Win 7) before. No problem there.

With the sequencer I see the machine detecting a connection on COM 7 when I plug in the new device. I've tried pressing RESET on the Arduino prior to uploading, which I've seen in some other posts.

Am I missing something here? The description of the cable seems to imply that I don't need any other hardware.

\$\endgroup\$
  • \$\begingroup\$ This FTDI cable is a USB to serial port converter. Which means you'd be trying to program your Arduino through its serial port, not USB. Is that what you're trying to do? \$\endgroup\$ – MandoMando Mar 17 '13 at 23:43
  • \$\begingroup\$ avrdude calling a function named usbdev_open() sounds a lot like an incorrect command line. As far as AVRdude is concerned, your device is serial, not USB. \$\endgroup\$ – Chris Stratton Mar 17 '13 at 23:44
  • 1
    \$\begingroup\$ @ChrisStratton btw, multi +1s for the helpful comments and not casting a down-vote. side-bar discussion from here. \$\endgroup\$ – MandoMando Mar 17 '13 at 23:47
  • \$\begingroup\$ Mando: I assumed because the cable had a USB connector on the other end that it would work. I have the FTDI driver installed on my machine for my old UNO, via usb. As to usb/serial - I just press the upload button, not sure. \$\endgroup\$ – Diodeus - James MacFarlane Mar 18 '13 at 0:03
  • 1
    \$\begingroup\$ Try the same settings you use with the uno, or even better, try those for duemilanova. Your error strongly suggests something else was used. FYI the Uno does not use the FTDI driver. \$\endgroup\$ – Chris Stratton Mar 18 '13 at 13:55
1
\$\begingroup\$

There is an error on the El Sequencer board silk-screen - the pins on the FTDI cable are reversed.

\$\endgroup\$
1
\$\begingroup\$

usbdev_open() is a function in the avrdude sources currently used only the in the USB driver for the AVRISP mkII, which is not something you would ordinarily deal with during routine sketch deployment.

However, this does seem to be the default programmer selection under the programmers-> menu for use when burning bootloaders to new unitialized chips.

Thus it appears you have executed "burn bootloader" from the menu rather than pushing the upload button on your sketch. Or else you have done some similarly atypical operation which tries to use such a USB programmer rather than talk to an Arduino bootloader over a (USB emulated) serial port as you should be doing.

\$\endgroup\$
  • \$\begingroup\$ I have not executed "burn bootloader" form the menu. Perhaps a setting for another board will work, as previously commented. I'll give that a try. \$\endgroup\$ – Diodeus - James MacFarlane Mar 18 '13 at 16:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.