I recently got myself a beaglebone black. It is self suffice with one board and one usb cable.
However, I find myself struggling to transfer program from PC to beaglebone.
So, I am finding a way to transfer using serial console as my test program is small, I can work with slow transferring speed.
My serial console software is Kitty, which is forked from Putty. Kitty has same interface as Putty, just more convenient to use.
At the Beaglebone side, you will need to install lrzsz: free x/y/zmodem.
Download lrzsz-0.12.20.tar.gz and untar it at Beaglebone.
Then, just simple make the file.
Now to the Kitty link, there is a tutorial which teach how to active zmodem.
First, find this file "kitty.ini file" and activate following:
zmodem=yes
Second, you have to download the sz.exe and rz.exe binaries here.
and set it at kitty program.
This is for rz.exe, but it is same for sz.exe.
Now, we are good to go.
How To Transfer from PC to Beaglebone:
At beaglebone side, type "lrz"
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
root@beaglebone:~/softwares/lrzsz-0.12.20# lrz
▒**B0100000023be50eive.**B0100000023be50
There is no indication during transfer, so be patient.
Let try the other way around:
How To Transfer from Beaglebone to PC (Not suggesting to do so):
At beaglebone side, type "lrz filename"
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
root@beaglebone:~/softwares/lrzsz-0.12.20# lsz INSTALL
Receiving: INSTALL
Bytes received: 10254/ 10254 BPS:20508
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
I am facing some hanging issues after that. I have to restart the system.
However, I find myself struggling to transfer program from PC to beaglebone.
So, I am finding a way to transfer using serial console as my test program is small, I can work with slow transferring speed.
My serial console software is Kitty, which is forked from Putty. Kitty has same interface as Putty, just more convenient to use.
At the Beaglebone side, you will need to install lrzsz: free x/y/zmodem.
Download lrzsz-0.12.20.tar.gz and untar it at Beaglebone.
Then, just simple make the file.
Now to the Kitty link, there is a tutorial which teach how to active zmodem.
First, find this file "kitty.ini file" and activate following:
zmodem=yes
Second, you have to download the sz.exe and rz.exe binaries here.
and set it at kitty program.
This is for rz.exe, but it is same for sz.exe.
Now, we are good to go.
How To Transfer from PC to Beaglebone:
At beaglebone side, type "lrz"
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
root@beaglebone:~/softwares/lrzsz-0.12.20# lrz
▒**B0100000023be50eive.**B0100000023be50
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
then at the kitty icon, click it, choose Zmodem Upload, and select a file.There is no indication during transfer, so be patient.
Let try the other way around:
How To Transfer from Beaglebone to PC (Not suggesting to do so):
At beaglebone side, type "lrz filename"
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
root@beaglebone:~/softwares/lrzsz-0.12.20# lsz INSTALL
Receiving: INSTALL
Bytes received: 10254/ 10254 BPS:20508
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
I am facing some hanging issues after that. I have to restart the system.
No comments:
Post a Comment