22 lines
346 B
Plaintext
Executable File
22 lines
346 B
Plaintext
Executable File
#!/usr/bin/ckermit
|
|
# usage: send_image FILE_NAME OFFSET
|
|
# e.g. send_image output.bin 1F00000
|
|
|
|
set port /dev/ttyUSB0
|
|
set speed 115200
|
|
set serial 8N1
|
|
set carrier-watch off
|
|
set handshake none
|
|
set flow-control none
|
|
robust
|
|
set file type bin
|
|
set file name lit
|
|
set rec pack 1000
|
|
set send pack 1000
|
|
set window 5
|
|
set prompt Kermit>
|
|
|
|
connect
|
|
quit
|
|
exit 0
|