Connect the micro USB cable to PC and the board. Check if the light in the board glows up. If the LED is glowing in the board then proceed to test the serial Console on Linux Host.
To confirm USB device is detected, enter the following command
dmesg
Look for /dev/ttyUSBx
where x
means the connected port number.
Example: If the device is connected in USB0, you will get message as /dev/ttyUSB0
Install minicom Serial Monitor on your host PC:
Ubuntu@pc:~$ sudo apt-get install minicom
Setting Serial Console (Minicom):
Ubuntu@pc:~$ sudo minicom –s
Select the option “serial port setup” from menu on terminal and press 'Enter
For ex: Serial device - /dev/ttyUSB0, first press ‘A’ the cursor blinks at the particular line then change the device name to /dev/ttyUSB0 and press ‘ENTER’
Note: Serial device name will vary based on your serial device. dev/ttyS0,
if you are suing Serial cable and /dev/ttyUSB0,
if you are using USB to Serial converter.
After making all changes like baud rate "115200", hardware flow control "NO" by pressing the keyword ‘F’ etc. that are required press ‘ENTER’ to come out from the screen,
Simply follow the further screens from the menu list and select “Save setup as default” by Press Enter key and Exit from the minicom setup process. It will take into ‘minicom’ the serial terminal.
Finally, you will get Board Console on the terminal after board boot-up ...what Next?
Note: In this stage if the board does not show the boot-logs/Board terminal, then just restart the board by switching power "OFF" and "ON".
Now will have two terminals:
PC - Terminal.
PC terminal will have the following annotation:
gopal@phytec:~$
Board Terminal.
PC terminal will have the following annotation:root@ruggedBOARD-A5D2x:~#
Congratulations!!! Now you are ready to play around with ruggedBOARD-A5D2x SBC.
Terminal on the left side of the image is Board's terminal and the one on the right side of the image is HOST PC's terminal.
Upcoming Sections will show how to set up SD card to boot the board from SD card. Also "tftp" server and client communication to transfer files from host PC to