Here's the config settings I used when running this through MPSIM.
__CONFIG _CONFIG1H, _OSC_HS_1H
__CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H
__CONFIG _CONFIG3H, _PBADEN_OFF_3H
__CONFIG _CONFIG4L, _LVP_OFF_4L & _XINST_OFF_4L
I have attached the .hex & .bas files I used.
After looking at one of many errata sheets for the 18F4620, I doubt I'll be in
any huge hurry to try this one.
The Rev A silicon Errata sheet shows a boat-load of problems with the ECCP
module. It could very well be a silicon bug. Good luck...;o}
Bookmarks