Libtropic API
SDK for the TROPIC01 secure element
Version: master (latest)
Loading...
Searching...
No Matches

◆ lt_do_mutable_fw_update()

lt_ret_t lt_do_mutable_fw_update ( lt_handle_t h,
const uint8_t *  update_data,
const uint16_t  update_data_size,
const lt_bank_id_t  bank_id 
)
Parameters
hHandle for communication with TROPIC01
update_dataPointer to the data to be written
update_data_sizeSize of the data to be written
bank_idBank ID where the update should be applied, valid values are For ABAB: TR01_FW_BANK_FW1, TR01_FW_BANK_FW2, TR01_FW_BANK_SPECT1, TR01_FW_BANK_SPECT2 For ACAB: Parameter is ignored, chip is handling firmware banks on its own
Returns
LT_OK if success, otherwise returns other error code.