Hi Rodo,
Thanks for your suggestion.I checked command window in debugger before the frequency changed to 4MHz to 0Hz.The command window shows following errors saying that
1.Resetting the device for programming.
2.Error occred during flash programming.
After that i pressed Abort in the debugger.In that the debugger command window shows error saying that the debugger is currently not able to run due to loss of contact with hardware.(Between BDM and target board)
I think the reason behind my problem is BKGD becoming 0V.I attached my code.Plz check that and tell me if any wrong in that.In the code i'm taking sample of 3 phase AC.Suggest me if you come to knw what was the wrong in my hardware so that i will go ahead.
With regards
santhu