Go Down

Topic: Problem's uploading can't do anything??? (Read 238 times) previous topic - next topic

Sean222

Feb 07, 2018, 12:13 pm Last Edit: Feb 07, 2018, 12:22 pm by Sean222
Got a SainSmart Arduino Uno and it worked fine for a year or two but one day It started having problems uploading, and I found that I could only upload if I forcefully held it up and pushed it. The next day it went nuts and now I can't get any sketches into the Arduino  >:(  >:(  >:(  >:(  >:(  >:(  any suggestions? (I have a soldering Iron and similars so anything will be appreciated.
Error message:

Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\User\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path C:\Users\User\AppData\Local\Temp\arduino_build_337920 -warnings=none -build-cache C:\Users\User\AppData\Local\Temp\arduino_cache_4866 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\User\Documents\Arduino\LCD\LCD.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\User\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path C:\Users\User\AppData\Local\Temp\arduino_build_337920 -warnings=none -build-cache C:\Users\User\AppData\Local\Temp\arduino_cache_4866 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\User\Documents\Arduino\LCD\LCD.ino
Using board 'uno' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\User\AppData\Local\Temp\arduino_build_337920\sketch\LCD.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\LiquidCrystal\src" "C:\Users\User\AppData\Local\Temp\arduino_build_337920\sketch\LCD.ino.cpp" -o "nul"
Using cached library dependencies for file: C:\Program Files (x86)\Arduino\libraries\LiquidCrystal\src\LiquidCrystal.cpp
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\LiquidCrystal\src" "C:\Users\User\AppData\Local\Temp\arduino_build_337920\sketch\LCD.ino.cpp" -o "C:\Users\User\AppData\Local\Temp\arduino_build_337920\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\User\AppData\Local\Temp\arduino_build_337920\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\LiquidCrystal\src" "C:\Users\User\AppData\Local\Temp\arduino_build_337920\sketch\LCD.ino.cpp" -o "C:\Users\User\AppData\Local\Temp\arduino_build_337920\sketch\LCD.ino.cpp.o"
Compiling libraries...
Compiling library "LiquidCrystal"
Using previously compiled file: C:\Users\User\AppData\Local\Temp\arduino_build_337920\libraries\LiquidCrystal\LiquidCrystal.cpp.o
Compiling core...
Using precompiled core
Linking everything together...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p  -o "C:\Users\User\AppData\Local\Temp\arduino_build_337920/LCD.ino.elf" "C:\Users\User\AppData\Local\Temp\arduino_build_337920\sketch\LCD.ino.cpp.o" "C:\Users\User\AppData\Local\Temp\arduino_build_337920\libraries\LiquidCrystal\LiquidCrystal.cpp.o" "C:\Users\User\AppData\Local\Temp\arduino_build_337920/..\arduino_cache_4866\core\core_arduino_avr_uno_0c812875ac70eb4a9b385d8fb077f54c.a" "-LC:\Users\User\AppData\Local\Temp\arduino_build_337920" -lm
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0  "C:\Users\User\AppData\Local\Temp\arduino_build_337920/LCD.ino.elf" "C:\Users\User\AppData\Local\Temp\arduino_build_337920/LCD.ino.eep"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom  "C:\Users\User\AppData\Local\Temp\arduino_build_337920/LCD.ino.elf" "C:\Users\User\AppData\Local\Temp\arduino_build_337920/LCD.ino.hex"
Using library LiquidCrystal at version 1.0.7 in folder: C:\Program Files (x86)\Arduino\libraries\LiquidCrystal
Sketch uses 2814 bytes (8%) of program storage space. Maximum is 32256 bytes.
Global variables use 87 bytes (4%) of dynamic memory, leaving 1961 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM3 -b115200 -D -Uflash:w:C:\Users\User\AppData\Local\Temp\arduino_build_337920/LCD.ino.hex:i

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM3
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x2c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x2c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x2c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x2c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x2c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x2c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x2c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x2c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x2c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x2c

avrdude done.  Thank you.

spycatcher2k

Quote
I found that I could only upload if I forcefully held it up and pushed it
Eh, held WHAT up, and pushed WHAT?

If it's the USB connection, then replace it! If you can't, then find someone who can, or buy a replacement.

If you are in the UK - I can replace the connector.
-=-
http://www.uk-pcb.co.uk - UK Based PCB Fab Company
I will code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.

DrAzzy

Board is damaged. Whatever you had to push is either damaged or has bad solder joints. Now it sounds like additional issue - when trying to upload, does the led do the triple blink? If not, does it do so when you press reset?
ATtiny core for 841+1634+828 and x313/x4/x5/x61/x7/x8 series Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts (some assembled), mosfets and awesome prototyping board in my store http://tindie.com/stores/DrAzzy

krupski

Eh, held WHAT up, and pushed WHAT?

If it's the USB connection, then replace it! If you can't, then find someone who can, or buy a replacement.

If you are in the UK - I can replace the connector.
The USB connector can be "repaired" if one is careful.

What I do is take a micro-tiny jeweler's screwdriver (straight slot) and get under each of the 4 USB contact pins.  I pull up until the front "tab" unlatches from the housing.

This "pull up" action also replaces the nice curve that a new connector had.

Then, VERY carefully, use the same screwdriver to push down and in on the front "tab" until it snaps back under the plastic housing.  If it doesn't go easily, be sure the alignment is correct because too much force will bow the connector strip WAY up and ruin it.  I suggest practicing on scrap USB connectors if possible.

Lastly, use the same screwdriver to slightly pull out the non-signal (grounding) tabs around the inside of the connector. These provide a bit extra grip on the USB connector as well as grounding it's shield.

The FIRST time you plug the USB connector into the "repaired" socket, be sure to wiggle it and do not force it.  There is a slight possibility that one or more contacts are bowed up a bit too much and will completely fold if the connector is forced in.

If that's the case, use again the same screwdriver and push each contact towards the center to lower it a bit.  You will not lose the repair you made.

Then, try plugging in again. Should go in nicely (firm and solid, but not "too tight") and it should work great again.

Good luck, and as I said practice first. If you fubar your good Arduino, don't blame me. I warned you twice!  :)

Gentlemen may prefer Blondes, but Real Men prefer Redheads!

Go Up