
EM4469
Copyright
2003, EM Microelectronic-Marin SA
8
www.emmicroelectronic.com
Command code structure:
cc
0
cc
1
cc
2
P
Address structure:
A
0
A
1
A
2
A
3
"0"
"0"
P
Data structure:
D
0
D
8
D
16
D
24
PC
0
D
1
D
9
D
17
D
25
PC
1
D
2
D
10
D
18
D
26
PC
2
D
3
D
11
D
19
D
27
PC
3
D
4
D
12
D
20
D
28
PC
4
D
5
D
13
D
21
D
29
PC
5
D
6
D
14
D
22
D
30
PC
6
D
7
D
15
D
23
D
31
PC
7
P
0
P
1
P
2
P
3
"0"
There are four commands implemented:
Login, Write Word, Read Word and Disable.
cc
0
- cc
2
001
010
100
101
P
1
1
1
0
Command
Login
Write Word
Read Word
Disable
Login Command
Sending login command is necessary before sending any
password protected command. In Login command a 32
bit password including parity bits is sent as command
parameter. The 32 bit password is sent according to Data
structure defined above (45 bits including parity). In the
case the parity bits are correct and 32 bit password sent
matches with content of word 2 a login flag is set.
Login flag is set until next power-up, which means that
Login command has to be sent only once after power up
to enable execution of password protected commands.
In case Login command is successfully processed IC
responds with preamble pattern (00001010) and returns
in Default Read mode.
In case the Login is not accepted (wrong password or
error in parity) a pattern 00000001 is sent and IC returns
in Default Read mode.
Write Word Command
In Write Word command first the 4 bit word address is
sent followed by 32 bit data. In the case command is
correctly processed IC first checks if the login flag is set
(for the case writing is password protected), if addressed
word is not write protected and if there is enough power
to write EEPROM. In case all these conditions are
fulfilled and there is no parity error EEPROM is written.
After EEPROM is written the Configuration word is
reloaded from EEPROM, a preamble pattern (00001010)
is sent and chip returns in Default Read mode.
Loading of Configuration word is useful for the case the
Configuration word has just been changed so that new
settings are loaded.
In the case a Read-after-write bit is set the word just
written is sent after the preamble pattern. Response is
equivalent to the response of Read Word command.
In case the Write Word command is not accepted (error
in parity or at least one of the checks failed) a
pattern 00000001 is sent and IC returns in Default Read
mode.
Read Word Command
In read word command the four bit word address is sent
as command parameter. In the case command is
correctly processed IC first checks if the login flag is set
in the case reading is password protected. In case
readout is authorised a preamble pattern (00001010)
followed by content of 32 bit word is sent. Please note
that the 32 bit data is sent in Command data structure
format (45 bits including parity bits) which is not the same
as in Default Read where only the data from EEPROM is
read.
In case the Read Word command is not accepted (parity
error, password protection or reading from address 2) a
pattern 00000001 is sent and IC returns in Default Read
mode.
Disable Command
Disable command is accepted in the case Disable bit of
configuration word is set to 1.
In Disable command an all-1 data field is sent as
command parameter (45 bits including parity bits, where
parity bits are all 0). Command structure is therefore
similar to Login command.
When this command is detected chip stops all operations
until next power-up.
In case the Disable command is not accepted (Disable
bit set to 0, parity error or some other data then all-1) a
pattern 00000001 is sent and IC returns in Default Read
mode.
Error during Command Detection
In case a command code which is not supported or a
command parity bit error are detected the IC exits
command processing and returns in Default Read mode
without sending any message.