I am using the PIC18f452 with WDT to reset.
The WDT timer only has a reset time on 1:128 which is not sufficient time.
I would like the timer to reset after 2 seconds.
My crystal is a 20 MHz.
The WDT time-out period values may be found in the
Electrical Specifications (Section 22.0) under parameter
D031. Values for the WDT postscaler may be
assigned using the configuration bits.
So, in other words. Each WDT is 18ms. and the Postscalaer will incrament with 1 every 18ms! so for 2 sec you will need 2/0.018=111 or 128 and you have set it before.
Also, 0.018ms is not depanded on your OSC, it verys by tempreture only.