Page 1 of 1

MAIN.HEX COMPILE ERROR??

Posted: Sun Jan 27, 2008 2:04 am
by komisarios
HELLO ALL,

At the end of the compilation using the ''make'' command, there are 3 errors that say (red):

objcopy -j .text -j .data -0 ihex main.bin main.hex
checksize main.bin 8192 1024

checksize: awk :command not found
checksize: [:-gt:: unary operator expected bytes <data=>
checksize: [:-gt:: unary operator expected bytes


Is it something wrong????

Also, i don;t know what fuses should i change.

Thanks

Posted: Sun Jan 27, 2008 10:02 am
by Grendel
Edit the checksize script and change awk to gawk -- that should fix it.

fuse change?

Posted: Mon Jan 28, 2008 7:50 am
by komisarios
Thanks for the help

BTW does anyone know which fuse should i change for avr-usb??

Posted: Fri May 09, 2008 11:06 am
by christian
You can also simply delete the call to the checksize script.

The fuse values depend on the chip you use. See the examples in the latest version of the driver (http://www.obdev.at/products/avrusb/download.html) for example values and more info. The fuse values can be found in the Makefile.