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 Error message when trying to upload to Arduino
  • 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 3 replies
  • Subscribers 390 subscribers
  • Views 559 views
  • Users 0 members are here
Related

Error message when trying to upload to Arduino

marktaylor
marktaylor over 5 years ago

So I am currently working with an arduino nano and I just built a prototype PCB for the system I was working with on a breadboard previously. After checking the PCB connection many times I finally tested it with my nano. Everything seems to be working as expected. However, now that I am further developing the sketch I want to run I cannot upload and am getting the error shown below. This error only occurs when seated in the headers on my PCB. If I take the nano off the board then everything is fine and I can upload my sketch. What are some potential issues with my PCB that could be causing this? Is it possible to answer this without seeing the board? Is it safe to keep using the PCB as is and just unseat the nano every time I want to update the sketch?

  • Sign in to reply
  • Cancel

Top Replies

  • Sean_Miller
    Sean_Miller over 5 years ago +2
    I can't see your error message for some reason, but I like a good challenge. :-) If you are confident on your solder joints and the design, you had no shorts when you tested the un-populated board, it…
  • aethertec
    aethertec over 5 years ago +2
    Well.. Your error message cannot be seen but lets try to figure this out anyway.. My broad guess is that you occupied the Rx Tx pins on your designed PCB for some different use. If you are sharing those…
  • Sean_Miller
    Sean_Miller over 5 years ago

    I can't see your error message for some reason, but I like a good challenge.  :-)

     

    If you are confident on your solder joints and the design, you had no shorts when you tested the un-populated board, it uploads with the board not installed, and the assembled project works within your expected amp range - you are good. If you don't know your amp draw, you should get one of these.

     

    I suspect you can't upload because your circuit is interfering with the serial pins or reset pin.  The original bootloader for the Nano (discussed here) gave an issue for analog pins as well.  So, you may want to check to see if you need to flash the bootloader

     

    I had trouble like this in my past with the ESP8266.  In turn, I put a tiny switch on my PCB that allowed me to switch it to "program" mode.  It was simply in line with the offending pin.

     

    To find the offending pin, I'd use jumper wire to land my headers.  Remove one at a time until you find the sucker.  Do a little dance when you do.

     

    See ya',

    Sean

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • aethertec
    aethertec over 5 years ago

    Well..

    Your error message cannot be seen but lets try to figure this out anyway.. image

     

    My broad guess is that you occupied the Rx Tx pins on your designed PCB for some different use. If you are sharing those pins with some other devices connected to your PCB like ESP8266 or GSM module or any such using Rx Tx pins during uploading of sketch then you may find trouble while uploading it. I think that is why your sketch gets uploaded when not connected to your PCB. I hope reallocating them will solve your issue.

    Good luck!
    Hrishikesh Mehta

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • neilk
    neilk over 5 years ago

    Your error message would be useful!

     

    As aethertec  and  Sean_Miller  have both said, interference with Rx/Tx pins is a common reason for upload failures in Arduino IDE

     

    Neil

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
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