Uploading files with xmodem
PuTTy on Windows does not support zmodem, xmodem, etc. so I often used HyperTerminal, but the GUI of Hyperterminal annoys me.
So instead of switching between PuTTy and HyperTerminal all the time, I tried to use a different terminal emulator ‘TeraTerm Pro’. This seems fine, but for some reason it dumps a few random characters on the serial line after the file is transferred, falsely answering the multiple choice menu to decide between runtime, diag, multiple image or loader.
I am now using GNU Screen with lrzsz. It was a little struggle to figure out the correct syntax for this, because Screen has a google-incompatible name. Hopefully I’ve sprinkled enough relevant terms in this post to help somebody else with this issue.
I start screen with ‘screen /dev/ttyUSB0 115200′. Then when I start the Xmodem download on the bootrom side I execute CTRL-A “:exec !! sx -kb firmware.bix” in screen.
This works mostly fine. It eats the multiple choice menu after the transfer, but you can press
---
i have write my doc from youre.
*********************
Attention a etre raccordé sur le bon switch en cas de stack
*********************
screen /dev/ttyUSB0
enable
conf t
line con 0
speed 115200
CTRL A + k
screen /dev/ttyUSB0 115200
exit
exit
copy ymodem: flash:filename.bin
CTRL A puis :exec sz -kb filename.bin
Комментариев нет:
Отправить комментарий