phyBOARD®-Wega AM335x 1) Preparing the Hardware

phyBOARD®-Wega AM335x 1) Preparing the Hardware
phyBOARD®-Wega AM335x
Kit Contents Optional Accessories
phyBOARD®-Wega AM335x
2-pin Evaluation Module Power Module 12 V-24 V
PHOENIX
(PEB-EVAL-01)
(PEB-POW-01)
Get your phyBOARD -Wega powered up and connected in just a few simple steps.
®
1)Preparing the Hardware
1. Check the kit content (see overview on the right hand side).
2. Have your connection cables at hand: You need an RS-232 cable (one-to-one) and a standard
Ethernet cable. Phytec offers an accessory kit which includes these cables.
3. Power up the phyBOARD-Wega. For the 24 V-kit version (A): Connect the 2-pin PHOENIX
connector (included) to a 12 V-24 V (±10 %) DC power supply.
For the 5 V-kit version (B): Connect the 2-pin PHOENIX connector (included) to a 5 V (±5 %)
DC power supply. In both cases please note the polarity of the connectors (see picture A/B)!
If you have bought the optional power supply with your kit, it comes already with the 2-pin connector wired.
4. Turn your power supply on and plug the 2-pin PHOENIX connector into the green jack of your kit.
The Power LED D58 will light up.
12 V-24 V-kit version
5 V-kit version
A
comes with the power adapter board.
France
PHYTEC France SARL
F-72140 Sillé le Guillaume
Phone:+33 2 43 29 22 33
Fax: +33 2 43 29 22 34
www.phytec.fr
USA
PHYTEC America LLC
Bainbridge Island, WA 98110
Phone: +1 206 780-9047
Fax: +1 206 780-9135
www.phytec.com
India
PHYTEC Embedded Pvt. Ltd.
Kormangala, Bangalore
560095 Karnataka
Phone: +91 8041307589
www.phytec.in
GND
RS-232 Cable
Ethernet Cable
B
GND
L-791e_4
+
Germany
PHYTEC Messtechnik GmbH
D-55129 Mainz
Tel.: +49 6131 9221-0
Fax: +49 6131 9221-33
www.phytec.de
www.phytec.eu
Additional Equipment required
Power Adapter 5 V or 24 V
+
Please note: only the 24 V-kit version
RS-232 and
USB Flash drive
HDMI Adapter CAN Adapter with Virtual Machine (PEB-AV-01)
China
PHYTEC Information Technology Co. Ltd.
Nanshan District, Shenzhen
518026 PRC
Phone: +86 755 61802110
www.phytec.cn
Quick
Start
Guide
2) Preparing and Starting the Virtual Machine
To follow this QuickStart and the descriptions in the Development Environment Guide you need
our phyBOARD-WEGA virtual machine hard disk image which is stored on the delivered
USB flash drive in a compressed archive (SO-530v5.zip). The hard disk image
includes all software installations and configurations (e.g. Toolchain, Eclipse, Qt Creator)
necessary for a successful start-up of the phyBOARD-Wega. The virtual machine hard disk
image (.vmdk) is suitable for most virtualization software and can be mounted to an
appropriate virtual machine (tested with VMware Player and Virtualbox).
1.
2.
3.
Plug in the USB flash drive into your host system
Unpack the compressed file with an appropriate tool to your local hard drive to get the included .vmdk file
Follow the instructions of your virtualization software to create a new virtual machine. Pay
regard to the following settings required to obtain a correctly working virtual machine:
• choose Linux-Ubuntu 64-bit version as operating system
• use the unpacked file SO-530v5.vmdk as existing hard disk
• an Ethernet adapter, as well as a serial interface, or the USB controller must be available
to connect to the phyBOARD-Wega
We recommend to have two network adapters available on the host pc. One for a peer-to-peer
connection to the target and one with access to the internet, otherwise be advised that you will
need to swap Ethernet connections multiple times in order to access documentation and sources.
4.
A
Start the virtual machine with our hard disk image. You will see the modified Ubuntu
desktop (A). For further use of the virtual machine the pre-created login data is:
username: phyvm – password: phytec
Now you are ready to connect your PC with the phyBOARD-Wega.
3) Getting Connected
Serial connection
1. Connect one end of the serial cable to the DB-9 connector on the Evaluation Module
(PEB-EVAL-01)
2. Connect the other end to the first serial interface of your PC (or to an USB to DB-9
dongle, connected to your host).
3. Click the Microcom_ttyS0 icon (B) on the Ubuntu desktop (for direct serial interface
connection) or click the Microcom_ttyUSB0 icon if you are using an USB to DB-9 dongle.
By default every input and output is transmitted over the serial connection with a
baud rate of 115200.
B
C
D
4. Click the reset button S2 on the board (or power cycle the board).
A serial console has been started within your Live System.
You should see a boot message and the login-prompt on this console (C). Congratulations!
If you do not see any output in the Microcom window, check the serial connection
between the target and your host. By default Microcom uses /dev/ttyS0. If you want
to use another port you can click on the Microcom Icon at your desktop with your
right mouse button and select Properties. A window opens in which you can change
the properties of the Microcom icon. Click in the Command field and search for "-p
/dev/ttyS0". Change it for example to /dev/ttyS1 and so on if you have more than one
serial port. If the Microcom window does not open, one reason could be a lock-file
which was created when Microcom was not correctly terminated. Delete this file by
opening a terminal and type: sudo rm /var/lock/LCK..*
5. Use “root” as the log-in-name on the serial console (and press enter).
6. As a good example (and helpful for understanding the next step) enter ifconfig.
You will get information about the configuration of the Ethernet interface of the target (D).
Ethernet connection
1. Connect your preferred Ethernet interface on your PC with RJ45 connector X16 (eth0)
on the phyBOARD-Wega using a standard Ethernet cable.
2. Configure the IP-settings on your host platform in Ubuntu:
• In the Unity-panel (left side of your desktop) click on the Ubuntu logo (topmost icon).
• The Ubuntu dashboard will open; enter System Settings in the search field (you will
see the corresponding icon showing up already during typing of the search string).
• Open System Settings and click on the Network icon.
• Select the physical interface to which you have connected the Ethernet cable
(if you have more than one network in the list) and click on Options.
• Select the IPv4Settings (E) tab and choose Manual (F) in the Method drop down box.
• Click Add (G) and enter the IP address 192.168.3.10 (H) and 255.255.255.0
as subnet mask (I) and 192.168.3.10 as gateway (J).
• Last, click on Save (K) to save these connection settings and close the windows.
E
F
H
G
I
J
You are now ready to test the Ethernet network connection.
K
3. Click on the SSH for Target icon (L ) on your desktop. A console window will open and
you will see an authentication question. Type yes and press Enter.
You are now connected to the target (M) . Congratulations!
If you do not see the user login, check the Ethernet connection between the target
and the host. Be sure that you have configured the network adapter in the virtual
machine configuration correct.
Your possible next steps
• Read our Development Environment Guide link on the desktop of the VM to learn how to
use the advantages of the virtual machine image.
• Check out the product page on the PHYTEC website for latest documentation, downloads
and FAQs (http://www.phytec.eu/phyboard-wega/) or
(http://www.phytec.de/phyboard-wega/)
• Contact our support team if you have any questions getting the phyBOARD-Wega up and
running.
Enjoy!
L
M
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement