Help with uploading sketches to 1284p

So, thanks to those who helped me in a previous thread I have got as far as having a 1284p with the optiboot bootloader on it.

The method I used was Gammon’s at Gammon Forum : Electronics : Microprocessors : How to make an Arduino-compatible minimal board

However I’m stuck at actually getting a sketch on to it, I dont currently have a FTDI cable, But I do have a spare UNO r3 and a AVRASP programmer, neither of which I seem to have any success with.

Right now I have the chip pulled from the UNO and am trying to program that way, I must be missing something because im getting a avrdude: stk500_cmd(): programmer is out of sync error.
I thought I might have the serial lines crossed but when I do that I get a avrdude: stk500_getsync(): not in sync: resp=0x00 error instead.