PG-FP5 APPENDIX B SUPPLEMENTARY INFORMATION
R20UT0008EJ0400 Rev. 4.00 Page 217 of 240
Jul 15, 2010
Figure B-3. Log File Example
-----------------------------
Thu Aug 02 14:11:46 2007
------Start record file------
>ep
Blank check Chip:
ERROR(E051): Not blank, Erase
needed.
Erase Chip:
PASS
Program Chip:
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
PASS
Erase,Program operation
finished.
>
------End record file------
>
Thu Aug 02 14:12:03 2007
---------------------------
Figure 0-1. Division (Original) Calculation Specifications
#define BLOCKSIZ 256
/* You have to store 1-Block ROM data. */
unsigned char rom_data[BLOCKSIZ];
unsigned char
bist_calc()
{
int i;
unsigned short bist, bist_temp;
bist = 0;
for(i = 0; i < BLOCKSIZ; i++){
bist_temp = bist & 0x1;
bist_temp = (bist_temp << 8) | (bist_temp << 9) |
(bist_temp << 11) | (bist_temp << 12);
bist = (bist >> 1) ^ rom_data[i] ^ bist_temp;
}
return((unsigned char)bist);
}