![]() |
AJA NTV2 SDK
18.1.0.2262
NTV2 SDK 18.1.0.2262
|
#include <ntv2konaflashprogram.h>
Public Member Functions | |
| CNTV2KonaFlashProgram (CNTV2Card &card) | |
| virtual | ~CNTV2KonaFlashProgram () |
| virtual bool | SetBoard (uint32_t index=0) |
| virtual CNTV2Card & | device (void) const |
| bool | ReadHeader (FlashBlockID flashBlock) |
| bool | SetBitFile (const std::string &inBitfileName, std::ostream &outMsgs, const FlashBlockID blockNumber=AUTO_FLASHBLOCK) |
| std::string | Program (bool fullVerify=(0)) |
| bool | ProgramCustom (const std::string &sCustomFileName, const uint32_t addr, std::ostream &outMsgs) |
| bool | ProgramKonaxMB (const std::string &sCustomFileName, const uint32_t addr, std::ostream &outMsgs) |
| bool | EraseBlock (FlashBlockID blockNumber) |
| bool | EraseChip (UWord chip=0) |
| bool | CreateSRecord (bool bChangeEndian) |
| bool | CreateEDIDIntelRecord () |
| void | SetQuietMode () |
| bool | VerifyFlash (FlashBlockID flashBlockNumber, bool fullVerify=(0)) |
| bool | ReadFlash (NTV2Buffer &outBuffer, const FlashBlockID flashID, CNTV2FlashProgress &inFlashProgress=CNTV2FlashProgress::nullUpdater) |
| bool | SetBankSelect (BankSelect bankNumber) |
| bool | SetFlashBlockIDBank (FlashBlockID blockID) |
| bool | ROMHasBankSelect () |
| uint32_t | ReadBankSelect () |
| bool | IsInstalledFWRunning (bool &outIsRunning, std::ostream &outErrorMsgs) |
| bool | WriteCommand (_FLASH_COMMAND inCommand) |
| std::string | GetDesignName (void) const |
| std::string | GetPartName (void) const |
| std::string | GetDate (void) const |
| std::string | GetTime (void) const |
| const NTV2BitfileHeaderParser & | Parser (void) const |
| uint32_t | GetNumBytes (void) const |
| bool | CreateBankRecord (BankSelect bankID) |
| bool | ProgramMACAddresses (MacAddr *mac1, MacAddr *mac2) |
| bool | ReadMACAddresses (MacAddr &mac1, MacAddr &mac2) |
| bool | ProgramLicenseInfo (const std::string &licenseString) |
| bool | ReadLicenseInfo (std::string &licenseString) |
| void | DisplayData (const uint32_t address, const uint32_t len) |
| bool | ProgramInfoFromString (std::string infoString) |
| bool | FullProgram (std::vector< uint8_t > &dataBuffer) |
| bool | WaitForFlashNOTBusy () |
| bool | ProgramFlashValue (uint32_t address, uint32_t value) |
| bool | FastProgramFlash256 (uint32_t address, uint32_t *buffer) |
| bool | EraseSector (uint32_t sectorAddress) |
| bool | CheckFlashErasedWithBlockID (FlashBlockID flashBlockNumber) |
| uint32_t | ReadDeviceID () |
| bool | SetDeviceProperties () |
| void | DetermineFlashTypeAndBlockNumberFromFileName (const std::string &bitFileName) |
| uint32_t | GetSectorAddressForSector (FlashBlockID flashBlockNumber, uint32_t sectorNumber) |
| uint32_t | GetBaseAddressForProgramming (FlashBlockID flashBlockNumber) |
| uint32_t | GetNumberOfSectors (FlashBlockID flashBlockNumber) |
| bool | SetWarmBootFirmwareReload (bool enable) |
Static Public Member Functions | |
| static std::string | FlashBlockIDToString (const FlashBlockID inID, const bool inShortDisplay=(0)) |
Protected Attributes | |
| CNTV2Card & | _card |
| NTV2Buffer | _bitFileBuffer |
| uint8_t * | _customFileBuffer |
| uint32_t | _bitFileSize |
| NTV2BitfileHeaderParser | _parser |
| std::string | _bitFileName |
| std::string | _mcsInfo |
| uint32_t | _spiDeviceID |
| uint32_t | _flashSize |
| uint32_t | _bankSize |
| uint32_t | _sectorSize |
| uint32_t | _mainOffset |
| uint32_t | _failSafeOffset |
| uint32_t | _macOffset |
| uint32_t | _mcsInfoOffset |
| uint32_t | _licenseOffset |
| uint32_t | _soc1Offset |
| uint32_t | _soc2Offset |
| uint32_t | _numSectorsMain |
| uint32_t | _numSectorsSOC1 |
| uint32_t | _numSectorsSOC2 |
| uint32_t | _numSectorsFailSafe |
| uint32_t | _numBytes |
| FlashBlockID | _flashID |
| uint32_t | _deviceID |
| bool | _bQuiet |
| std::vector< uint8_t > | _partitionBuffer |
| uint32_t | _failSafePadding |
| CNTV2SpiFlash * | _spiFlash |
| bool | _hasExtendedCommandSupport |
Definition at line 45 of file ntv2konaflashprogram.h.
| CNTV2KonaFlashProgram::CNTV2KonaFlashProgram | ( | CNTV2Card & | card | ) |
Definition at line 70 of file ntv2konaflashprogram.cpp.
|
virtual |
Definition at line 99 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::CheckFlashErasedWithBlockID | ( | FlashBlockID | flashBlockNumber | ) |
Definition at line 845 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::CreateBankRecord | ( | BankSelect | bankID | ) |
Definition at line 980 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::CreateEDIDIntelRecord | ( | ) |
Definition at line 1068 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::CreateSRecord | ( | bool | bChangeEndian | ) |
Definition at line 880 of file ntv2konaflashprogram.cpp.
| void CNTV2KonaFlashProgram::DetermineFlashTypeAndBlockNumberFromFileName | ( | const std::string & | bitFileName | ) |
Definition at line 446 of file ntv2konaflashprogram.cpp.
|
inlinevirtual |
Definition at line 54 of file ntv2konaflashprogram.h.
| void CNTV2KonaFlashProgram::DisplayData | ( | const uint32_t | address, |
| const uint32_t | len | ||
| ) |
Definition at line 2228 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::EraseBlock | ( | FlashBlockID | blockNumber | ) |
Definition at line 625 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::EraseChip | ( | UWord | chip = 0 | ) |
Definition at line 682 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::EraseSector | ( | uint32_t | sectorAddress | ) |
Definition at line 673 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::FastProgramFlash256 | ( | uint32_t | address, |
| uint32_t * | buffer | ||
| ) |
Definition at line 598 of file ntv2konaflashprogram.cpp.
|
static |
Definition at line 53 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::FullProgram | ( | std::vector< uint8_t > & | dataBuffer | ) |
Definition at line 2266 of file ntv2konaflashprogram.cpp.
|
inline |
Definition at line 104 of file ntv2konaflashprogram.h.
|
inline |
Definition at line 76 of file ntv2konaflashprogram.h.
|
inline |
Definition at line 74 of file ntv2konaflashprogram.h.
|
inline |
Definition at line 120 of file ntv2konaflashprogram.h.
|
inline |
Definition at line 79 of file ntv2konaflashprogram.h.
|
inline |
Definition at line 75 of file ntv2konaflashprogram.h.
|
inline |
Definition at line 99 of file ntv2konaflashprogram.h.
|
inline |
Definition at line 77 of file ntv2konaflashprogram.h.
| bool CNTV2KonaFlashProgram::IsInstalledFWRunning | ( | bool & | outIsRunning, |
| std::ostream & | outErrorMsgs | ||
| ) |
Definition at line 139 of file ntv2konaflashprogram.cpp.
|
inline |
Definition at line 78 of file ntv2konaflashprogram.h.
| string CNTV2KonaFlashProgram::Program | ( | bool | fullVerify = (0) | ) |
Definition at line 517 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::ProgramCustom | ( | const std::string & | sCustomFileName, |
| const uint32_t | addr, | ||
| std::ostream & | outMsgs | ||
| ) |
Definition at line 1958 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::ProgramFlashValue | ( | uint32_t | address, |
| uint32_t | value | ||
| ) |
Definition at line 586 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::ProgramInfoFromString | ( | std::string | infoString | ) |
| bool CNTV2KonaFlashProgram::ProgramKonaxMB | ( | const std::string & | sCustomFileName, |
| const uint32_t | addr, | ||
| std::ostream & | outMsgs | ||
| ) |
Definition at line 2120 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::ProgramLicenseInfo | ( | const std::string & | licenseString | ) |
Definition at line 1317 of file ntv2konaflashprogram.cpp.
Definition at line 1134 of file ntv2konaflashprogram.cpp.
| uint32_t CNTV2KonaFlashProgram::ReadBankSelect | ( | ) |
Definition at line 1473 of file ntv2konaflashprogram.cpp.
| uint32_t CNTV2KonaFlashProgram::ReadDeviceID | ( | ) |
Definition at line 613 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::ReadFlash | ( | NTV2Buffer & | outBuffer, |
| const FlashBlockID | flashID, | ||
| CNTV2FlashProgress & | inFlashProgress = CNTV2FlashProgress::nullUpdater |
||
| ) |
Definition at line 755 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::ReadHeader | ( | FlashBlockID | flashBlock | ) |
Definition at line 453 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::ReadLicenseInfo | ( | std::string & | licenseString | ) |
Definition at line 1380 of file ntv2konaflashprogram.cpp.
Definition at line 1228 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::ROMHasBankSelect | ( | void | ) |
Definition at line 2160 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::SetBankSelect | ( | BankSelect | bankNumber | ) |
Definition at line 1456 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::SetBitFile | ( | const std::string & | inBitfileName, |
| std::ostream & | outMsgs, | ||
| const FlashBlockID | blockNumber = AUTO_FLASHBLOCK |
||
| ) |
Definition at line 407 of file ntv2konaflashprogram.cpp.
|
virtual |
Definition at line 189 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::SetDeviceProperties | ( | ) |
Definition at line 202 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::SetFlashBlockIDBank | ( | FlashBlockID | blockID | ) |
Definition at line 2132 of file ntv2konaflashprogram.cpp.
| void CNTV2KonaFlashProgram::SetQuietMode | ( | ) |
Definition at line 105 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::SetWarmBootFirmwareReload | ( | bool | enable | ) |
Definition at line 2326 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::VerifyFlash | ( | FlashBlockID | flashBlockNumber, |
| bool | fullVerify = (0) |
||
| ) |
Definition at line 696 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::WaitForFlashNOTBusy | ( | ) |
Definition at line 821 of file ntv2konaflashprogram.cpp.
| bool CNTV2KonaFlashProgram::WriteCommand | ( | _FLASH_COMMAND | inCommand | ) |
Definition at line 112 of file ntv2konaflashprogram.cpp.
|
protected |
Definition at line 163 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 155 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 159 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 157 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 179 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 154 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 156 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 178 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 166 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 185 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 177 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 162 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 187 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 169 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 167 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 165 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 160 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 168 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 176 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 175 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 172 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 173 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 174 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 158 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 184 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 164 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 170 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 171 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 161 of file ntv2konaflashprogram.h.
|
protected |
Definition at line 186 of file ntv2konaflashprogram.h.