EVAL-ADUC842QSZ Analog Devices Inc, EVAL-ADUC842QSZ Datasheet - Page 33

no-image

EVAL-ADUC842QSZ

Manufacturer Part Number
EVAL-ADUC842QSZ
Description
Analog MCU Evaluation Board
Manufacturer
Analog Devices Inc
Series
QuickStart™ Kitr
Type
MCUr

Specifications of EVAL-ADUC842QSZ

Silicon Manufacturer
Analog Devices
Core Architecture
8052
Silicon Core Number
ADuC842
Tool / Board Applications
General Purpose MCU, MPU, DSP, DSC
Mcu Supported Families
ADUC8xx
Contents
Evaluation Board, Power Supply, Cable, Software and Documentation
Development Tool Type
Hardware - Eval/Demo Board
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
ADuC824
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
User Download Mode (ULOAD)
Figure 39 shows that it is possible to use the 62 kBytes of
Flash/EE program memory available to the user as a 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 runtime simply by entering ULOAD mode. In ULOAD
mode, the lower 56 kBytes of program memory can be erased and
reprogrammed by user software as shown in
mode can be used to upgrade your code in the field via any user
defined download protocol. By configuring the SPI port on the
part as a slave, it is possible to completely reprogram the
56 kBytes of Flash/EE program memory in only 5 seconds (refer
to Application Note uC007).
Alternatively, ULOAD mode can be used to save data to the
56 kBytes of Flash/EE memory. This can be extremely useful in
data logging applications where the part can provide up to
60 kBytes of NV data memory on chip (4 kBytes of dedicated
Flash/EE data memory also exist).
The upper 6 kBytes of the 62 kBytes of Flash/EE program
memory are programmable only via serial download or parallel
programming. This means that this space appears as read-only
to user code. Therefore, it cannot be accidentally erased or
reprogrammed by erroneous code execution, which makes it
very suitable to use the 6 kBytes 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 description of ECON and in Application Note uC007.
62 kBYTES
MEMORY
OF USER
PERMANENTLY EMBEDDED FIRMWARE ALLOWS
CODE
62 kBYTES OF ON-CHIP PROGRAM MEMORY.
CODE TO BE DOWNLOADED TO ANY OF THE
THE KERNEL PROGRAM APPEARS AS 'NOP'
Figure 39. Flash/EE Program Memory Map in ULOAD Mode
EMBEDDED DOWNLOAD/DEBUG KERNEL
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
USER DOWNLOADER SPACE
USER BOOTLOADER SPACE
KERNEL OR USER CODE (IN
THE USER BOOTLOADER
EXECUTING USER CODE
THIS SPACE
(62 kByte Part)
Figure 39
56kBYTE
2kBYTE
6kBYTE
dFFFH
FFFFH
0000H
F800H
F7FFH
E000H
.
ULOAD

Rev. 0 | Page 33 of 88
Flash/EE Program Memory Security
The ADuC841/ADuC842/ADuC843 facilitate three modes of
Flash/EE program memory security. These modes can be
independently activated, restricting access to the internal code
space. These security modes can be enabled as part of serial
download protocol as described in Application Note uC004 or
via parallel programming. The security modes available on the
parts are as follows:
Lock Mode
This mode locks the code memory, disabling parallel program-
ming of the program memory. However, reading the memory in
parallel mode and reading the memory via a MOVC command
from external memory is still allowed. This mode is deactivated
by initiating a code-erase command in serial download or
parallel programming modes.
Secure Mode
This mode locks code in memory, disabling parallel program-
ming (program and verify/read commands) as well as disabling
the execution of a MOVC instruction from external memory,
which is attempting to read the op codes from internal memory.
Read/write of internal data Flash/EE from external memory is
also disabled. This mode is deactivated by initiating a code-erase
command in serial download or parallel programming modes.
Serial Safe Mode
This mode disables serial download capability on the device. If
serial safe mode is activated and an attempt is made to reset the
part into serial download mode, i.e., RESET asserted and de-
asserted with PSEN low, the part interprets the serial download
reset as a normal reset only. It therefore cannot enter serial
download mode but can only execute as a normal reset
sequence. Serial safe mode can be disabled only by initiating a
code-erase command in parallel programming mode.
32 kBYTES
OF USER
MEMORY
PERMANENTLY EMBEDDED FIRMWARE ALLOWS
CODE
32 kBYTES OF ON-CHIP PROGRAM MEMORY.
CODE TO BE DOWNLOADED TO ANY OF THE
THE KERNEL PROGRAM APPEARS AS 'NOP'
Figure 40. Flash/EE Program Memory Map in ULOAD Mode
EMBEDDED DOWNLOAD/DEBUG KERNEL
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
USER DOWNLOADER SPACE
USER BOOTLOADER SPACE
KERNEL OR USER CODE (IN
THE USER BOOTLOADER
EXECUTING USER CODE
ADuC841/ADuC842/ADuC843
THIS SPACE
(32 kByte Part)
26kBYTE
2kBYTE
8kBYTE
5FFFH
FFFFH
0000H
F800H
F7FFH
NOP'S
7FFFH
6000H
8000H


Related parts for EVAL-ADUC842QSZ