Errors while writing muboot.hex

Hi.

I am trying to program a blank atmega644p for a new shruthi. Everything compiles just fine, make returns no errors and i can upload the shruthi1.hex and internal_eeprom.hex data to the cpu. But i get the following error when i try to upload the muboot.hex data with make upload_all


avrdude: reading input file "build/muboot/muboot.hex"
avrdude: ERROR: address 0x10010 out of range at line 66 of build/muboot/muboot.hex
avrdude: read from file ‘build/muboot/muboot.hex’ failed

The call to avrdude looks like this.

/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude -V -p m644p -C /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -c avrisp -P /dev/tty.usbmodem1a1221 -b 19200 -U flash:w:build/shruthi1/shruthi1.hex:i -U flash:w:build/muboot/muboot.hex:i -U eeprom:w:shruthi/data/factory_data/internal_eeprom.hex:i

Does anyone know how to fix this?

did you try with the prebuild muboot.hex too?

Yep, looks like your muboot.hex file is too large.

@shiftr , where can i find the prebuild muboot.hex. Is it part of the https://github.com/pichenettes/shruthi-1repository?

http://mutable-instruments.net/static/firmware/

Thanks a lot pichenettes. works great. How did you manage to build the muboot.hex with that size?

see http://mutable-instruments.net/shruthi1/firmware
it is problem with the new version of gcc