Hi I am using this Up, and store a counter value in eeprom. Now after 1 year 3 pieces out of 100 pieces, has come back, and the eeprom aria is
total corrupted, and I caan use it anymore. Not only the adress which I use is corrupted, but the whole aria is written with currupt data. I don't know what I am doing wrong. Here are my configurations bit:
FOSC: INTOSCIO oscillator :I/O Function on RA4/OSC2/CLKPIN, I/O function on RA5/OSC1/CLKIN
Watchdog timer: WDT enabled
Power-up timer: PWRT enabled
MCLR: MCLR pin function as digital input, MCLR internally tied to VDD
CP: Code protection enabled
CPD: Data code protection is enabled
BOREN: Brown-out Reset Selection bit: BOR enabled
IESO: Internal External Switchover bits: Disabled
FCMEN: Fail safe clock monitor is disabled.
That it. What can I have done wrong. I am not 100% sure about those configuratios bits.
I am using Realizer Gold from Actum Solutions. It a grafic programming tools, so I have only assampler code, which have been
checked at Actum solutions, and they says that program code is OK.
So I really need so find out what goes wrong.
Thank You very much for reading this
Per Haastrup
Denmark
total corrupted, and I caan use it anymore. Not only the adress which I use is corrupted, but the whole aria is written with currupt data. I don't know what I am doing wrong. Here are my configurations bit:
FOSC: INTOSCIO oscillator :I/O Function on RA4/OSC2/CLKPIN, I/O function on RA5/OSC1/CLKIN
Watchdog timer: WDT enabled
Power-up timer: PWRT enabled
MCLR: MCLR pin function as digital input, MCLR internally tied to VDD
CP: Code protection enabled
CPD: Data code protection is enabled
BOREN: Brown-out Reset Selection bit: BOR enabled
IESO: Internal External Switchover bits: Disabled
FCMEN: Fail safe clock monitor is disabled.
That it. What can I have done wrong. I am not 100% sure about those configuratios bits.
I am using Realizer Gold from Actum Solutions. It a grafic programming tools, so I have only assampler code, which have been
checked at Actum solutions, and they says that program code is OK.
So I really need so find out what goes wrong.
Thank You very much for reading this
Per Haastrup
Denmark