1#!/usr/bin/kermit + 2# usage: send_image FILE_NAME OFFSET 3# e.g. send_image output.bin 1F00000 4set line /dev/ttyS0 5set speed 115200 6set serial 8N1 7set carrier-watch off 8set handshake none 9set flow-control none 10robust 11set file type bin 12set file name lit 13set rec pack 1000 14set send pack 1000 15set window 5 16set prompt Kermit> 17 18out \13 19in 10 => 20out loadb \%2 \13 21in 10 download ... 22send \%1 23out \13 24in 10 ## Start Addr 25quit 26exit 0 27