Updated to 1.0.7 library, now I receive "Error Uploading".

Related to the development libraries, released by Curt Binder
Post Reply
mudcat1
Posts: 133
Joined: Sun Dec 09, 2012 7:23 pm

Updated to 1.0.7 library, now I receive "Error Uploading".

Post by mudcat1 »

Roberto,
I just upgraded to the Reef Angel 1.0.7 library and I receive the error "Error Uploading". I am running Arduino 1.0.1 on Ubuntu Linux version 10.04. I did not change my code before upgrading to version 1.0.7.

The end of the Upload log says ...

avrdude: Recv: . [10]
# | 100% 6.49s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x3dd1
0x04 != 0x[quote][/quote]44
avrdude: verification error; content mismatch
avrdude: Send: Q [51] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]

avrdude done. Thank you.

What is causing this problem?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Updated to 1.0.7 library, now I receive "Error Uploading

Post by rimai »

That's communication issue.
Is it happening all the time?
It is not related to the libs version or code.
Roberto.
mudcat1
Posts: 133
Joined: Sun Dec 09, 2012 7:23 pm

Re: Updated to 1.0.7 library, now I receive "Error Uploading

Post by mudcat1 »

Yes it happened both times that I tried to upload it.
mudcat1
Posts: 133
Joined: Sun Dec 09, 2012 7:23 pm

Re: Updated to 1.0.7 library, now I receive "Error Uploading

Post by mudcat1 »

Roberto,
Yes, it happened again today.
.
.
.
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x2e8d
0xe0 != 0xe2
avrdude: verification error; content mismatch
avrdude: Send: Q [51] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]

avrdude done. Thank you.

But only when I use the 1.0.7 libraries.
Sebyte

Re: Updated to 1.0.7 library, now I receive "Error Uploading

Post by Sebyte »

Roberto

I am also getting coms failure due to timeout after moving to 1.0.7. libs.

I then did a cold boot of PC and replaced the wizard with the latest build. Still got the following error.

Code: Select all

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Dimming Signal
Wifi Attachment
Custom Main Screen
Water Level Expansion Module
Simple Menu
Binary sketch size: 35,892 bytes (of a 258,048 byte maximum)
C:\Program Files\Reef Angel Controller\hardware/tools/avr/bin/avrdude -CC:\Program Files\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega2560 -cstk500v2 -P\\.\COM4 -b115200 -D -Uflash:w:C:\DOCUME~1\SEBYTE\LOCALS~1\Temp\build7294684086977967832.tmp\_13_may_13.cpp.hex:i 

avrdude: Version 6.0, compiled on Apr  6 2012 at 19:29:19
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

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

         Using Port                    : \\.\COM4
         Using Programmer              : stk500v2
         Overriding Baud Rate          : 115200
Rebooting Reef Angel Controller
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14] 
avrdude: Recv: 
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude done.  Thank you.
I have checked the usual, usb lead not plugged into head right, drivers loaded etc.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Updated to 1.0.7 library, now I receive "Error Uploading

Post by rimai »

:(
There has been no changes made to avrdude since 04/2012.
It even prints the time of compilation.
avrdude: Version 6.0, compiled on Apr 6 2012 at 19:29:19
Is the controller rebooting?
Roberto.
Sebyte

Re: Updated to 1.0.7 library, now I receive "Error Uploading

Post by Sebyte »

Ok, problem identified and solved.

The 1.7.0 wizard has the Board defaulted to RA Plus, and I have the standard with optiboot. I thought that was the previous default so did not check.

Lesson learned, never assume that defaults will be carried over from version to version. :oops:
Post Reply