system
October 23, 2012, 10:03pm
1
Hi, pls check the result, I copied the terminal stuff..
vinod@vinod-Aspire-5750:/usr/share/arduino/hardware/arduino/bootloaders/optiboot$ avrdude -c usbasp -p m328p -u -U flash:w:optiboot_atmega328.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "optiboot_atmega328.hex"
avrdude: input file optiboot_atmega328.hex auto detected as Intel Hex
avrdude: ERROR: address 0x800a out of range at line 33 of optiboot_atmega328.hex
avrdude: read from file 'optiboot_atmega328.hex' failed
avrdude done. Thank you.
vinod@vinod-Aspire-5750:/usr/share/arduino/hardware/arduino/bootloaders/optiboot$
westfw
October 24, 2012, 8:31am
2
Did you build the executable yourself? If so, and you're running on linux with a gcc newer than 4.3.2, you may need the patch described here: Google Code Archive - Long-term storage for Google Code Project Hosting.
system
November 6, 2013, 1:33am
3
BUMP
Same Problem but lower GCC Version:
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5666.3~123/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
Any suggestion would be highly appreciated!
westfw
November 6, 2013, 4:23am
4
Target: i686-apple-darwin10
Well, THAT code isn't likely to run on an AVR!