-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Julian Lishev
committed
Jun 3, 2019
1 parent
7ba6e74
commit 0a52bfb
Showing
215 changed files
with
176 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*.pdf filter=lfs diff=lfs merge=lfs -text | ||
*.zip filter=lfs diff=lfs merge=lfs -text | ||
*.wmv filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# DWIN LCD CR-10s Pro source | ||
|
||
This project aims to recreate missing project file and configuration options needed to rebuild the DWIN firmware for the CR-10s Pro printer. | ||
|
||
<img align="top" width=175 src="images/dwin_lcd.jpg" /> | ||
|
||
Currently the DWIN LCD firmware project is based on 1.60.3, but those can be easiliy updated to the latest version (right now I'm still using 1.60.3) | ||
|
||
__EXPERIMENTAL!!! NOT SAFE FOR UPDATE!!!__ | ||
|
||
## Required steps to recreated the missing files | ||
|
||
- Extract the Screen firmware to a new directory | ||
- Copy the firmware/CR10sPro_1.60.3/DWprj.hmi at the same level where the DWIN_SET is. | ||
This file was manually recreated by hand. It has two sections INIT and IMG. The INIT settings are based on other project, but might be completely wrong! Those settings could be added/edited via the DGUS GUI. | ||
The IMG section is just the list of all images/pages. The index on the left is taken from the image name. Those should be verified one by one. | ||
- Copy CONFIG.txt from firmware/CR10sPro_1.60.3/DWIN_SET/CONFIG.txt at the same directory. | ||
This file was also manually reacreated and might contain wrong parameters. More information about those configuration options you can read form "2.2 DGUS Parameter Configuration", tools/EN_DWIN DGUS Display Development Guide_V4.3.pdf | ||
Another help might come from the demo projects provided by DWIN: tools/Demo Projects T5LASIC_DGUSII_Part1.zip and tools/Demo Projects T5LASIC_DGUSII_Part2.zip | ||
Hint: This file might not be needed or the defaults might be OK. However setting wrong configuration options might break the communication between the motherboard (printer) and the LCD screen (like header, enabling checksum or baudrate). | ||
- Extract tools/DGUS_V754.rar (you need Windows machine) and run the DGUS Tool V7.54.exe | ||
- From the GUI open the project file firmware/CR10sPro_1.60.3/DWprj.hmi | ||
- Click on Import button and select the DWIN_SET directory (that will load the 13xxx.bin and 14xxx.bin - touch and display variables) | ||
- Now going from image (page) to image (page) you can see both touch and display fields. To select only Touch or Display variables, you have to select that from the select menu on the right (top-right) panel. You can modify those field by using the same properties panel on the right. | ||
- Save, Generate, Export. | ||
You can export settings, project and generate the missing TFT directory. | ||
|
||
## Open questions | ||
|
||
- Make sure the DWprj.hmi is correctly recreated, including the INIT section | ||
- Confirm that the CONFIG.txt is needed and correctly set | ||
- Visually inspect that each page/image that is correctly linked to correct page/image (like Back button goes to correct page/image). That is especially importatant for the the SP (Stack pointer, default setting is 0xFFFF (set by Config. file)) and VP (Variable pointer, 0x0000-0x6FFF. Write 0x0000 for the variables that do not need address assigning. The command will be disabled when the high byte is 0xFF). See "4.4 VP & SP" section of the tools/EN_DGUS V5.10 User Guide.pdf | ||
|
||
## Contribution | ||
|
||
Any contribution to the project is welcome. From verifying the project and configuration files, filling-in the gaps or fixing bugs to testing in on spare DWIN LCD screen (DMT48270C043_06WT (T5UID1)). Once this project is confirmed to properly work on real hardware we can start using it to add extra features or at least fixing bugs. | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
R1=07 ; baudrate:115200 | ||
R2=0D ; FBZ|L22_Init_En|TPSAUTO | ||
R3=5A ; UART_SYNC_H | ||
RA=A5 ; UART_SYNC_L | ||
STOP_DWIN_OS; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
[INIT] | ||
PICFIX=1 | ||
VARCount=64 | ||
Version=0 | ||
SCREENDSIZE=480X272 | ||
SPADDRESS=5000 | ||
[IMG] | ||
00=00_starting.bmp | ||
01=01_C_main.bmp | ||
02=02_C_PrintFile.bmp | ||
03=03_C_PrintFile.bmp | ||
04=04_C_PrintFile.bmp | ||
05=05_C_PrintFile.bmp | ||
06=06_C_PrintFile.bmp | ||
07=07_C_ChooseFile.bmp | ||
08=08_C_ChooseFile.bmp | ||
09=09_C_Printstatus1.bmp | ||
10=10_C_Printstatus2.bmp | ||
11=11_C_Printstatus3.bmp | ||
12=12_C_Printstatus4.bmp | ||
13=13_C_StopPause.bmp | ||
14=14_C_Ajustment.bmp | ||
15=15_C_TempControl1.bmp | ||
16=16_C_TempControl2.bmp | ||
17=17_C_PLAorABS.bmp | ||
18=18_C_PLAorABS.bmp | ||
19=19_C_NozzleHotbet.bmp | ||
20=20_C_Shut_Cool.bmp | ||
21=21_C_Tool.bmp | ||
22=22_C_BedLeveling.bmp | ||
23=23_C_ChangeFilement.bmp | ||
24=24_C_Warn.bmp | ||
25=25_C_Warn.bmp | ||
26=26_C_ChngFlmHeating.bmp | ||
27=27_C_ChngorNot.bmp | ||
28=28_C_ChngorNot.bmp | ||
29=29_C_10mmMove.bmp | ||
30=30_C_1mmMove.bmp | ||
31=31_C_01mmMove.bmp | ||
32=32_C_Autohome.bmp | ||
33=33_C_Language1.bmp | ||
34=34_E_Language2.bmp | ||
35=35_C_Information.bmp | ||
36=36_C_ContinuePrintstatus1.bmp | ||
37=37_C_ContinuePrintstatus2.bmp | ||
38=38_C_no_filement1.bmp | ||
39=39_C_no_filement2.bmp | ||
40=40_C_Keyboard1.bmp | ||
41=41_C_Keyboard2.bmp | ||
42=42_C_YesorNoblack.bmp | ||
43=43_C_Autoleve.bmp | ||
44=44_C_HeatStop.bmp | ||
45=45_E_main.bmp | ||
46=46_E_PrintFile.bmp | ||
47=47_E_PrintFile.bmp | ||
48=48_E_PrintFile.bmp | ||
49=49_E_PrintFile.bmp | ||
50=50_E_PrintFile.bmp | ||
51=51_E_Printstatus1.bmp | ||
52=52_E_Printstatus2.bmp | ||
53=53_E_Printstatus3.bmp | ||
54=54_E_Printstatus4.bmp | ||
55=55_E_StopPause.bmp | ||
56=56_E_Ajustment.bmp | ||
57=57_E_TempControl1.bmp | ||
58=58_E_TempControl2.bmp | ||
59=59_E_PLAorABS.bmp | ||
60=60_E_PLAorABS.bmp | ||
61=61_E_NozzleHotbet.bmp | ||
62=62_E_Shut_Cool.bmp | ||
63=63_E_Tool.bmp | ||
64=64_E_BedLeveling.bmp | ||
65=65_E_ChangeFilement.bmp | ||
66=66_E_Warn.bmp | ||
67=67_E_Warn.bmp | ||
68=68_E_ChngFlmHeating.bmp | ||
69=69_E_ChngorNot.bmp | ||
70=70_E_ChngorNot.bmp | ||
71=71_E_10mmMove.bmp | ||
72=72_E_1mmMove.bmp | ||
73=73_E_01mmMove.bmp | ||
74=74_E_Autohome.bmp | ||
75=75_E_Information.bmp | ||
76=76_E_ContinuePrintstatus1.bmp | ||
77=77_E_ContinuePrintstatus2.bmp | ||
78=78_E_no_filement1.bmp | ||
79=79_E_no_filement2.bmp | ||
80=80_E_YesorNoblack.bmp | ||
81=81_E_Refuel1.bmp | ||
82=82_E_Refuel2.bmp | ||
83=83_E_Refuel3.bmp | ||
84=84_E_Auxleve.bmp | ||
85=85_E_Autoleve.bmp | ||
86=86_C_Wait.bmp | ||
87=87_E_Wait.bmp |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Git LFS file not shown
Git LFS file not shown
Binary file not shown.
Binary file added
BIN
+132 Bytes
tools/CN_T5L_TA instruction set development guide V11 2019.04.09.pdf
Binary file not shown.
Git LFS file not shown
Git LFS file not shown
Binary file not shown.
Git LFS file not shown
Git LFS file not shown
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown