Send a block of an image to RAM
(self, data, seq)
| 748 | ) |
| 749 | |
| 750 | def mem_block(self, data, seq): |
| 751 | """Send a block of an image to RAM""" |
| 752 | return self.check_command( |
| 753 | "write to target RAM", |
| 754 | self.ESP_MEM_DATA, |
| 755 | struct.pack("<IIII", len(data), seq, 0, 0) + data, |
| 756 | self.checksum(data), |
| 757 | ) |
| 758 | |
| 759 | def mem_finish(self, entrypoint=0): |
| 760 | """Leave download mode and run the application""" |
no test coverage detected