I have developed the program for frequency counter using P89v51RD2 micro controller.I selected the timer0 with mode1 as a counter for counting the frequency.It counts up to 45kHz.After this range the value is displayed and then it become 0.Again I have to reset.This is the problem which I'm facing.I need the solution.Thank you all in advance.