element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Dead Arduino? Sketch won't upload
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 2 replies
  • Subscribers 391 subscribers
  • Views 954 views
  • Users 0 members are here
  • troubleshooting
  • trouble
  • dht22
  • arduino nano
  • sketch
  • troubleshoot
  • arduino shield
  • sketches
  • servo
Related

Dead Arduino? Sketch won't upload

dukeofmarshall
dukeofmarshall over 9 years ago

I'm designing a project that contains an Arduino Nano, two micro servos (SG90), a 4 channel relay shield, a DHT22, an RTC module, and an HD44780 20x4 LCD display. I double checked and none of the components are being powered through the Arduino, but rather an external power supply. The Arduino is also powered from this same external power supply.

 

So in my previous version of this project, I had the LCD, DHT22, RTC, and relays working just fine. Continuing to develop the project, I added one of the servos to the code and things went haywire, instantly. Only half the characters showed on the LCD and alot of times there were weird characters on the screen. I disconnected the servo and tried to troubleshoot the LCD. Now, there is nothing showing on the LCD and I can't upload any sketch. Not the one I was working on and not even the blink sketch.

 

 

When I try to upload a sketch, such as blink, the Arduino program goes through verifying, compiling and uploading the RX/TX lights light up on the Arduino, but the sketch doesn't get uploaded and doesn't work. Also, now, when the Arduino has any power, through either the USB cable or through the external power source via VIN, the "L" light just consistently blinks real quickly about every one seconds.

 

 

Below is the verbose output from when I tried to upload the Blink sketch.

 

 

 

 

 

 

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

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

C:\Program Files\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM5 -b57600 -D -Uflash:w:C:\Users\*******\AppData\Local\Temp\build7681382094788741528.tmp/Blink.cpp.hex:i

 

 

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58

         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

         Copyright (c) 2007-2009 Joerg Wunsch

 

 

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

 

 

         Using Port                    : COM5

         Using Programmer              : arduino

         Overriding Baud Rate          : 57600

         AVR Part                      : ATmega328P

         Chip Erase delay              : 9000 us

         PAGEL                         : PD7

         BS2                           : PC2

         RESET disposition             : dedicated

         RETRY pulse                   : SCK

         serial program mode           : yes

         parallel program mode         : yes

         Timeout                       : 200

         StabDelay                     : 100

         CmdexeDelay                   : 25

         SyncLoops                     : 32

         ByteDelay                     : 0

         PollIndex                     : 3

         PollValue                     : 0x53

         Memory Detail                 :

 

 

                                  Block Poll               Page                       Polled

           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack

           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------

           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff

           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff

           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00

           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00

           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00

           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00

           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00

           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

 

 

         Programmer Type : Arduino

         Description     : Arduino

         Hardware Version: 2

         Firmware Version: 1.16

         Vtarget         : 0.0 V

         Varef           : 0.0 V

         Oscillator      : Off

         SCK period      : 0.1 us

 

 

avrdude: AVR device initialized and ready to accept instructions

 

 

Reading | ################################################## | 100% 0.00s

 

 

avrdude: Device signature = 0x1e950f

avrdude: reading input file "C:\Users\Todd\AppData\Local\Temp\build7681382094788741528.tmp/Blink.cpp.hex"

avrdude: writing flash (1030 bytes):

 

 

Writing | ################################################## | 100% 0.25s

 

 

avrdude: 1030 bytes of flash written

avrdude: verifying flash memory against C:\Users\********\AppData\Local\Temp\build7681382094788741528.tmp/Blink.cpp.hex:

avrdude: load data flash data from input file C:\Users\********\AppData\Local\Temp\build7681382094788741528.tmp/Blink.cpp.hex:

avrdude: input file C:\Users\********\AppData\Local\Temp\build7681382094788741528.tmp/Blink.cpp.hex contains 1030 bytes

avrdude: reading on-chip flash data:

 

 

Reading | ######################################Invalid library found in C:\Program Files\Arduino\libraries\Firmata: Library can't use both 'src' and 'utility' folders.

############ | 100% 0.24s

 

 

avrdude: verifying ...

avrdude: verification error, first mismatch at byte 0x0000

         0xff != 0x0c

avrdude: verification error; content mismatch

 

 

avrdude done.  Thank you.

 

 

Invalid library found in C:\Program Files\Arduino\libraries\Firmata: Library can't use both 'src' and 'utility' folders.

 

 

 

 

 

image

 

 

 

 

 

 

Is my Arduino shot? Is there anything I can do software wise? Did this just happen or is there something you think I did to cause this? Any other comments or suggestions? Thanks.

  • Sign in to reply
  • Cancel
Parents
  • bitsandbots
    bitsandbots over 8 years ago

    Try re-burning the bootloader back onto the Arduino.

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • bitsandbots
    bitsandbots over 8 years ago

    Try re-burning the bootloader back onto the Arduino.

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube