English
Language : 

ADUC7124_14 Datasheet, PDF (49/110 Pages) Analog Devices – Precision Analog Microcontroller, 12-Bit Analog I/O, Large Memory, ARM7TDMI MCU with Enhanced IRQ Handler
Data Sheet
ADuC7124/ADuC7126
Table 54. FEExMOD MMR Bit Descriptions
Bit
Description
[7:5]
Reserved.
4
Flash/EE interrupt enable.
Set by the user to enable the Flash/EE interrupt. The interrupt occurs when a command is complete.
Cleared by the user to disable the Flash/EE interrupt.
3
Erase/write command protection.
Set by the user to enable the erase and write commands.
Cleared to protect the Flash/EE memory against the erase/write command.
2
Reserved. Should always be set to 0 by the user.
[1:0]
Flash/EE wait states. Both Flash/EE blocks must have the same wait state value for any change to take effect.
Table 55. Command Codes in FEExCON
Code Command Description
0x001 Null
Idle state.
0x011 Single read Load FEExDAT with the 16-bit data indexed by FEExADR.
0x021 Single write Write FEExDAT at the address pointed to by FEExADR. This operation takes 50 µs.
0x031
Erase/write
Erase the page indexed by FEExADR and write FEExDAT at the location pointed to by FEExADR. This operation
takes 20 ms.
0x041
Single verify Compare the contents of the location pointed to by FEExADR to the data in FEExDAT. The result of the
comparison is returned in FEExSTA, Bit 1.
0x051 Single erase Erase the page indexed by FEExADR.
0x061 Mass erase
Erase user space. The 2 kB of kernel are protected in Block 0. This operation takes 2.48 sec. To prevent accidental
execution, a command sequence is required to execute this instruction.
0x07 Reserved
Reserved.
0x08 Reserved
Reserved.
0x09 Reserved
Reserved.
0x0A Reserved
Reserved.
0x0B Signature
Gives a signature of the 64 kB of Flash/EE in the 24-bit FEExSIGN MMR. This operation takes 32,778 clock cycles.
0x0C Protect
This command can be run only once. The value of FEExPRO is saved and can be removed only with a mass erase
(0x06) or with the key.
0x0D Reserved
Reserved.
0x0E Reserved
Reserved.
0x0F Ping
No operation, interrupt generated.
1 The FEExCON register always reads 0x07 immediately after execution of any of these commands.
Rev. D | Page 49 of 110