C API for BALTECH SDK

§ brp_DHWCtrl_Sm4x00ProgramBlock()

brp_errcode brp_DHWCtrl_Sm4x00ProgramBlock ( brp_protocol  protocol,
bool  IsLast,
brp_buf  FwBlock,
size_t  FwBlock_len,
brp_buf ProgramResponse,
size_t *  ProgramResponse_len,
brp_mempool mempool 
)

Program one 128 byte block of SM4x00 firmware.

Parameters
[in]protocolused to execute the command
[in]IsLastFlag that signals if this is last block.
[in]FwBlockFirmware block to be programmed.
[in]FwBlock_len
[out]ProgramResponseReceived response from SM4x00.
[out]ProgramResponse_len
[in]mempoolis used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool