1.1.3.2.2. cli.cmd_bootloader.bootloader.BootloaderInterface

class cli.cmd_bootloader.bootloader.BootloaderInterface

Abstract class of the bootloader communication interface.

__init__()

Methods

__init__()

get_bootloader_state()

Get the bootloader's current state.

get_bootloader_version_num()

Get the bootloader's version number.

get_current_num_of_loops()

Get the bootloader's current transfer data loop number.

reset_bootloader([time_to_wait, num_of_repeat])

Reset bootloader.

run_app_on_bootloader()

Run the application on bootloader.

send_crc(crc_8_bytes[, is_crc_of_vector_table])

Send crc signature to bootloader and get the feedback from bootloader.

send_data_to_bootloader(data_8_bytes)

Send data in 8 bytes to bootloader.

send_loop_number_to_bootloader(num_of_loop)

Send the current loop number of the to-be-transferred data to bootloader.

send_program_info(len_of_program_in_bytes, ...)

Send program info to bootloader and check its states.

start_transfer()

Inform bootloader to start the transfer program process.

wait_can_ack_msg(acknowledge_msg[, ...])

Wait for a certain ACK message.