欢迎光临现场管理具体执行计划。广东凌丰家居用品股份有限公司

迪理家居用品論罈

 找廻密碼
 立即注冊
查抄:1129|答複:0
打印上一主題下一主題

【reprint】【01.teaching】T5L C51 development environment construction

[複制鏈接]

15

主題

115

廻帖

1816

積分

金牌會員

Rank: 6Rank: 6

積分
1816
跳轉到指定樓層
樓主
發表广东凌丰家居用品股份有限公司於 2022-5-12 14:36:44|衹看該作者廻帖獎勵|倒序瀏覽广东凌丰家居用品股份有限公司|瀏覽體式格侷
This lesson introduces the T5L C51 development environment setup
This video is provided by diwen Developer Forum user ID Xiong Jiayu

The lecture is as follows

1、T5LDwin screen resource introduction
The so-called T5L Deven screen here is actually a general reference, including T5L1(low resolution) and T5L2(high resolution) two versions,T5L1 chip and T5L2 chip development mode is exactly the same, the internal resources are basically the same, the most important difference is T5L2 chip can drive higher resolution LCD screen,T5L The chip is a dual-core processor, one is OS core, which is used to store the business logic code of our users. This core is actually a mature and stable 51 single chip microcomputer, with the main frequency up to 250MHZ, and the peripheral resources are much richer than the traditional 51 single chip microcomputer. The other core is GUI core, which runs a DGUS II system for specialized responsible for building and rendering GUI graphical interface, built-in 2 d hardware acceleration, we can make the graphical interface to refresh and extremely smooth switch, division of labor between the two nuclear cooperation, make our business logic code and separation between GUI graphical interface, realize the "high cohesion and low coupling" programming thought, when we need to update the graphics community in the code At the moment, our OS core can communicate with the GUI core through the "DGUS variable memory", which we will discuss in more detail in a later section

2、T5LDwin screen development mode
T5L Diwen screen development methods are diverse, Development mode can be divided into "TA instruction set development" and "DGUS development", among which TA instruction development is based on the pre-defined instruction set development, similar to the development mode of serial screen, but here we mainly introduce "DGUS development". 4, DGUS is an abbreviation of DWIN Graphic flexibility Software, and under "DGUS development", depending on the type of code placed in the OS core, it can be divided into "DWIN OS development" and "C51 development". These two types of development are mutually exclusive, and only one can be selected. The specific differences are as follows:
DWIN OS development: It is divided into virtual machine layer and DWIN OS layer. The kernel firmware of virtual machine layer (T5L_OS*.bin) is officially provided by Divin, while the code of DWIN OS layer is written by our users. DWIN OS layer is run based on virtual machine layer, so it is necessary to download the kernel firmware of virtual machine layer before downloading DWIN OS programs,DWIN OS programs can be written in C language or assembly language, when written in C language, the official DWIN C Compiler software is used to compile the project, when written in assembly language, the official OSBuild software is used to compile the project

C51 development: this is our traditional 51 microcontroller development method, written in C language, the use of Keil integrated development tools, the use of DownLoadFor8051 tools for code download,C51 development method is all the development of efficiency and the highest ability to customize, so this video tutorial is the C51 development method

3、Compare that to other GUI development approaches on the market
(1)Use third-party GUI libraries like Emwin,touchGFX,littleVGL, etc  

(2)Use serial screen to develop
This simple development way, is not too high demands on the hardware, but need your external a microprocessor via a serial port to communicate and serial interface screen, is a way of the development of the instruction set, different manufacturer of serial interface screen, instruction set will be different, because through the serial port communication, slow, for the interface of a large number of data update project, so the development way is overwhelmed



(3)Developed using T5L Dwin SCREEN C51i
It is in this video tutorial teaching way of development, this way can be said to be a desire in GUI development, development of simple, of low hardware requirements, does not need external a microprocessor, because the required hardware modules are T5L chip to encapsulate inside, so for us, this way of hardware cost should be the lowest, this way can realize the cool Smooth, GUI interface, the ability of the custom is high also, if a blemish, that is if the T5L internal OS kernel (that is, 8051 nuclear) into a 32-bit microprocessor is better, a peripheral resources will be more difficult, IO pin number will be more available, then in the face of large projects don't panic, I believe, the official also are moving in This direction diligently!

4、Development environment setup
(1)Install the Keil integrated development tool
(2)Install the DGUS Tool interface design Tool
(3)Install the DownLoadFor8051 download tool  
(4)Install the AGDI driver  
(5)Installing the Serial Port Driver

5、Create a C51 project template
For details, see the documentation



本帖子中包括广东凌丰家居用品股份有限公司更多資本广东凌丰家居用品股份有限公司

您需求登錄才可以下載或查抄,沒有賬號?立即注冊

x
您需求广东凌丰家居用品股份有限公司登錄後才可以廻帖登錄|立即注冊

本版積分規定广东凌丰家居用品股份有限公司例广东凌丰家居用品股份有限公司矩

QQ|Archiver|手機版|小黑屋|迪理家居用品論罈(京ICP証000000號)

GMT+8, 2024-11-01 10:15, Processed in 0.077478 second(s), 22 queries.

Powered by Discuz!X3.4

© 2001-2023 Discuz! Team.

快速答複前往頂部前往列表

技术支持-广东凌丰家居用品股份有限公司