ADUC832 Analog Devices, ADUC832 Datasheet - Page 46

no-image

ADUC832

Manufacturer Part Number
ADUC832
Description
Precision Analog Microcontroller: 1.3MIPS 8052 MCU + 62kB Flash + 8-Ch 12-Bit ADC + Dual 12-Bit DAC
Manufacturer
Analog Devices
Datasheet

Specifications of ADUC832

Mcu Core
8052
Mcu Speed (mips)
1.3
Sram (bytes)
2304Bytes
Gpio Pins
34
Adc # Channels
8
Other
PWM

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADUC832BCPZ-REEL
Manufacturer:
ADI
Quantity:
208
Part Number:
ADUC832BS
Manufacturer:
ADI
Quantity:
150
Part Number:
ADUC832BSZ
Manufacturer:
SONY
Quantity:
101
Part Number:
ADUC832BSZ
Manufacturer:
ADI
Quantity:
150
Part Number:
ADUC832BSZ
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ADUC832BSZ
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
ADUC832BSZ-REEL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
ADuC832
USING THE FLASH/EE PROGRAM MEMORY
The 62 kB Flash/EE program memory array is mapped into the
lower 62 kB of the 64 kB program space addressable by the
ADuC832, and is used to hold user code in typical applications.
The program memory Flash/EE memory arrays can be
programmed in three ways: serial downloading, parallel
programming, and user download mode.
Serial Downloading (In-Circuit Programming)
The ADuC832 facilitates code download via the standard
UART serial port. The ADuC832 enters serial download mode
after a reset or power cycle if the PSEN pin is pulled low
through an external 1 kΩ resistor. Once in serial download
mode, the user can download code to the full 62 kB of Flash/EE
program memory while the device is in-circuit in its target
application hardware.
A PC serial download executable is provided as part of the
ADuC832 QuickStart™ development system. The serial
download protocol is detailed in the MicroConverter uC004
Technical Note, Understanding the Serial Download Protocol.
Parallel Programming
The parallel programming mode is fully compatible with conven-
tional third-party Flash or EEPROM device programmers. In
this mode, Port P0, Port P1, and Port P2 operate as the external
data and address bus interface, ALE operates as the write enable
strobe, and Port P3 is used as a general configuration port that
configures the device for various program and erase operations
during parallel programming. The high voltage (12 V) supply
required for Flash programming is generated using on-chip
charge pumps to supply the high voltage program lines.
The complete parallel programming specification is available at
www.analog.com/microconverters, the MicroConverter home
page.
300
250
200
150
100
50
0
40
Figure 48. Flash/EE Memory Data Retention
50
T
J
60
JUNCTION TEMPERATURE (°C)
ADI SPECIFICATION
100 YEARS MIN.
AT T
70
J
= 55°C
80
90
100
110
Rev. A | Page 46 of 92
User Download Mode (ULOAD)
As shown in Figure 49, it is possible to use the 62 kB of
Flash/EE program memory available to the user as one single
block of memory. In this mode, all of the Flash/EE memory is
read only to user code.
However, the Flash/EE program memory can also be written to
during run time simply by entering ULOAD mode. In ULOAD
mode, the lower 56 kB of program memory can be erased and
reprogrammed by user software as shown in Figure 49. ULOAD
mode can be used to upgrade your code in the field via any user
defined download protocol. Configuring the SPI port on the
ADuC832 as a slave, it is possible to completely reprogram the
56 kB of Flash/EE program memory in only 5 seconds (see the
uC007 Technical Note, User Download (ULOAD) Mode).
Alternatively, ULOAD mode can be used to save data to the
56 kB of Flash/EE memory. This can be extremely useful in data
logging applications where the ADuC832 can provide up to
60 kB of NV data memory on chip (4 kB of dedicated Flash/EE
data memory also exist).
The upper 6 kB of the 62 kB of Flash/EE program memory is
only programmable via serial download or parallel programming.
This means that this space appears as read only to user code.
Therefore, it cannot be accidently erased or reprogrammed by
erroneous code execution. This makes it very suitable to use the
6 kB as a bootloader. A bootload enable option exists in the
serial downloader to always run from E000H after reset. If using
a bootloader, this option is recommended to ensure that the
bootloader always executes correct code after reset.
Programming the Flash/EE program memory via ULOAD
mode is described in more detail in the ECON—Flash/EE
Memory Control SFR section and in the uC007 Technical Note,
User Download (ULOAD) Mode.
62 kBYTES
PERMANENTLY EMBEDDED FIRMWARE ALLOWS
OF USER
MEMORY
62 kBYTES OF ON-CHIP PROGRAM MEMORY.
CODE
CODE TO BE DOWNLOADED TO ANY OF THE
THE KERNEL PROGRAM APPEARS AS 'NOP'
EMBEDDED DOWNLOAD/DEBUG KERNEL
Figure 49. Flash/EE Program Memory Map in ULOAD Mode
INSTRUCTIONS TO USER CODE.
DOWNLOAD/DEBUG MODE VIA THE
KERNEL BUT IS READ ONLY WHEN
SPACE CAN BE PROGRAMMED IN
EITHER THE DOWNLOAD/DEBUG
ULOAD MODE) CAN PROGRAM
KERNEL OR USER CODE (IN
USER BOOTLOADER SPACE
USER DOWNLOAD SPACE
THE USER BOOTLOADER
EXECUTING USER CODE
THIS SPACE.
56 kBYTE
2 kBYTE
6 kBYTE
DFFFH
FFFFH
F7FFH
E000H
F800H
0000H

Related parts for ADUC832