Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
B Robot Evo 2 - Can't upload new Arduino code
11-17-2017, 04:51 AM
Post: #1
B Robot Evo 2 - Can't upload new Arduino code
Hi
I just finished assembling my new R Robot Evo 2 and I wanted to make a change to the Arduino code and upload it to the Leonardo but each time I try, I get an error.

My computer (Windows 10) detects the arduino on COM9. Then when I upload, it sounds like the arduino disconnects and reconnects on COM10. I then get a message from avrdude that COM10 Access is denied.

This is what I see in the message window:

Code:
Sketch uses 22068 bytes (76%) of program storage space. Maximum is 28672 bytes.
Global variables use 1443 bytes (56%) of dynamic memory, leaving 1117 bytes for local variables. Maximum is 2560 bytes.
Forcing reset using 1200bps open/close on port COM9
PORTS {COM1, COM9, } / {COM1, } => {}
PORTS {COM1, } / {COM1, COM10, } => {COM10, }
Found upload port: COM10
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM10 -b57600 -D -Uflash:w:D:\Users\mo\AppData\Local\Temp\arduino_build_335730/BROBOT_EVO2.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                    : COM10
         Using Programmer              : avr109
         Overriding Baud Rate          : 57600
avrdude: ser_open(): can't open device "\\.\COM10": Access is denied.



avrdude done.  Thank you.

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Find all posts by this user
Quote this message in a reply
11-17-2017, 10:52 AM (This post was last modified: 11-17-2017 10:53 AM by PaoloP.)
Post: #2
RE: B Robot Evo 2 - Can't upload new Arduino code
Download and install latest Arduino IDE version 1.8.5 --> https://www.arduino.cc/en/Main/Software
Don't use the WinApp from Microsoft Store.
Since this is not a specific problem for B-Robot, I believe that Arduino Forum are more suitable to look for solutions to this problem --> https://forum.arduino.cc/index.php?board=2.0
Visit this user's website Find all posts by this user
Quote this message in a reply
11-17-2017, 05:33 PM
Post: #3
RE: B Robot Evo 2 - Can't upload new Arduino code
Thanks but I'm already using the latest IDE that's not downloaded from the Microsoft store.

This IS a question for B-Robot since what I built is completely stock and they provided the code too. This is called product support.

I'll just wait for someone who's able to help.
Find all posts by this user
Quote this message in a reply
11-18-2017, 11:14 AM (This post was last modified: 11-18-2017 11:15 AM by JohnQ.)
Post: #4
RE: B Robot Evo 2 - Can't upload new Arduino code
(11-17-2017 05:33 PM)NoFunZzz Wrote:  Thanks but I'm already using the latest IDE that's not downloaded from the Microsoft store.

This IS a question for B-Robot since what I built is completely stock and they provided the code too. This is called product support.

I'll just wait for someone who's able to help.
I think PaoloP was trying to help too... I think you misunderstood him when he proposed to take a look to the Arduino┬┤s IDE forum instead.

Did you select the ARDUINO LEONARDO as BOARD in the arduino IDE? This could be the problem.

This line: "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM10 -b57600 -D -Uflash:wBig Grin:\Users\mo\AppData\Local\Temp\arduino_build_335730/BROBOT_EVO2.ino.hex:i " means that the Arduino IDE uploader (avrdude) is getting problems uploading the code to a defined hardware.

Which Arduino IDE are you using?
Find all posts by this user
Quote this message in a reply
11-24-2017, 03:32 AM
Post: #5
RE: B Robot Evo 2 - Can't upload new Arduino code
I'm using IDE version 1.8.5.

I switched to another computer and now the upload works. Weird.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: