Sign in

username:

password:



Not a member?

Search m68hc11



Search tips

Subscribe to m68hc11



m68hc11 by Keywords

27c256 | 4K81H | 68HC11A1 | 68HC11P1 | 68hc24 | 68HC711E9 | 68HC811 | 8255 | A2D | ADC | ADC12138 | Am85C30 | BRCLR | Buffalo | CMOS | EEPROM | EPROM | Ethernet | EVB | EVBU | HC11E1 | HC11E9 | HC711E9 | Horray | ImageCraft | IRQ | Keypad | LCD | MC68HC11D0FN | MC68HC11E1CFU3 | MC68HC11F1 | MC68HC711E9 | MC68HC711E9CFN2 | Microcore11 | Microstamp11 | Minikit | NVRAM | PSD | PSD8xx | PSD9xx | PT1000 | RS232 | RTS | RXD | SPI | SRAM | TXD | Watchdogs | XIRQ

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | | EEPROM protection

EEPROM protection - Alowonle, Musibau - Aug 16 10:09:00 2002

Hello all,

This is for all you software guru.

Following is the problem:

I suspect that I'm having some data corruption problem to my EEPROM (EE) and
I would like to do a checksum to verify data integrity during write and read
of the EE. I know how to do a checksum, but my problem is how I go about
doing this. More specifically, where within my code (before read/write of
EE) do I do the checksum. Any other tips regarding protecting the integrity
of EE will be appreciated.

One more question for anyone who can answer, which is less susceptible to
corruption NVRAM or EEPROM. My EEPROM is internal to 68HC11.

Regards,
Musibau





(You need to be a member of m68hc11 -- send a blank email to m68hc11-subscribe@yahoogroups.com )


Re: EEPROM protection - Kerry Berland - Aug 16 19:42:00 2002

The EEPROM within the 68HC11 is extremely
reliable, intrinsically. Anytime that you can use
memory within the microcontroller, as opposed
to outside, it's probably better because there is
less exposure to transients outside the chip, on
the traces running around the PC board.

However wonder if you have got a low-voltage reset
chip on your application, external to the 68HC11.
If you do not have it, there is an excellent chance
of corrupting EEPROM during power down cycles.
There is a passage in the Pink Book that says one
must have a low voltage reset circuit external to the
68HC11 for "nearly every application."

On the checksum side, there are people better on software
than I am. Typically one divides information that needs
to be stored into EEPROM into logical groups, from
several to many bytes, depending on how these groups
are being used. You calculate the checksum on a group
of bytes before storing the bytes into EEPROM.
After reading the bytes back, you recalculate the checksum,
and see if it matches what you read. If it doesn't, the corrective
action taken depends on the application.

Hope this is helpful.

Best regards,

Kerry Berland

Silicon Engines
2101 Oxford Road
Des Plaines, IL 60018 USA
847-803-6860
Fax 847-803-6870

----- Original Message -----
From: Alowonle, Musibau
To: m68HC11 (E-mail)
Sent: Friday, August 16, 2002 10:09 AM
Subject: [m68HC11] EEPROM protection Hello all,

This is for all you software guru.

Following is the problem:

I suspect that I'm having some data corruption problem to my EEPROM (EE) and
I would like to do a checksum to verify data integrity during write and read
of the EE. I know how to do a checksum, but my problem is how I go about
doing this. More specifically, where within my code (before read/write of
EE) do I do the checksum. Any other tips regarding protecting the integrity
of EE will be appreciated.

One more question for anyone who can answer, which is less susceptible to
corruption NVRAM or EEPROM. My EEPROM is internal to 68HC11.

Regards,
Musibau Yahoo! Groups Sponsor
ADVERTISEMENT
To unsubscribe from this group, send an email to:

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed]




(You need to be a member of m68hc11 -- send a blank email to m68hc11-subscribe@yahoogroups.com )

RE: EEPROM protection - Alowonle, Musibau - Aug 19 11:48:00 2002

Thanks for your reply, the information you gave was very helpful. I do have
one more question. Is it possible to corrupt the EE during write operation
process (i.e. instead of writing 0xf0, 0xf1 got written) If this is possible
how do you check for it?

Best regards,
Musibau

-----Original Message-----
From: Kerry Berland [mailto:]
Sent: Friday, August 16, 2002 7:42 PM
To:
Subject: Re: [m68HC11] EEPROM protection The EEPROM within the 68HC11 is extremely
reliable, intrinsically. Anytime that you can use
memory within the microcontroller, as opposed
to outside, it's probably better because there is
less exposure to transients outside the chip, on
the traces running around the PC board.

However wonder if you have got a low-voltage reset
chip on your application, external to the 68HC11.
If you do not have it, there is an excellent chance
of corrupting EEPROM during power down cycles.
There is a passage in the Pink Book that says one
must have a low voltage reset circuit external to the
68HC11 for "nearly every application."

On the checksum side, there are people better on software
than I am. Typically one divides information that needs
to be stored into EEPROM into logical groups, from
several to many bytes, depending on how these groups
are being used. You calculate the checksum on a group
of bytes before storing the bytes into EEPROM.
After reading the bytes back, you recalculate the checksum,
and see if it matches what you read. If it doesn't, the corrective
action taken depends on the application.

Hope this is helpful.

Best regards,

Kerry Berland

Silicon Engines
2101 Oxford Road
Des Plaines, IL 60018 USA
847-803-6860
Fax 847-803-6870

----- Original Message -----
From: Alowonle, Musibau
To: m68HC11 (E-mail)
Sent: Friday, August 16, 2002 10:09 AM
Subject: [m68HC11] EEPROM protection Hello all,

This is for all you software guru.

Following is the problem:

I suspect that I'm having some data corruption problem to my EEPROM (EE)
and
I would like to do a checksum to verify data integrity during write and
read
of the EE. I know how to do a checksum, but my problem is how I go about
doing this. More specifically, where within my code (before read/write of
EE) do I do the checksum. Any other tips regarding protecting the
integrity
of EE will be appreciated.

One more question for anyone who can answer, which is less susceptible to
corruption NVRAM or EEPROM. My EEPROM is internal to 68HC11.

Regards,
Musibau Yahoo! Groups Sponsor
ADVERTISEMENT
To unsubscribe from this group, send an email to:





(You need to be a member of m68hc11 -- send a blank email to m68hc11-subscribe@yahoogroups.com )