Arduino Bootloaders for Atmega164, Atmega324, Atmega644 and Atmega1284 ?

You can use a arduino without a atmega on it to transfer the sketch to the atmega644.

You must connect rx from the arduino board with the tx from the atmega644.
The tx from arduino to atmega644 rx.

Then select sanguino W/atmega644p under boards before you try to transfer the sketch !