CCAux
2.20.0.0
CCAux API reference
|
Functions | |
EXTERN_C CCAUXDLL_API FIRMWAREUPGHANDLE CCAUXDLL_CALLING_CONV | GetFirmwareUpgrade (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | FirmwareUpgrade_release (FIRMWAREUPGHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startFpgaUpgrade (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startFpgaVerification (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startSSUpgrade (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startSSVerification (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startFrontUpgrade (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startFrontVerification (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startIOMCUUpgrade (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking, uint8_t index) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startIOMCUVerification (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking, uint8_t index) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startDMCUUpgrade (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking, uint8_t index) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startDMCUVerification (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking, uint8_t index) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_getUpgradeStatus (FIRMWAREUPGHANDLE, UpgradeStatus *status, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_shutDown (FIRMWAREUPGHANDLE) |
Functions in the FirmwareUpgrade class
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_getUpgradeStatus | ( | FIRMWAREUPGHANDLE | , |
UpgradeStatus * | status, | ||
bool | blocking | ||
) |
Gets the status of an upgrade operation. The upgrade status is common for all upgrade and verification methods.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700, Yukon, V510, V710, V1000, V1200
status | The current status of the upgrade operation. |
blocking | Whether or not the function should wait until a new status event has been reported. If blocking is set to false, the function will return immediately with the current status. |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_release | ( | FIRMWAREUPGHANDLE | ) |
Delete the FirmwareUpgrade object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700, Yukon, V510, V710, V1000, V1200
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_shutDown | ( | FIRMWAREUPGHANDLE | ) |
Shut down the operating system.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700, Yukon, V510, V710, V1000, V1200
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startDMCUUpgrade | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking, | ||
uint8_t | index | ||
) |
Start an upgrade of the display microprocessor. After a display upgrade, the system should be shut down. The Display will not work until a fresh startup has been performed.
Supported Platform(s): Yukon, V510, V710, V1000, V1200
filename | Path and filename to the .hex file to program. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call fpgaUpgradeStatus to get the status of the upgrade operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
index | Device can has more than one Display MCU. This is the index which device to upgrade |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startDMCUVerification | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking, | ||
uint8_t | index | ||
) |
Start a verification of the display microprocessor. Verifies the display microprocessor against the file to program. This could be useful if verification during programming fails.
Supported Platform(s): Yukon, V510, V710, V1000, V1200
filename | Path and filename to the .hex file to verify against. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call getUpgradeStatus to get the status of the operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
index | Device can has more than one Display MCU. This is the index which device to verify |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startFpgaUpgrade | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking | ||
) |
Start an upgrade of the FPGA. After a FPGA upgrade, the system should be shut down. Full functionality of the system cannot be guaranteed until a fresh startup has been performed.
Supported Platform(s): XL, XM, XS, XA, VS
filename | Path and filename to the .mcs file to program. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call getUpgradeStatus to get the status of the upgrade operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startFpgaVerification | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking | ||
) |
Start a verification of the FPGA. Verifies the FPGA against the file to program. This could be useful if verification during programming fails.
Supported Platform(s): XL, XM, XS, XA, VS
filename | Path and filename to the .mcs file to verify against. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call getUpgradeStatus to get the status of the operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startFrontUpgrade | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking | ||
) |
Start an upgrade of the front microprocessor. After a front upgrade, the system should be shut down. The front will not work until a fresh startup has been performed.
Supported Platform(s): XL, XM, XS, XA
filename | Path and filename to the .hex file to program. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call fpgaUpgradeStatus to get the status of the upgrade operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startFrontVerification | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking | ||
) |
Start a verification of the front microprocessor. Verifies the front microprocessor against the file to program. This could be useful if verification during programming fails.
Supported Platform(s): XL, XM, XS, XA
filename | Path and filename to the .hex file to verify against. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call getUpgradeStatus to get the status of the operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startIOMCUUpgrade | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking, | ||
uint8_t | index | ||
) |
Start an upgrade of the i/o microprocessor. After a display upgrade, the system should be shut down. The Display will not work until a fresh startup has been performed.
Supported Platform(s): Yukon, V510, V710
filename | Path and filename to the .hex file to program. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call fpgaUpgradeStatus to get the status of the upgrade operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
index | Device can has more than one I/O MCU. This is the index which device to upgrade |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startIOMCUVerification | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking, | ||
uint8_t | index | ||
) |
Start a verification of the i/o microprocessor. Verifies the display microprocessor against the file to program. This could be useful if verification during programming fails.
Supported Platform(s): Yukon, V510, V710
filename | Path and filename to the .hex file to verify against. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call getUpgradeStatus to get the status of the operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
index | Device can has more than one I/O MCU. This is the index which device to verify |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startSSUpgrade | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking | ||
) |
Start an upgrade of the System Supervisor microprocessor (SS). After an SS upgrade, the system must be shut down. The SS handles functions for shutting down of the computer. In order to shut down after an upgrade, shut down the OS and then toggle the power. The backlight will still be on after the OS has shut down.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700, Yukon, V510, V710, V1000, V1200
filename | Path and filename to the .hex file to program. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call fpgaUpgradeStatus to get the status of the upgrade operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startSSVerification | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking | ||
) |
Start a verification of the System Supervisor microprocessor (SS). Verifies the SS against the file to program. This could be useful if verification during programming fails.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700, Yukon, V510, V710, V1000, V1200
filename | Path and filename to the .hex file to verify against. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call getUpgradeStatus to get the status of the operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API FIRMWAREUPGHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetFirmwareUpgrade | ( | void | ) |
Factory function that creates instances of the FirmwareUpgrade object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700, Yukon, V510, V710, V1000, V1200
Example Usage: