Cypress manual CY7C601xx, CY7C602xx, eg ti

Models: CY7C601xx CY7C602xx

1 68
Download 68 pages 62.39 Kb
Page 20
Image 20
eg ti

CY7C601xx, CY7C602xx

Figure 11-3. SROM Table

 

F8h

F9h

FAh

 

 

 

FBh

FCh

FDh

FEh

FFh

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 0

Silicon ID

Silicon ID

 

 

 

 

 

 

 

 

 

 

[15-8]

[7-0]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Family /

Revision

Op

Va

 

 

 

 

Table 1

 

l

 

 

 

 

Die ID

ID

R

e

id

 

 

 

 

 

ra

 

 

 

 

 

 

 

 

 

eg ti

 

 

 

 

 

 

 

 

 

 

ong

 

 

 

 

 

 

 

 

 

 

i

 

 

 

 

 

Table 2

 

 

 

 

 

n

 

24 MHz

24 MHz

24 MHz

24 MHz

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IOSCTR

IOSCTR

IOSCTR

IOSCTR

 

 

 

 

 

 

 

 

 

at 3.30V

at 3.00V

at 2.85V

at 2.70V

 

 

 

 

 

 

 

 

 

 

 

 

Table 3

32 KHz

32 KHz

32 KHz

 

 

 

32 KHz

 

 

 

 

LPOSCTR

LPOSCTR

LPOSCTR LPOSCTR

 

 

 

 

 

at 3.30V

at 3.00V

at 2.85V

 

 

at 2.70V

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

11.6.1 Checksum Function

The Checksum function calculates a 16-bit checksum over a user specifiable number of blocks, within a single Flash macro (Bank) starting from block zero. The BLOCKID parameter is used to pass in the number of blocks to calculate the checksum over. A BLOCKID value of ‘1’ calculates the checksum of only block 0, while a BLOCKID value of ‘0’ calculates the checksum of all 256 user blocks. The 16-bit checksum is returned in KEY1 and KEY2. The parameter KEY1 holds the lower eight bits of the checksum and the parameter KEY2 holds the upper eight bits of the checksum.

The checksum algorithm executes the following sequence of three instructions over the number of blocks times 64 to be checksummed.

romx

add [KEY1], A adc [KEY2], 0

Table 11-12. Checksum Parameters

Name

Address

Description

KEY1

0,F8h

3Ah

 

 

 

KEY2

0,F9h

Stack Pointer value when SSC is

 

 

executed

BLOCKID

0,FAh

Number of Flash blocks to calculate

 

 

checksum on

Document 38-16016 Rev. *E

Page 20 of 68

[+] Feedback

Page 20
Image 20
Cypress manual CY7C601xx, CY7C602xx, eg ti