Page 1 of 1
Updated to 1.0.7 library, now I receive "Error Uploading".
Posted: Sat May 11, 2013 9:19 pm
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?
Re: Updated to 1.0.7 library, now I receive "Error Uploading
Posted: Sat May 11, 2013 9:48 pm
by rimai
That's communication issue.
Is it happening all the time?
It is not related to the libs version or code.
Re: Updated to 1.0.7 library, now I receive "Error Uploading
Posted: Sat May 11, 2013 9:53 pm
by mudcat1
Yes it happened both times that I tried to upload it.
Re: Updated to 1.0.7 library, now I receive "Error Uploading
Posted: Sun May 12, 2013 4:41 pm
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.
Re: Updated to 1.0.7 library, now I receive "Error Uploading
Posted: Mon May 13, 2013 9:28 am
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.
Re: Updated to 1.0.7 library, now I receive "Error Uploading
Posted: Mon May 13, 2013 9:34 am
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?
Re: Updated to 1.0.7 library, now I receive "Error Uploading
Posted: Mon May 13, 2013 10:55 am
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.
