Troubleshooting ITG3200 gyro

Hi

I am using 9dof circuit. I have tried both ITG3200_output.pde and ITG3200_test.pde programs that are available on sparkfun website. But when I uploaded ITG3200_output.pde, it shows nothing on Serial monitor(program hanged).

And when I uploaded ITG3200_test.pde, it also hanged after displaying “zero calibrating done…”

Can someone help me how to deal with the hanging of ITg3200 Gyro or Program?