Jump to content

I posted this on KH, but I think it really belongs here


G+_James Hughes
 Share

Recommended Posts

15252B-252B1-33.jpeg

I posted this on KH, but I think it really belongs here. I'm trying to build my own filament resetter for my Da Vinci 3d printer. Here's my problem:

 

 I'm trying to upload the sketch that resets the cartridge to my arduino uno and keep getting an error message that it's not in sync.. I've tried changing out the pin connections and everything else I can think of.

 

Here is the code that is returned (I'm on a Mac if that makes any difference, and I've already replaced the FTDI drivers.):

 

Sketch uses 1,030 bytes (3%) of program storage space. Maximum is 28,672 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.

/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/cu.usbserial-AI02OD5P -b115200 -D -Uflash:w:/var/folders/zt/07g4_7yd3wz5kxt73gtlkzbw0000gp/T/build8381775075535385418.tmp/Blink.cpp.hex:i 

 

avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25

         Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/

         Copyright © 2007-2009 Joerg Wunsch

 

         System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"

         User configuration file is "/Users/teacher/.avrduderc"

         User configuration file does not exist or is not a regular file, skipping

 

         Using Port                    : /dev/cu.usbserial-AI02OD5P

         Using Programmer              : arduino

         Overriding Baud Rate          : 115200

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x20

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x30

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xe0

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x30

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xe0

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x30

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xa0

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x30

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x20

 

avrdude done.  Thank you. 

Link to comment
Share on other sites

I get a flicker on one of the leds when it fails to write. I tried installing the IDE on my pc (I've been working on my Mac) and got a similar error. I'm going to try a few more things on the pc and see if I can get it to work. At this point I'm thinking about admitting defeat and buying it preprogrammed. :( Any Arduino experts in the So. Cal. / OC area?

Link to comment
Share on other sites

  • 6 months later...

As well as VCC, GND , TX and TX being connected. You have to connect the DTR line to reset.

The Arduino to go into programming mode holds the reset line (either high or low) for an extended period of time. Then it can be programmed

 

I did a bit of a blog post on it a while back http://winkleink.blogspot.co.uk/2014/01/programming-arduino-pro-mini-16mhz-5v.html

 

Video I linked to is not showing for me but it is this one with even more information on programming the Pro Mini.

https://youtube.googleapis.com/v/Vawhrr4COjI&source=uds

Link to comment
Share on other sites

 Share

×
×
  • Create New...