P&E CYCLONE FX User Manual page 65

Table of Contents

Advertisement

Checks to see if the Cyclone has completed a programming operation started with either the
"startImageExecution" or "startDynamicDataProgram" functions.
After this function returns with completed value, "getLastErrorCode" should be called to determine
the programming result. A result of 0 will be returned even if a programming error has occurred or
if communication with the Cyclone is lost.
@parameter cycloneHandle
@returnvalue
8.2.4.4.4 dynamicReadBytes
bool dynamicReadBytes(uint32_t cycloneHandle, uint32_t targetAddress, uint16_t
dataLength, char *buffer);
This function reads a specified number of bytes from a specified memory address of the target
processor. This call is only valid after first having made a call to the "startImageExecution" function
in the sequence of commands.
@parameter cycloneHandle
@parameter targetAddress
@parameter dataLength
@parameter buffer
@returnvalue
8.2.4.4.5 getNumberOfErrors
uint32_t getNumberOfErrors(uint32_t cycloneHandle);
This function returns a count of all the errors recorded in the DLL and in the Cyclone.
@parameter cycloneHandle
@returnvalue
8.2.4.4.6 getErrorCode
uint32_t getErrorCode(uint32_t cycloneHandle, uint32_t errorNum);
This function returns the specified error code recorded in the DLL or in the Cyclone.
@parameter cycloneHandle
@parameter errorNum
User Manual For CYCLONE
The handle of the Cyclone to perform a status check on.
1 = Currently programming
0 = Completed (with or without error)
The handle of the Cyclone that will perform the dynamic read.
The first memory address of the target processor where the
data will be read.
The number of total bytes to read from the target processor
A pointer to the array where the data read will be stored. This
array must have been allocated prior to calling this function.
True if the data was successfully read
False otherwise
The handle of the Cyclone to get a count of the errors.
The number of errors in the DLL and in the Cyclone.
The handle of the Cyclone to retrieve the error code.
If getNumberOfErrors is greater than 1, this specifies the error
number.
FX
Programmers
60

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading
Need help?

Need help?

Do you have a question about the CYCLONE FX and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents