Author Topic: Error loading Arduino uno program  (Read 5908 times)

0 Members and 1 Guest are viewing this topic.

Offline PROGRAMERTopic starter

  • Newbie
  • Posts: 1
  • Country: si
Error loading Arduino uno program
« on: February 04, 2016, 10:25:33 pm »
Arduino: 1.6.6 (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 1,174 bytes (3%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
avrdude: ser_open(): can't open device "\\.\COM7": Access is denied.


Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

AND

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

Sketch uses 1,174 bytes (3%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
avrdude: ser_open(): can't open device "\\.\COM7": Access is denied.


Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xde
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xde
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xde
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xde
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xde
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xde
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xde
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xde
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xde
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xde
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.
 

Offline sleemanj

  • Super Contributor
  • ***
  • Posts: 3176
  • Country: nz
  • Professional tightwad.
    • The electronics hobby components I sell.
Re: Error loading Arduino uno program
« Reply #1 on: February 04, 2016, 10:43:47 pm »
> avrdude: ser_open(): can't open device "\\.\COM7": Access is denied.

Most likely to least likely (not an exhaustive list):

Incorrect Arduino board selected in Arduino IDE.
Incorrect port selected in Arduino IDE.
Incorrect driver installed in operating system.
Dead Arduino.
Incorrect operating system permissions.

~~~
EEVBlog Members - get yourself 10% discount off all my electronic components for sale just use the Buy Direct links and use Coupon Code "eevblog" during checkout.  Shipping from New Zealand, international orders welcome :-)
 

Offline captbill

  • Contributor
  • Posts: 37
  • Country: us
Re: Error loading Arduino uno program
« Reply #2 on: February 04, 2016, 10:49:02 pm »
You seem to have the wrong target configured. You are trying to upload to an Stk500 chip. Go 'tools|board' and choose 'Arduino UNO' and the go to 'Tools|Programmer' and choose 'AVR ISP'. Make sure you have the right com port too.
 

Offline sleemanj

  • Super Contributor
  • ***
  • Posts: 3176
  • Country: nz
  • Professional tightwad.
    • The electronics hobby components I sell.
Re: Error loading Arduino uno program
« Reply #3 on: February 04, 2016, 11:36:57 pm »
You are trying to upload to an Stk500 chip.

The serial bootloader emulates an stk500 programmer (or better said, the arduino serial bootloader uses the same protocol as the stk500).

~~~
EEVBlog Members - get yourself 10% discount off all my electronic components for sale just use the Buy Direct links and use Coupon Code "eevblog" during checkout.  Shipping from New Zealand, international orders welcome :-)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->