background image

Figure 3.1.2

Type any name such as 

PhytecIndia

” 

into the label widget and stretch out the borders so you can 

see all the letters

Figure 3.1.3

File->Save 

phytec.ui

Now we need to check and update the build and run settings: 

On the left side vertical menubar select 

Projects

  

Select the 

Build Settings

 tab and select 

''Qt 4.8.5(sysroot-cross) Release'' 

in Edit build 

configuration.

© PHYTEC Embedded Pvt. Ltd 2014

20

Revision no. 1.0

Содержание PhyBOARD-WEGA-AM335 SERIES

Страница 1: ...PhyBOARD WEGA AM335x Single Board Computer QT Manual Product No PCL 051 PBA CD 02 SOM PCB No 1397 0 CB PCB No 1405 0 Edition May 2014 PHYTEC Embedded Pvt Ltd 2014 1 Revision no 1 0...

Страница 2: ...om the improper usage or improper installation of the hardware or software PHYTEC Embedded Pvt Ltd further reserves the right to alter the layout and or design of the hardware without prior notificati...

Страница 3: ...Table of Contents 4 1 Application development using Qt Creator 4 2 QT Creator Configuration for phyBOARD WEGA AM335x 8 3 Application development 19 PHYTEC Embedded Pvt Ltd 2014 3 Revision no 1 0...

Страница 4: ...th chapter Describes Qt Creator with UART Demo application 1 Application development using Qt Creator With the help of example projects we will teach you how to work with Qt Explain how to run Qt appl...

Страница 5: ...st and Target In Host Click on Dash Home and enter as Network Connections and click Figure 1 2 1 Here click on Add label and give a connection name as shown below Figure 1 2 2 PHYTEC Embedded Pvt Ltd...

Страница 6: ...Manual and click Add label again do ip settings then Save as shown below Figure 1 2 3 Then finally you will get successfully as below if your Connection Established correctly Figure 1 2 4 PHYTEC Embed...

Страница 7: ...arget Do the ip settings in your target as shown below figures Figure 1 2 5 Now set ip usig ifconfig eth0 192 168 1 196 up shown in below figure Figure 1 2 6 PHYTEC Embedded Pvt Ltd 2014 7 Revision no...

Страница 8: ...the left side vertical menubar click Build Run Click the Qt Versions tab under Build Run Remove any versions that may already exist to make sure you start with a clean configuration Click Add on the r...

Страница 9: ...bin Note Here navigate to the path where you have exported the tool chain Select Compiler Path Click on Browse and select path of compiler home user work phytec src arm cortexa8 linux gnueabihf bin ar...

Страница 10: ...ions menu On the left side of the window select the Linux Devices tab Figure 2 1 3 In Linux Devices click the Device Configurations tab Click Add in the top right and select Generic Linux device and c...

Страница 11: ...he IP address Box as 192 168 1 196 For your target In the Box The Username to log into device write entry as root Make sure Authentication type is Password but leave the password field blank Click nex...

Страница 12: ...with the target Still under the Device Configurations tab click Generate SSH Key Select Key size 1024 Key algorithm RSA Then click Generate SSH Key in the SSH Key Configuration dialog box Figure 2 1 7...

Страница 13: ...ure 2 1 8 Then click Save Public Key Figure 2 1 9 Just use the default name id_rsa pub and Click Save and Click Close to close the Generate SSH Key window PHYTEC Embedded Pvt Ltd 2014 13 Revision no 1...

Страница 14: ...ations tab now click Deploy Public Key Figurer 2 1 11 Select the file just generated should be under home user ssh IMPORTANT You may need to right click and select show hidden files or Ctrl h PHYTEC E...

Страница 15: ...Figure 2 1 12 Select the file id_rsa pub and click on Open shortly a window should show up saying Sucessfully Figure 2 1 13 PHYTEC Embedded Pvt Ltd 2014 15 Revision no 1 0...

Страница 16: ...phyBOARD WEGA AM335x Linux PD14 0 0 tools toolchain arm cortexa8 linux gnueabihf tar bz2 2 2 3 Export the Toolchain to Shell Path Extract the toolchain that has downloaded from terminal issue the fol...

Страница 17: ...verywhere opensource src 4 8 5 vim mkspecs qws linux arm gnueabi g qmake conf change arm none linux gnueabi to arm cortexa8 linux gnueabihf save and exit Execute the following configuration command co...

Страница 18: ...l device dev ttyS0 first press A the cursor blinks at the particular line then change the device name to dev ttyS0 and press ENTER Figure 2 4 2 After making all changes like baud rate 115200 hardware...

Страница 19: ...opment 3 1 Simple Demo Application Open a New Project Under Forms double click on phytec ui this will bring up the widget editor Figure 3 1 1 Find the label widget in the category of display widgets l...

Страница 20: ...ee all the letters Figure 3 1 3 File Save phytec ui Now we need to check and update the build and run settings On the left side vertical menubar select Projects Select the Build Settings tab and selec...

Страница 21: ...e the no target path set error Figure 3 1 5 To fix the no target path set errors do the following Click on Edit on the left side vertical bar and click on Phytecindia pro Add the two lines below to th...

Страница 22: ...replaced with home phytec Now in the Run portion Select Add terminal on Remote Generic Linux Host Figure 3 1 7 Finally run the application Note If application is not running add qws to the Arguments s...

Страница 23: ...apps Qt_uart tar gz Select File Open File or Project Open the obserial pro file in the Qt_uart folder as shown in the screenshot below Figure 3 2 1 Click on Edit on the left side vertical bar and clic...

Страница 24: ...ck Add and select Deploy to Remote Linux Host Now in the Run portion Select Add obserial on Remote Generic Linux Host Figure 3 2 3 Now on host side power up the target board and make proper settings a...

Страница 25: ...we mentioned in bottom of the pro file in Qt creator i e target path home user see the following image Figure 3 2 6 cd home user Figure 3 2 7 Now execute the output file obserial qws obserial qws Figu...

Страница 26: ...baud rate in serial port settings in target NOTE Set the serial port settings in LCD display preferably ttyO1 Click on the Apply button Next Click on the icon connect to serial port which is first in...

Страница 27: ...9 D 55129 Mainz Tel 49 6131 9221 32 Fax 49 6131 9221 33 www phytec de www phytec eu America PHYTEC America LLC 203 Parfitt Way SW Suite G100 Bainbridge Island WA 98110 Tel 1 206 780 9047 Fax 1 206 780...

Отзывы: