EasyManuals Logo

Abov MC96F8204 Series User Manual

Abov MC96F8204 Series
212 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #158 background imageLoading...
Page #158 background image
158
MC96F8204
ABOV Semiconductor Co., Ltd.
The CRC operation procedure in User CRC/Checksum mode
1. Select User CRC/Checksum Mode and CRC
2. Clear Flash CRC data register(FCDRH/FCDRL)
3. Read data from the Flash ROM
4. Write the data to FCDIN Register
5. Read the CRC result
Program Tip User CRC/Checksum mode
unsigned char code *rom_addr=0x0000;
unsigned int i=0;
FCCR |= _1000_0000; // Flash CRC User CRC/Checksum Mode
FCCR &= _1101_1111; // Flash CRC CRC Mode
FCCR |= _0100_0000; // Flash CRC data register clear
for(i=0x0000; i <= 0x3FFF; i++) // 0000H~3FFFH
{
FCDIN = rom_addr[i];
WDTCR |= _0010_0000; // Clear WDT counter
}
//**** Read CRC result
Temp0 = FCDRH;
Temp1 = FCDRL;

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Abov MC96F8204 Series and is the answer not in the manual?

Abov MC96F8204 Series Specifications

General IconGeneral
BrandAbov
ModelMC96F8204 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals