4 special functions, 1 – urom_copyword, 2 – software reset – Maxim Integrated DS4830A Optical Microcontroller User Manual
Page 237
DS4830A User’s Guide
237
25.4 Special Functions
The DS4830A provides software reset and read single word functions.
25.4. 1 – UROM_copyWord
Function
UROM_copyWord
Summary
1 word DP[0] to A[0].
Inputs
DP[0]: Starting address to copy from.
Outputs
A[0]
Destroys
A[0], DP[0]
UROM
Address
885Bh
Notes:
•
This function can be used to copy a word from program flash to data RAM, or from one part of data RAM to
another.
• Before calling this function, DPC should be set appropriately to configure DP[0] for byte or word mode.
• The addresses passed to this function should be based on the data memory mapping for the utility ROM, as
shown in Figure 25-1. When a byte mode address is used, CDA0 must be set appropriately to access either
the upper or lower half of program flash memory.
• This function automatically selects the data pointers before reading the byte/word values.
25.4. 2 – Software Reset
UROM has necessary code at the location 8854h which can generate an internal reset when application
software jumps to this location.