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?