User Manual For Cyclone LC Programmers
84
This function reads the firmware version of the selected Cyclone.
8.2.4.6.2 cycloneSpecialFeatures
bool cycloneSpecialFeatures(uint32_t featureNum, bool setFeature, uint32_t
paramValue1, uint32_t paramValue2, uint32_t paramValue3, void *paramReference1,
void *paramReference2);
This function is used for executing special features described by the featureNum parameter. Refer
to the parameter specifications below for details.
@parameter cycloneHandle
The handle of the Cyclone of which to read the firmware version.
@returnvalue
Returns a pointer to a null-terminated character string containing
the firmware version.
@parameter featureNum
CYCLONE_GET_IMAGE_DESCRIPTION_FROM_FILE
@parameter setFeature
Indicates whether the image file has been decoded.
If previous operations has already decoded the file,
then set it to true. Otherwise set it to false.
@parameter paramValue1
Ignored, set it to 0.
@parameter paramValue2
Ignored, set it to 0.
@parameter paramValue3
Ignored, set it to 0.
@parameter paramReference1
A pointer to a pointer to a null-terminated character
string that contains the image description of the SAP
file.
@parameter paramReference2
A pointer to a null-terminated character string which
contains the full path to the specified SAP file.
@returnvalue
True if the image description was read
False otherwise
@parameter featureNum
CYCLONE_GET_IMAGE_CRC32_FROM_FILE
@parameter setFeature
Indicates whether the image file has been decoded.
If previous operations has already decoded the file,
then set it to true. Otherwise set it to false.
@parameter paramValue1
Ignored, set it to 0.
@parameter paramValue2
Ignored, set it to 0.
@parameter paramValue3
Ignored, set it to 0.
@parameter paramReference1
A pointer to an unsigned 32-bit value containing the
CRC32 of the SAP file.