Once you enable the USART, like the Bootloader do, you can't use RX/TX pin with serout. Use HSEROUT instead... OR get rid of all DEFINES, and disable SPEN bit....

Your program shouldn't finish like that... use STOP of do a loop.