Lines Matching refs:seq
868 def mem_block(self, data, seq): argument
873 struct.pack("<IIII", len(data), seq, 0, 0) + data,
923 def flash_block(self, data, seq, timeout=DEFAULT_TIMEOUT): argument
928 "write to target Flash after seq %d" % seq,
930 struct.pack("<IIII", len(data), seq, 0, 0) + data,
944 def flash_encrypt_block(self, data, seq, timeout=DEFAULT_TIMEOUT): argument
949 return self.flash_block(data, seq, timeout)
954 "Write encrypted to target Flash after seq %d" % seq,
956 struct.pack("<IIII", len(data), seq, 0, 0) + data,
1065 for seq in range(blocks):
1066 from_offs = seq * self.ESP_RAM_BLOCK
1068 self.mem_block(field[from_offs:to_offs], seq)
1128 def flash_defl_block(self, data, seq, timeout=DEFAULT_TIMEOUT): argument
1133 "write compressed data to flash after seq %d" % seq,
1135 struct.pack("<IIII", len(data), seq, 0, 0) + data,