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。