Hi ShriShailesh,
In order to generate the square wave on the timer pin. Program the GP timer in Continuous PWM mode, with
Timer Period = 2 , Width = 1 , and delay = 0..
You will also have to configure the respective GPort in peripheral mode in order to observe the square wave on TMR pin.
Thanks,
Akash