Serial communication between arduino and avr atmega32

Sorry, but it would take a me a long time to figure out the code you have posted for the Atmega32 board and I am lazy.

Why not also program that board with the Arduino IDE?

...R