Lines Matching refs:lines
339 lines = [
346 lines.append('erase') # Erase all flash sectors
391 lines.append(flash_cmd)
394 lines.append('r') # Reset and halt the target
396 lines.append('g') # Start the CPU
404 lines.append('writeDP 1 0')
405 lines.append('readDP 1')
407 lines.append('q') # Close the connection and quit
410 '\n'.join(lines))
411 return flash_file, lines
447 flash_file, lines = self.get_default_flash_commands()
450 f.writelines(bytes(line + '\n', 'utf-8') for line in lines)