flashtoollib.dll

Company
MediaTek Inc.
Description

BootROM and FlashTool Communication DLL

Version
7.1324.0.0
Architecture
32 bit
Threat Score
0 %
Original size
2589.7 Kb
Download size
913.8 Kb
MD5
0d8cdfe2ed50dcfb2cc94f173112cee6
SHA1
67a06bf9681af04c19b9aa4b4102151c7eceb537
SHA256
ee1b870975c9a93c644b3cfd0335d63e3a994a61d9634f9f780aaacee6d2183b
AUTH_Create
AUTH_Destroy
AUTH_GetInfo
AUTH_IsReady
AUTH_Load
AUTH_SetCallback
AUTH_Unload
AddrTypeFlagToString
BBChipTypeToName
BROM_USBEnumToString
Boot_FlashTool
Boot_META
Brom_Checksum16Cmd
Brom_Connect
Brom_Create
Brom_DebugClear
Brom_DebugOff
Brom_DebugOn
Brom_Debug_SetLogFilename
Brom_Debug_SetLogPrefix
Brom_Destroy
Brom_DisConnect
Brom_DownloadData
Brom_GetDLLInfo
Brom_GetDLLVer
Brom_JumpCmd
Brom_Read16Cmd
Brom_Read32Cmd
Brom_ReadEfuseAll
Brom_Rehabilitate
Brom_SendSCERT
Brom_SendSCERTWithHandle
Brom_StartCmd
Brom_WrapDeInitCmd
Brom_WrapInitCmd
Brom_WrapRead16Cmd
Brom_WrapWrite16Cmd
Brom_Write16Cmd
Brom_Write32Cmd
Brom_WriteEfuseCommon
Brom_WriteEfuseLock
Brom_WriteEfuseSecure
ComPortEnumerate
ComPortEnumerateByArg
ComPortEnumerateEx
ConvertDAReportToString
DA_Create
DA_Destroy
DA_GetInfo
DA_IsReady
DA_Load
DA_LoadBuf
DA_Parsing
DA_SetDefaultStartAddr
DA_Unload
DL_AddHandleToList
DL_AutoLoadByScatRegionName
DL_BL_EXT_Load
DL_BL_GetInfo
DL_BL_IsReady
DL_BL_Load
DL_BL_SetEnableAttr
DL_CheckHandleInList
DL_CheckHandleSameSWVersionInList
DL_Create
DL_CreateList
DL_DeleteHandleFromList
DL_Destroy
DL_DestroyList
DL_GetBBChipName
DL_GetBBChipType
DL_GetBMTBlockCount
DL_GetCount
DL_GetCustomName
DL_GetDRAMSetting
DL_GetHandleNumber
DL_GetInfo
DL_GetJumpTableInfo
DL_GetPlatformInfo
DL_GetProjectId
DL_ImgTypeTblEntryAdd
DL_ImgTypeTblEntryList
DL_ImgTypeTblEntryReset
DL_IsNFB
DL_IsReady
DL_LoadSCIScatter
DL_LoadScatter
DL_ResourceProjectIdComparisonSetting
DL_Rom_GetInfo
DL_Rom_GetInfoAll
DL_Rom_GetResInfo
DL_Rom_Load
DL_Rom_SetEnableAttr
DL_Rom_SetEnableAttrByRomName
DL_Rom_Unload
DL_Rom_UnloadAll
DL_SetCallback
DL_SetChecksumEnable
DL_SetPacketLength
DL_VerifyROMMemBuf
EmmcPartToString
EraseFlagToString
ExtClockToName
FlashDownload
FlashDownload_ByhCOM
FlashFormat
FlashFormat_ByhCOM
FlashParameter
FlashParameter_ByhCOM
FlashReadback
FlashReadback_ByhCOM
FlashTool_ChangeBaudrate
FlashTool_ChangeCOM
FlashTool_ChangeCOM_Ex
FlashTool_Check_Battery
FlashTool_Connect
FlashTool_Connect_BROM
FlashTool_Connect_ByhCOM
FlashTool_Connect_Download_DA
FlashTool_Connect_Ex
FlashTool_CustPara_GetInfo
FlashTool_CustPara_Read
FlashTool_CustPara_Write
FlashTool_DecryptINI
FlashTool_DecryptImage_Config
FlashTool_Disconnect
FlashTool_Disconnect_BROM
FlashTool_Download
FlashTool_EnableDAFinishCMD
FlashTool_EnableDRAM
FlashTool_EnableWatchDogTimeout
FlashTool_Format
FlashTool_GetFATRanges
FlashTool_GetIMEI_PID_SWV_Info
FlashTool_GetPLSecVersion
FlashTool_GetProjectId
FlashTool_IsConnectWithBootRom
FlashTool_LoadConfigFile
FlashTool_MemoryTest
FlashTool_NandUtil_Connect
FlashTool_OTP_CheckDevice
FlashTool_OTP_GetSize
FlashTool_OTP_Lock
FlashTool_OTP_LockCheckStatus
FlashTool_OTP_Read
FlashTool_OTP_Write
FlashTool_PostProcess
FlashTool_ReadEfuseAll
FlashTool_ReadFlashInfo
FlashTool_ReadFlashMemory
FlashTool_ReadPartitionCount
FlashTool_ReadPartitionInfo
FlashTool_Readback
FlashTool_Rehabilitate
FlashTool_RelayDA
FlashTool_SecRO_GetInfo
FlashTool_SecRO_Read
FlashTool_SecRO_Write
FlashTool_SetOTPAddress
FlashTool_SetupUSBDL
FlashTool_SetupUSBDL_EX
FlashTool_UpdateConfig
FlashTool_WriteCustFlashInfo
FlashTool_WriteEfuseAll
FlashTool_WriteFlashMemory
FlashTool_WriteUSBDownloadControlBit
GetAllInterfaceInfo
GetCipherHeaderLen
GetCurrentCOMPortInfoWithFilter
GetCurrentCOMPortNumberWithFilter
GetIncrementCOMPortWithFilter
GetNandFlashNameByTypeId
GetNorFlashNameByTypeId
GetReadyToPowerOnWinAppMsgID
HWChipSelectToString
HWMemoryIOToString
HWMemoryTestMethodToString
HWMemoryTypeToString
HWRamTypeToString
HWStorageTypeToString
IMGDEC_Create
IMGDEC_Destroy
IMGDEC_GetInfo
IMGDEC_IsReady
IMGDEC_Load
IMGDEC_SetCallback
IMGDEC_Unload
NandUtil_FlashFormat
NandUtil_FlashParameter
NandUtil_FlashReadback
NvRAMInfoReport
OTPOpToString
ParamOpToString
ProgramFlagToString
RB_Append
RB_Append_ReadToBuf
RB_ClearAll
RB_Create
RB_Delete
RB_Destroy
RB_GetCount
RB_GetInfo
RB_GetInfoAll
RB_IsReady
RB_SetAddrTypeFlag
RB_SetEnableAttr
RB_SetFilepath
RB_SetPacketLength
RB_SetReadbackAddr
RB_SetReadbackFlag
RB_SetReadbackLength
RB_SetReadbackPartition
ReadFlagToString
SCERT_Create
SCERT_Destroy
SCERT_GetInfo
SCERT_IsReady
SCERT_Load
SCERT_SetCallback
SCERT_Unload
SetReadyToPowerOnWinAppMsgID
StatusToString
UsbComPortEnumerate
_Brom_DownloadData_Ex@12
_Brom_JumpCmd_Ex@12
_Brom_SetWatchDogTimeout@12
_ComPortEnumerateWithPrefix@12
_DA_SetCallback@52
_DL_AutoLoad@8
_FlashTool_CheckUSBStatus@12
_FlashTool_Connect_BROM_ByName@16
_FlashTool_Connect_BROM_ByhCOM@16
_FlashTool_Connect_BROM_Ex@16
_FlashTool_Connect_ByName@24
_FlashTool_GetBootResult@4
_RB_EnableReadbackFAT@12
_RB_SetNANDInfo@12
_Test_WriteEfuse@8
_USBSpeedStatusToString@4

 Generate SBC public key hash error [%d]

 Octect string key to integer primitive transform error [%d]

%s(): Start first scan...

%s(): Start scan...

%s(): buf_dec_start 0x%x, buf_dec_len 0x%x

%s(): cipher_start 0x%x, cipher_end 0x%x

%s(): cipher_start = 0x%x, cipher_end = 0x%x

%s: Error reading the mask!

%s: enable HW_ECC_EN (err=%d)

- unable to initialize heap

- unable to open console device

A_dec error -%02X

A_enc error -%02X

BRom_Base::BromCmd_GetME(): Read16Data(): Status returns error (0x%04X)!

BRom_Base::BromCmd_GetSecConf(): Read16Data(): Status returns error (0x%04X)!

BRom_Base::BromCmd_SendAUTH(): Read16Data(): Status returns error (0x%04X)!

BRom_Base::BromCmd_SendCERT(): Read16Data(): Status returns error (0x%04X)!

BRom_Base::SerialLinkAuthentication(): Read16Data(): Status returns error (0x%04X)!

BRom_MT6276::BRom_EPPCmd(): Read16Data(): Status returns error (0x%04X)!

BRom_MT6276::BRom_JumpBLCmd(): Read16Data(): Status returns error (0x%04X)!

BRom_MT6276::BRom_JumpDACmd(): Read16Data(): Status returns error (0x%04X)!

BRom_MT6276::BRom_ReadCmd16(): Read16Data(): Status returns error (0x%04X)!

BRom_MT6276::BRom_ReadCmd32(): Read16Data(): Status returns error (0x%04X)!

BRom_MT6276::BRom_WriteBuf(): Read16Data(): Status returns error (0x%04X)!

BRom_MT6276::BRom_WriteCmd16(): Read16Data(): Status returns error (0x%04X)!

BRom_MT6276::BRom_WriteCmd16NoEcho(): Read16Data(): Status returns error (0x%04X)!

BRom_MT6276::BRom_WriteCmd32(): Read16Data(): Status returns error (0x%04X)!

BRom_MT6276::checkIfBlowBefore() : Start LowVol , Marginal mode readback 

BRom_MT6573::BRom_SetWatchDogTimeout Enable WatchDog New Setting:0x%x...

BRom_MT6573::BRom_SetWatchDogTimeout Enable WatchDog Orig:0x%x...

BRom_MT6573::BRom_SetWatchDogTimeout Enable WatchDog Ret:0x%x...

BRom_MT6573::BRom_SetWatchDogTimeout Enable WatchDog...

BRom_MT6573::BRom_SetWatchDogTimeout Restart Timer New Setting:0x%x...

BRom_MT6573::BRom_SetWatchDogTimeout Restart Timer Orig:0x%x...

BRom_MT6573::BRom_SetWatchDogTimeout Restart Timer Ret:0x%x...

BRom_MT6573::BRom_SetWatchDogTimeout Restart Timer...

BRom_MT6573::CheckIfMarkedAsEfuseBroken() : It's marked as Efuse Broken! return Blow Error 

BRom_MT6573::MarkAsEfuseBroken write ERROR (%d)

BRom_MT6573::MarkAsReBlow write ERROR (%d)

BRom_MT6575::BRom_SetWatchDogTimeout Enable WatchDog New Setting:0x%x...

BRom_MT6575::BRom_SetWatchDogTimeout Enable WatchDog Orig:0x%x...

BRom_MT6575::BRom_SetWatchDogTimeout Enable WatchDog Ret:0x%x...

BRom_MT6575::BRom_SetWatchDogTimeout Enable WatchDog...

BRom_MT6575::BRom_SetWatchDogTimeout Restart Timer New Setting:0x%x...

BRom_MT6575::BRom_SetWatchDogTimeout Restart Timer Orig:0x%x...

BRom_MT6575::BRom_SetWatchDogTimeout Restart Timer Ret:0x%x...

BRom_MT6575::BRom_SetWatchDogTimeout Restart Timer...

BRom_MT6575::CheckIfMarkedAsEfuseBroken() : It's marked as Efuse Broken! return Blow Error 

BRom_MT6575::MarkAsEfuseBroken write ERROR (%d)

BRom_MT6575::MarkAsReBlow write ERROR (%d)

BRom_MT6589::BRom_SetWatchDogTimeout Enable WatchDog New Setting:0x%x...

BRom_MT6589::BRom_SetWatchDogTimeout Enable WatchDog Orig:0x%x...

BRom_MT6589::BRom_SetWatchDogTimeout Enable WatchDog Ret:0x%x...

BRom_MT6589::BRom_SetWatchDogTimeout Enable WatchDog...

BRom_MT6589::BRom_SetWatchDogTimeout Restart Timer New Setting:0x%x...

BRom_MT6589::BRom_SetWatchDogTimeout Restart Timer Orig:0x%x...

BRom_MT6589::BRom_SetWatchDogTimeout Restart Timer Ret:0x%x...

BRom_MT6589::BRom_SetWatchDogTimeout Restart Timer...

BRom_MT6589::CheckIfMarkedAsEfuseBroken() : It's marked as Efuse Broken! return Blow Error 

BRom_MT6589::MarkAsEfuseBroken write ERROR (%d)

BRom_MT6589::MarkAsReBlow write ERROR (%d)

BRom_MT6589::SetBlowFSourceVol, Config PMIC error 

BRom_MT6589::SetVCoreLowVol, Config PMIC error 

BRom_MT6589::SetVCoreNormalVol, Config PMIC error 

BRom_MT6589::Test_WriteEfuse, Config PMIC error 

BRom_SV3_Base::BRom_EnableJTAG(): sending JTAG enable command ... 

BRom_SV3_Base::Multilpe_Baudrate(): SYNC(%lu): start to sync baudrate ...

Boot_FlashTool(): Start to Jump to BL !

DA_cmd::CMD_DownloadBootLoader(): Set BL Profiles - error code: %s(%d). 

DA_cmd::CMD_DownloadBootLoader(): error code: %s(%d). 

DA_cmd::CMD_DownloadBootLoader(): send BL[%d] - AC_C enable (0x%02X).

DA_cmd::CMD_FormaFlash(): [32<

->

64] format(%u%%): %s(%d) error! Occur at erase_addr(0x%016I64X), ignore error and continue to next block.

DA_cmd::CMD_Memory_Test(): check parameters fail! error code: %s(%d). 

DA_cmd::CMD_NAND_ExtractNFB(): FS Start PB (0x%08X)=%lu. 

DA_cmd::CMD_NAND_ExtractNFB(): Start Block (0x%08X)=%lu. 

DA_cmd::CMD_NAND_ExtractNFB(): wait for FS MAX LB, FS Start PB, FS PBS ... 

DA_cmd::CMD_NAND_ReadBack(): Error = %d

DA_cmd::CMD_NAND_SetupImageList(): error code: %s(%d). 

DA_cmd::CMD_NAND_WriteBLoader(): ACK(0x%02X) received, start sending boot loader content.

DA_cmd::CMD_NAND_WriteImage(): PKT[%lu]: Retry(%u): %s(%d) received, start to re-transmit.

DA_cmd::CMD_NAND_WriteImage(): PKT[%lu]: Retry(%u): send CONT_CHAR to wakeup DA to start recieving again.

DA_cmd::CMD_NAND_WriteImage(): Start to handle YAFFS2 Images.

DA_cmd::CMD_NAND_WriteImage(): boot loader exists, start sending image content.

DA_cmd::CMD_NAND_WriteImage(): start to caculate checksum!

DA_cmd::CMD_OTP_CheckDevice(): ReadData(): fail, error code: %s(%d). 

DA_cmd::CMD_OTP_GetSize(): ReadData(): fail, error code: %s(%d). 

DA_cmd::CMD_OTP_GetSize(): fail,error code: %s(%d)!

DA_cmd::CMD_OTP_Lock(): ReadData(): fail, error code: %s(%d). 

DA_cmd::CMD_OTP_Lock(): fail,error code: %s(%d)!

DA_cmd::CMD_OTP_Lock_CheckStatus(): ReadData(): fail, error code: %s(%d). 

DA_cmd::CMD_OTP_Lock_CheckStatus(): fail,error code:%s(%d) !

DA_cmd::CMD_OTP_Program(): CMD_OTP_Lock_CheckStatus() fail,error code: %s(%d). 

DA_cmd::CMD_OTP_Program(): ReadData(): fail, error code: %s(%d). 

DA_cmd::CMD_OTP_Program(): fail,error code: %s(%d). 

DA_cmd::CMD_OTP_Read(): ReadData(): fail, error code: %s(%d). 

DA_cmd::CMD_OTP_Read(): fail,error code:%s(%d)!

DA_cmd::CMD_PostProcess(): Start to Generate MACs %d times ...

DA_cmd::CMD_SDMMC_WriteImage(): Start Verify Download Image (%s)

DA_cmd::CMD_SDMMC_WriteMBR(): Start Verify Download Image (%s)

DA_cmd::CMD_SF_WriteImage(): Start Verify Download Image (%s)

DA_cmd::CMD_SetMemBlock(): error code: %s(%d). 

DA_cmd::CMD_SetMemBlock(): send FOTA enable (0x%02X).

DA_cmd::CMD_WriteData(): Retry(%u): %s(%d): start to re-transmit.

DA_cmd::CMD_WriteData(): Retry(%u): send CONT_CHAR to wakeup DA to start recieving again.

DA_cmd::Secure_USB_Authenticate_v1_v2(): image start offset is %d

DA_cmd::Secure_USB_Authenticate_v3(): image start offset is %d

DL_HANDLE(0x%08X)::IsReady(): BL.m_bl_maui_paired_ver = 0x%08X, MAUI.m_bl_maui_paired_ver = 0x%08X (Error = %s).

DL_HANDLE(0x%08X)::IsReady(): BL.m_feature_combination = 0x%08X, MAUI.m_feature_combination = 0x%08X (Error = %s).

Download da fail,error %s(%d)

Efuse_WriteCmd32 wrtie setting [%s] ERROR (%d)

Error code(%s) = (%d)

Error code(%u).

Error device type!

Error return(%d).

Fatal error - scanner input buffer overflow

FlashDownload_Internal(): enable watch dog, timeout interval is %u ms.

FlashFormat_Internal(): CMD_SDMMC_SwitchPartition: error ... 

FlashFormat_Internal(): enable watch dog, timeout interval is %u ms.

FlashReadback_internal: Start to query the partition count!

FlashTool_EnableWatchDogTimeout(0x%08X): enable watch dog, timeout interval is %u ms.

GetFileList(): invalid file handle, error = [%u]

Hairtunes: a_crypt_cbc error -%02X

Invalidate start offset(0X%016I64X)

Load_exist_part_tab(): error (%d)

MT6589 SetReg_DisableWatchDogTimer(): Start to disable WDT

MT8135 SetReg_DisableWatchDogTimer(): Start to disable WDT

NandUtil_FlashFormat_Internal(): enable watch dog, timeout interval is %u ms.

NandUtil_FlashParameter_Internal(): enable watch dog, timeout interval is %u ms.

OTP Lock fail (S_DA_OTP_LOCK_FAIL):error 

OTP Lock fail :error 

Preloader information:index(%d),file name(%s),Image Start offset(0X%016I64X),data len(Ox%x).

Read16Data(): Status returns error (0x%04X)!

Runtime error 

SCI file read error!, error code(%d)

SetReg_DisableWatchDogTimer(): Start to disable WDT

Start High Vol , Normal mode readback 

Start HighVol , Normal mode readback 

Start LowVol , Marginal mode readback 

Start LowVol , Marginal mode readback original data 

Start Normal Vol , Normal mode readback 

Start connect

Start to disable WDT.

VerifyImageChecksum(): checksum(%u%%): %s(%d) error occured at read page(0x%08X), stop checksum!

Yaml-cpp: error at line 

[%s] key size error (%d) (should be %d bytes)

[DSP_LOG]GFH FILE INFO file type error (0x%x), should be 0x3

Last update: 16/11/2024