ATMega1284P Issues

1st issue may well be out of sync due to wrong crystal.

Second issue; how exactly have you 'tapped into' the Uno onboard crystal.