当前位置:网站首页>Quanzhi T3 development board (4-core arm cortex-a7) - detailed explanation of logo display during system startup
Quanzhi T3 development board (4-core arm cortex-a7) - detailed explanation of logo display during system startup
2022-06-11 18:32:00 【Tronlong】
This article mainly introduces the technology based on Quanzhi T3 Video development cases of domestic platforms , It contains gige_capture Case study 、 Case study 、GigE Industrial camera configuration 、 Image acquisition and display 、 Image acquisition and case compilation and saving 、 Key code, etc .
The test board is based on Chuang long technology TLT3-EVM It is based on Quanzhi technology T3 Processor design 4 nucleus ARM Cortex-A7 Domestic evaluation board with high performance and low power consumption , The dominant frequency of each core is up to 1.2GHz.

Evaluation board interface resources are rich , Lead out the double road network port 、 dual CAN、 dual USB、 dual RS485 And so on , On board Bluetooth、WIFI、4G( Optional ) modular , At the same time lead to MIPI LCD、LVDS LCD、TFT LCD、CVBS OUT、CAMERA、LINE IN、H/P OUT Audio and video multimedia interface , Support dual screen display 、[email protected] H.264 Video hardware encoding and decoding , And support SATA Mass storage interface .
gige_capture Case study
Case description
surface 1
![]() | ||
The case functions are described as follows :
- Query the local area network GigE Industrial camera .
- collection GigE Industrial camera image data , Write to framebuffer To achieve image display , The format is gray8.
- collection GigE Industrial camera image data , Save to the specified file , The format is gray8.
The program flow chart is shown in the following figure .

chart 1
Case test
Use in this case GigE The model of industrial camera is Basler Of acA720-290gm, The maximum supported resolution is 720x540, The frame rate is up to 291fps.
Connect the evaluation board to the Gigabit network port through the network cable RGMII ETH and GigE Industrial cameras are connected to the same router , Make sure you are on the same LAN . Will evaluate the board VGA OUT adopt VGA Line connected to VGA display , Used to display the acquired image , The hardware connection is shown in the figure below .

chart 2
For example, connect the evaluation board and the GigE Industrial camera direct connection , Need to GigE Industrial cameras are configured as static IP, And set up the evaluation board and GigE Industrial camera IP The address is the same network segment .
GigE Industrial camera configuration
This section uses Basler Official pylonSDK Development kit , stay PC machine Ubuntu Chinese vs GigE Industrial camera for IP How to get the address 、 Acquisition frame rate and other parameter configuration .
The case "pylonSDK\x86_64\" In the catalog pylonSDK-5.1.0.12682-x86_64.tar.gz Copy the compressed package to Ubuntu Any path , Enter the directory where the compressed package is located and execute the following command to unzip it to the current directory .
Host# tar -zxf pylonSDK-5.1.0.12682-x86_64.tar.gz -C .

chart 3
take GigE Power on the industrial camera , Connect... Through network cable PC Machine and GigE Industrial cameras are connected to the same router , And execute the following command to enter "pylon5/bin/" Run in directory IpConfigurator Tools , To configure IP How to get the address .
Host# cd pylon5/bin/
Host# ./IpConfigurator

chart 4
After the program runs successfully , Will open pylon IP Configurator window , Click on Refresh Refresh and recognize GigE Industrial camera . You can see from the configuration interface GigE Industrial cameras support static IP(Static IP) And dynamic IP(DHCP) Two modes . This time, dynamic IP Mode to test , choice DHCP Options , Click on Save preservation .

chart 5
IP When the configuration is complete , Close the configuration window , And then in bin Under the table of contents , Execute the following command to run PylonViewerApp Tools , Configure parameters such as acquisition frame rate .
Host# ./PylonViewerApp

chart 6
Double click in the following interface to select GigE Industrial camera equipment ,"User Level" choice Expert. Then click Open "Transport Layer" The column , take "Packet Size" Set to 1500、"Inter-Packet Delay" Set to 1100."Inter-Packet Delay" The parameter value will affect the acquisition frame rate , Different cameras need to be modified according to the actual situation .
Click on the menu bar

Button for continuous acquisition , You can view it GigE Images captured by industrial cameras ( Here's the picture ). When the configuration is complete , Please click on

Button release GigE Industrial camera connection .

chart 7
Image acquisition and display
The evaluation board is powered on , The case lib Compressed package of library file under directory libpylon_armhf.tar.gz Copy to any directory of the evaluation board file system , Enter the directory where the compressed package is located and execute the following command to unzip it to "/usr/lib/" Catalog .
Target# tar -xvf libpylon_armhf.tar.gz -C /usr/lib

chart 8
The case bin In the catalog gige_capture Copy the executable file to any directory of the evaluation board file system . Execute the following command under its directory to view the program parameter description .
Target# ./gige_capture --help

chart 9
Execute the following command to scan the local area network GigE Industrial camera , And test the GigE Industrial camera image acquisition frame rate , This test is 159fps.
Target# ./gige_capture -m scan

chart 10
And execute the following command , First the Qt Program closed , And initialization framebuffer, Running the program again will GigE The images collected by the industrial camera are displayed to VGA On the screen . If the image display is not clear , Please adjust the aperture and focal length of the camera lens . Measured this time GigE The processing frame rate collected and displayed by the industrial camera is 82fps, The actual frame rate will fluctuate due to the impact of hardware performance and network environment .
Target# killall Launcher MediaUI CameraUI // close Qt Program
Target# fbinit // initialization Framebuffer
Target# echo 0,0 > /sys/class/disp/disp/attr/fb2ui
Target# ./gige_capture -m display -o /dev/fb0

chart 11

chart 12
In this test CPU The occupancy rates are as follows .

chart 13 CPU Occupancy rate
Image acquisition and saving
stay gige_capture Execute the following command in the directory where the executable file is located , take GigE Images captured by industrial cameras are displayed in gray8 Save the file in the specified path . The number of frames captured and saved will be affected by the read / write rate of the storage device , The actual measurement is 25fps.
Target# ./gige_capture -m save -o /root/test.gray8

chart 14
Please save the test.gray8 File copy to Windows Next ( This time through U Disk copy ), Use cases tools In the catalog yuvplayer.exe Program open file , Click on "Sixe -> Custom", Format image Width by 720,Height by 540, Click on "Color -> Y", Click the play button to display the image , As shown below .

chart 15

chart 16

chart 17
Case compilation
The case src Source directory and pylonSDK Copy directory to Ubuntu Under the same working directory , Execute the following command , Get into "pylonSDK/armhf/" Catalog , Will compress the package pylonSDK-5.1.0.12682-armhf.tar.gz Unzip to the current directory .
Host# cd pylonSDK/armhf/
Host# tar -zxf pylonSDK-5.1.0.12682-armhf.tar.gz

chart 18
Execute the following command , Get into src Under the table of contents , modify makefile file , take PYLON_ROOT The parameter value of is changed to ARM End pylonSDK The actual path .
Host# cd ../../src/

chart 19

chart 20
Please make sure you have referred to Linux The system user manual has been compiled LinuxSDK, structure T3 The processor corresponds to GCC compiler . stay src Execute the following command in the directory , Use LinuxSDK Under the development package directory GCC Compiler for case compilation . After compilation , The executable will be generated in the current directory .
Host# CC=/home/tronlong/T3/lichee/out/sun8iw11p1/linux/common/buildroot/host/usr/bin/arm-linux-gnueabihf-gcc make

chart 21
Want to get the key code of the case and more test case details , Feel free to leave a comment in the comments section ~
边栏推荐
猜你喜欢

信号的处理与捕捉
![[C语言]用结构体把最高分的学生输出,可有多个最高分](/img/4e/836a8f717a2d9bf5f999a934ff4c91.png)
[C语言]用结构体把最高分的学生输出,可有多个最高分

力扣刷题——二叉树的层序遍历

排序的循环链表

Sorted circular linked list
![[c language] output the average score and the student data below or equal to the average score with the structure](/img/c4/263301a22b61c86a3e0df6ad2596f1.png)
[c language] output the average score and the student data below or equal to the average score with the structure

牛客刷题——求最小公倍数

The nearest common ancestor of binary tree

SISO Decoder for SPC (补充章节1)

On the problem that the while loop condition in keil does not hold but cannot jump out
随机推荐
. Net core redis hyperloglog type
LDAP 目录服务器的现代化应用
Various poses for text modification using sed
viso的常见操作
神经网络与深度学习-2- 机器学习简单示例-PyTorch
HashSet集合
Quanzhi technology T3 development board (4-core arm cortex-a7) - video development case
[c language] shift elements after sorting elements of an array
Summary of common mysql/redis interview questions
VIM common commands
SISO Decoder for a General (n, N - 1) SPC Code (Supplementary section 3)
HashSet集合存储学生对象并遍历
Quanzhi Technology T3 Development Board (4 Core ARM Cortex - A7) - mqtt Communication Protocol case
力扣31 下一个排列
牛客刷题——Fibonacci数列
Combination sum of 39 questions
[c language] compress strings and add markup characters
[C语言]对一个数组的元素排序后平移元素
01.电信_领域业务经验
On the sequence traversal of binary tree
