Cyclone Automated Control Package
29
4.4.4 dynamic_read_bytes
function dynamic_read_bytes(cyclonepromaxhandle : longword;
target_address : longword; data_length: word; buffer: pointer)
: boolean;
bool dynamic_read_bytes(unsigned long cyclonepromaxhandle,
unsigned long target_address, unsigned short data_length,
char *buffer);
bool dynamic_read_bytes(UInt32 cyclonepromaxhandle, UInt32
target_address, UInt16 data_length, byte [ ] buffer);
Reads a specified number of bytes from a specified memory address of
the target processor. This call is only valid after performing a
“START_execute_all_commands” function.
@param
cyclonepromaxhandle
The handle of the Cyclone unit that will
perform the dynamic read.
@param target_address
The first memory address of the target
processor where the data will be read.
@param data_length
The number of total bytes to read from the
target processor
@param buffer
A pointer to the array where the data read
will be stored. This array must have been
allocated prior to calling this routine.
@returnvalue
True if the data was successfully read
False otherwise