ATmega1284P: End to End using 1.0 IDE

I can get the bootloader on there, I just want to be able to burn sketches from the IDE. No joy so far, though.