G+_James Hughes Posted July 9, 2015 Share Posted July 9, 2015 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 More sharing options...
G+_Lee Crocker Posted July 10, 2015 Share Posted July 10, 2015 Nice picture of your MiniPro, and your FTDI cable, but don't see how they're connected. Link to comment Share on other sites More sharing options...
G+_James Hughes Posted July 10, 2015 Author Share Posted July 10, 2015 They aren't, I need some help on that. I've tried many different ways. I wonder if I should have uploaded the sketch before I soldered it. Link to comment Share on other sites More sharing options...
G+_Lee Crocker Posted July 10, 2015 Share Posted July 10, 2015 Typically you only need to connect tx/rx/gnd, make sure the board is powered, reset the Arduino to start the bootloader, then run avrdude. Link to comment Share on other sites More sharing options...
G+_James Hughes Posted July 10, 2015 Author Share Posted July 10, 2015 Thanks Lee Crocker? I'll give it a try tomorrow. Link to comment Share on other sites More sharing options...
G+_James Hughes Posted July 10, 2015 Author Share Posted July 10, 2015 Gave it a try today. Bought another FTDI board at Frye's to give it a try. Used different usb cables. Still the same result. I noticed that both FTDI boards have a jumper on them. What would happen if I switched the jumper, or removed it completely? Link to comment Share on other sites More sharing options...
G+_Lee Crocker Posted July 10, 2015 Share Posted July 10, 2015 The jumper is for 5v/3.3v output. The mini pro is 3.3, but a 5v input shouldn't damage it. The six pins on the end are clearly meant to line up exactly with the Arduino, so there should be no complications there. Are the LEDs on the board showing traffic? Link to comment Share on other sites More sharing options...
G+_James Hughes Posted July 12, 2015 Author Share Posted July 12, 2015 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 More sharing options...
G+_Lee Crocker Posted July 12, 2015 Share Posted July 12, 2015 I can't help with the IDE I'm afraid...never used it. Never used Arduino's bootloader either (wrote one once). I always just use avrdude directly. Link to comment Share on other sites More sharing options...
G+_James Hughes Posted July 12, 2015 Author Share Posted July 12, 2015 Avrdude? Can I download it somewhere? I'll try googling it. Thanks! Link to comment Share on other sites More sharing options...
G+_Lee Crocker Posted July 13, 2015 Share Posted July 13, 2015 You already have it. The Arduino IDE just calls it. Link to comment Share on other sites More sharing options...
G+_James Hughes Posted July 13, 2015 Author Share Posted July 13, 2015 Thanks Lee Crocker?, it turns out that I was selecting the wrong board from the list. I have the arduino pro mini and in the list I was picking the mini. Link to comment Share on other sites More sharing options...
G+_Winkle ink Posted January 13, 2016 Share Posted January 13, 2016 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 More sharing options...
Recommended Posts