Society of Robots - Robot Forum
Software => Software => Topic started by: fxgovers on January 08, 2016, 08:40:16 PM
-
I'm having problems with any program for the Axon2 that includes rprintf. The bootloader says that the program is too large for the chip. The compiler says that the program only takes 20% of the available space:
AVR Memory Usage
----------------
Device: atmega640
Program: 13362 bytes (20.4% Full)
(.text + .data + .bootloader)
I'm compiling on AVR Studio 4 on windows and using the linux bootloader to upload to the board. The MacUber program I cannot get to work on my computer.
Any suggestions,
Thanks!
Francis Govers
-
;D Hello!
I wish I could help, but I can not even get the program to load into the Axon! :'( :'( :'(
In programming respect, though, the compiler may not be optimizing your code.
I do know that there are other compilers and bootloaders from Atmel, which may help.
I have links on my post, Analyzing the Axon: Coding, Construction, and Contraptions that
may lead you to an answer. Good Luck! ;) :) :D ;D
-
OK, I found a solution. I went into the bootloader source code - the size of the code to be downloaded into the Axon 2 was arbitrarly set at 10,000. I reset it to 64,000 and everything is working fine. I'll have to keep an eye on the build size, but my code is now working fine.
Francis Govers