EVAL-ADUC836QS AD [Analog Devices], EVAL-ADUC836QS Datasheet - Page 30

no-image

EVAL-ADUC836QS

Manufacturer Part Number
EVAL-ADUC836QS
Description
MicroConverter, Dual 16-Bit ADCs with Embedded 62 kB Flash MCU
Manufacturer
AD [Analog Devices]
Datasheet
Flash/EE Program Memory
The ADuC836 contains a 64 Kbyte array of Flash/EE program
memory. The lower 62 Kbytes of this program memory are avail-
able to the user, and can be used for program storage or indeed
as additional NV data memory.
The upper 2 Kbytes of this Flash/EE program memory array con-
tain permanently embedded fi rmware, allowing in-circuit serial
down load, serial debug, and nonintrusive single pin em u la tion.
These 2 Kbytes of embedded fi rmware also contain a pow er-on
confi guration routine that downloads factory cal i brat ed co ef fi -
cients to the various calibrated peripherals (ADC, tem per a ture
sensor, current sources, band gap references, and so on).
This 2 Kbyte embedded fi rmware is hidden from user code.
Attempts to read this space will read 0s, i.e., the embedded fi rm-
ware appears as NOP instructions to user code.
In normal operating mode (power-up default), the 62 Kbytes of
user Flash/EE program memory appear as a single block. This
block is used to store the user code, as shown in Figure 17.
In Normal mode, the 62 Kbytes of Flash/EE program memory
can be programmed by serial downloading or parallel processing:
(1) Serial Downloading (In-Circuit Programming)
The ADuC836 facilitates code download via the standard UART
serial port. The ADuC836 will enter Serial Download mode after
a reset or power cycle if the
external 1 k resistor. Once in serial download mode, the hidden
embedded download kernel will execute. This allows the user to
download code to the full 62 Kbytes of Flash/EE program memo-
ry while the device is in circuit in its target ap pli ca tion hardware.
A PC serial download executable is provided as part of the
ADuC836 QuickStart development system. Application Note
uC004 fully describes the serial download protocol that is used
by the embedded download kernel. This Application Note is
available at www.analog.com/microconverter.
ADuC836
Figure 17. Flash/EE Program Memory Map in Normal Mode
PERMANENTLY EMBEDDED FIRMWARE ALLOWS CODE
ON-CHIP PROGRAM MEMORY. THE KERNEL PROGRAM
TO BE DOWNLOADED TO ANY OF THE 62 KBYTES OF
AVAILABLE TO THE USER. ALL OF THIS SPACE CAN
APPEARS AS ‘NOP’ INSTRUCTIONS TO USER CODE.
62 KBYTES OF FLASH/EE PROGRAM MEMORY IS
EMBEDDED DOWNLOAD/DEBUG KERNEL OR IN
BE PROGRAMMED FROM THE PERMANENTLY
EMBEDDED DOWNLOAD/DEBUG KERNEL
PARALLEL PROGRAMMING MODE.
USER PROGRAM MEMORY
pin is pulled low through an
62 KBYTE
2 KBYTE
FFFFH
F800H
F7FFH
0000H
–30–
(2) Parallel Programming
The Parallel Programming mode is fully compatible with con-
ven tion al third party Flash or EEPROM device programmers.
A block diagram of the external pin confi guration required to
support parallel programming is shown in Figure 18. In this mode,
Ports 0 and 2 operate as the external address bus in ter face, P3
operates as the external data bus interface, and P1.0 operates as
the Write Enable strobe. Port 1.1, P1.2, P1.3, and P1.4 are used
as a general confi guration port that confi gures the device for vari-
ous program and erase operations during parallel programming.
P1.4
0
1
1
0
1
0
1
1
All other codes
Table XIII. Flash/EE Memory Parallel Programming Modes
SEQUENCE
PROGRAM MODE
(SEE TABLE XIII)
Figure 18. Flash/EE Memory Parallel Programming
ENTRY
Port 1 Pins
P1.3
0
0
0
0
0
0
1
1
COMMAND
ENABLE
GND
GND
V
DD
P1.2
0
0
1
1
1
1
0
0
5V
0
1
0
0
1
1
0
1
P1.1
P1.1 -> P1.4
P1.0
RESET
V
GND
DD
ADuC836
Programming Mode
Erase Flash/EE Program,
Data, and Se cu ri ty Modes
Read Device Signature/ID
Program Code Byte
Program Data Byte
Read Code Byte
Read Data Byte
Program Security Modes
Read/Verify Security Modes
Redundant
P1.5 -> P1.7
P0
P3
P2
PROGRAM
DATA
(D0–D7)
PROGRAM
ADDRESS
(A0–A13)
(P2.0 = A0)
(P1.7 = A13)
TIMING
REV. 0

Related parts for EVAL-ADUC836QS