Search This Blog

Jun 25, 2011

kermit setting with USB2UART cable under VMware

1. Starting VMware, login Ubuntu 1104.
2. In VMware toolbar, in "Virtual Machine->Removeable Devices", we will see our USB2UART device "future devices ft232r usb uart", set it as connect.  We will see windows popup message that device can be safely removed. We can find the device in VMware Ubuntu "/dev/ttyUSB0"
3. Install kermit with apt-get install ckermit
4. Setup kermit parameters
$ gedit ~/.kermrc
add below words in it.

set line /dev/ttyUSB0
set speed 115200
set carrier-watch off
set handshake none
set flow-control none
set file type bin
set file name lit
set rec  pack 1000
set send pack 1000
set window 5
save and exit
5. Run kermit
$ kermit -c
Now we can see UART message from kermit console.
6. Exit kermit
Press "Ctrl+\" and type "c", it will show below messages:

C-Kermit 8.0.211, 10 Apr 2004, for Linux
 Copyright (C) 1985, 2004,
  Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/root/) C-Kermit>
Type "exit", it will exit kermit and back to console.

Post a Comment