Originally, I am searching for the method to do file transfer between a zedboard and pc, then I get to this. From this website, the connection between the zedboard and pc requires a modem router and 2 ethernet cable. However, I don’t have 2 ethernet cables! Instead of connecting your host pc with ethernet cable, you can connect your pc to the modem router through wifi connection.
In this blog, I’m not using the modem router. The connection of my PC and Zedboard is barely an ethernet cable.
I’m using Windows 10 machine and connect the zedboard to my PC with two micro-USB cables. The communication with this channel is called “serial”. To login the linux system of the zedboard, I have installed Tera Term to communicate with the Zedboard.
So, the connection of my PC and the Zedboard is look like this:
Checkout this.
Open Tera Term and connect to the Zedboard.
Check your ethernet (eth0) IPv4 Address by typing in the following command to tera term terminal.
ifconfig
You will see that the IP address of your Zedboard is not setup. (If you use a modem router, the modem router will help you to setup the IP address.)
I set it to 169.254.154.249
ifconfig eth0 169.254.154.249
Open you Windows 10: Control Panel > Network and Internet > Network and Sharing Center.
Then click on the “Ethernet” to confirm that your Windows 10 machine has connected to your Zedboard successfully.
Open Windows 10 CMD and test whether you can ping to your Zedboard through Ethernet by typing the following command in Windows 10 CMD.
ping 169.254.154.249
If your Windows 10 doesn’t have SSH command, checkout this. You will need to use the SSH client on Windows 10 only, because the PetaLinux runs as SSH server as default.
Notes: You can use the “scp” command to copy file fromt/to Zedboard.
For example, copy to Zedboard
scp <FILE-SOURCE-PATH> root@169.254.154.249:<FILE-DESTINATION-PATH>
Copy from Zedboard
scp root@169.254.154.249:<FILE-SOURCE-PATH> <FILE-DESTINATION-PATH>
15 Apr 2021 - Yang