Skip to content

Commit 478efc6

Browse files
Merge pull request #89 from Thinkersbluff/CyanotypeTheme
Formal release of Refactored Touchscreen Firmware at 61F_220622_v1
2 parents 60fa5e8 + 881a1b6 commit 478efc6

File tree

799 files changed

+778
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

799 files changed

+778
-0
lines changed
4.67 MB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[{000214A0-0000-0000-C000-000000000046}]
2+
Prop3=19,11
3+
[InternetShortcut]
4+
IDList=
5+
URL=https://github.com/CR6Community/Marlin/releases
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[{000214A0-0000-0000-C000-000000000046}]
2+
Prop3=19,11
3+
[InternetShortcut]
4+
IDList=
5+
URL=https://github.com/CR6Community/CR-6-touchscreen/releases
Binary file not shown.
2.94 MB
Binary file not shown.
Binary file not shown.
28.5 KB
Binary file not shown.
128 KB
Binary file not shown.
1.55 MB
Binary file not shown.
Binary file not shown.
Binary file not shown.
383 KB
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.
90.3 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
84.3 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
383 KB
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.
383 KB
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.
383 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Formal Release: 61F_110622_v1
2+
3+
The following issues have been observed but not resolved, at this release:
4+
5+
1. The ABLprocess no longer uses the contents of 35_Autolevel.icl to animate the collection & display of the mesh data. To enable old eyes to read the mesh, the normally white background of the initial screen has been changed to black. As a result, when the process first initializes all of the values to 0.000 in white, those zeroes are now visible to the user, until replaced by the probing process. This will not look familiar to past users of 6.1, but should not be a problem for new users.
6+
7+
2. Although we have added the display of temperature readings and target values to three thermal warning screens, there is at least one known failure case where the displayed values are all zeroes, instead of the hoped-for dump of the values "seen" by Marlin, if the Thermal Runaway screen appears immediately after the printer is powered-up.
8+
That particular failure appears to be a motherboard failure, which requires replacement of the motherboard to resolve.
9+
10+
IF you find any other issues, please message @Thinkersbluff with the key info. TIA!

doc/build/61F_110622_v1/README.txt

+115
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
# Release#: 61F_110622_v1
2+
3+
## NOTE: If you do not see this release number on your system, you have not flashed this version of the touchscreen firmware.
4+
5+
# Introduction
6+
7+
This formal release is identical to the final release candidate 61F_RC_260522_v1, except for the rebranding of the release number on the Loading screen, the Info screen, and in these release documents.
8+
9+
NEW AT THIS RELEASE:
10+
- This refactored firmware operates correctly on all versions of DGUS2 OS. It is no longer necessary to install kernel upgrade files to reprogram the display to use DGUS2 v3.5. [BUT: IF your display currently runs a version of DGUS2 less than v3.5, you may observed font kerning issues (e.g. the bed mesh values will not fit inside the boxes) Flashing the kernel upgrade files will correct that problem.]
11+
- The Leveling Settings screen is now accessible from the Setup Screen
12+
- The Thermal Runaway and Heating Failed screens how display the Target and Measured temperature values for the Nozzle and Bed, at the time the error was triggered.
13+
- The Load screen and the Setup->Info page confirm the release number you have flashed, which matches the release number in the filename and in the README.txt file.
14+
15+
DEPRECATED AT THIS RELEASE:
16+
- The ABL Mesh screen in this refactored firmware no longer includes the animated background icons, which used to turn each square from white to black, as the nozzle probed each point. (The method used to create that animation was not supported by the new tool.)
17+
- CR6-MAX users will notice that the small squares which represented the intermediate probing points are no longer displayed, as those were implemented with that same deprecated feature.
18+
19+
20+
## Background
21+
22+
The CF6.1 touch screen firmware was designed and distributed to run on the DGUS2 v3.5 operating system.
23+
24+
Creality has now begun delivering the CR6 printers running a more recent version of DGUS2 (v4.5, at the time of this release.)
25+
26+
DGUS2 v4.5+ requires a different calibration of the display screen to run than did v3.5.
27+
28+
Following the CF6.1 installation instructions to flash v3.5 with CF6.1 to these newer printers therefore causes the v4.5 screen calibration to be invalid. That results in the touchscreen becoming non-responsive to CF6.1. Reverting to Creality stock also then fails, until the DGUS2 v4.5 kernel is restored to the display.
29+
30+
This re-factored version of the firmware operates correctly on all CR6 printers flashed with DGUS2 OS version 2.0 or higher, as long as:
31+
32+
1. The motherboard has also been flashed with the correct configuration of CF6.1-Final firmware
33+
34+
2. The display hardware has already been calibrated to operate with the version of DGUS2 (2.0 or higher) that is installed on the display.
35+
36+
37+
38+
# Recommendations for using this firmware
39+
## _PLEASE read all of these recommendations, before following any of them._
40+
41+
**NOTES:**
42+
43+
**1. As always, flashing this firmware to your system is done entirely at your own risk. The CR-6 Community firmware developers take no responsibility for any consequences of flashing this firmware to your system.**
44+
45+
2. We have seen STEP1 display DGUS2 v4.5 with a different date stamp than the one bundled with this release. (13/01/22 vs 05/01/22) We can not explain why DWIN would publish two variants of the same OS version, nor can we answer whether there are any differences between the two. (See note 1)
46+
47+
48+
**STEP1 - BEFORE ACTING ON ANY OF THE FOLLOWING RECOMMENDATIONS:**
49+
1. Create an EMPTY folder at the root directory of an EMPTY micro SD card.
50+
2. Ensure that your printer power is OFF
51+
3. Place that SD card in your display and cycle power ON
52+
4. The top line of the display will report which version of DGUS2 is currently flashed .
53+
4. Make note of which DGUS version is currently flashed to your display hardware (see top line on display)
54+
5. Take care to follow the applicable instructions below.
55+
56+
57+
### If you are currently running Creality stock firmware on your system, and your display is currently running DGUS2 v4.5+
58+
59+
Flash this touchscreen firmware INSTEAD of the CF6.1-Final touchscreen firmware.
60+
61+
1. Ignore the Touchscreen firmware folder in the CF6.1-Final release zip file.
62+
63+
2. INSTEAD, copy the DWIN_SET folder and contents from this release to the micro-SD card you use to flash the display
64+
65+
3. DO NOT copy ANY DGUS2 kernel upgrade files to the DWIN_SET folder before flashing it to your display.
66+
67+
### If you are currently running Creality stock firmware on your system, and your display is currently running any version of DGUS2 between (and including) v2.0 and v4.4 (e.g. v3.5)
68+
69+
EITHER: Go ahead and flash the CF6.1 TouchScreen Firmware to your system, following the CF6.1 Touchscreen Firmware README instructions precisely
70+
71+
OR:
72+
73+
Do exactly the same thing as recommended above for the v4.5 users:
74+
75+
1. Ignore the Touchscreen firmware folder in the CF6.1-Final release zip file.
76+
77+
2. INSTEAD, copy the DWIN_SET folder and contents from this release to the micro-SD card you use to flash the display
78+
79+
3. DO NOT copy ANY DGUS2 kernel upgrade files to the DWIN_SET folder before flashing it to your display.
80+
81+
### If you already flashed the CF6.1-Final touchscreen firmware to your display hardware, your display is now running DGUS2 v3.5, and your display is non-responsive
82+
83+
You can flash this re-factored version of the CF6.1 UI to your display and restore the display to running DGUS2 to v4.5, as follows:
84+
85+
1. Delete the DWIN_SET folder from the SD card with which you previously flashed your display. (Make sure you keep a copy, just in case!) OR prepare a new blank micro SD card.
86+
2. Copy the new DWIN_SET folder distributed in this release to that SD card
87+
3. Copy T5L_UI_DGUS2_V45_20220105.BIN from the DGUS2 kernel upgrade files folder into the new DWIN_SET folder on that card
88+
4. Re-flash your display with the updated card
89+
5. Verify that the top line of the display shows the DGUS2 v4.5 OS was flashed as part of the process (it will be written in red text over the top of white text that said v3.5)
90+
6. Power off the printer
91+
7. Remove the SD card from the display and power it back up
92+
8. The CF6.1 interface should now work correctly
93+
9. Repeating the empty DWIN_SET folder trick described as STEP 1 above will allow you to confirm with confidence that DGUS2 v4.5 is now flashed to the display
94+
95+
## Instructions for Reverting a Display to the Creality Stock Firmware
96+
97+
### If you flashed the CF6.1 firmware and the DGUS v3.5 kernel upgrade files to a DWIN display that was previously configured to run on DGUS2 v4.5 and just want to revert to stock, rather than flashing this firmware release
98+
99+
1. Copy the T5L_UI_DGUS2_V45_20220105.BIN kernel upgrade file into the Creality DWIN_SET folder.
100+
2. Re-flash that DWIN_SET to your display.
101+
3. Re-flash the stock Creality firmware to the motherboard
102+
103+
The printer will now have been reverted to the Creality stock firmware.
104+
105+
### If you successfully flashed CF6.1 or this release to a DWIN display without flashing any DGUS kernel upgrade files to that display, but now wish to revert to the Creality stock firmware
106+
107+
Flash the stock Creality firmware back to the motherboard and the display, per Creality's instructions.
108+
109+
## Instructions for reverting from this re-factored version BACK to the CF6.1-Final TouchScreen Firmware on a display running DGUS2 v3.5
110+
111+
Follow the flashing instructions in the CF6.1-Final Touchscreen firmware README file.
112+
113+
114+
115+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
**NOTE: If you have successfully flashed your system by following the instructions in the README.MD file, then you do not need to read this file.**
2+
3+
**These troubleshooting instructions are offered for use by those who were not able to succeed at flashing this DWIN_SET to their display by following the README.**
4+
5+
# The screen flashing process ended with a white noise screen instead of the blue END! screen
6+
7+
## See Note 2 in the README file
8+
9+
# I see the main menu screen, but tapping the buttons on the screen doesn't do anything
10+
11+
## Verify that the correct version of DGUS2 is installed on your display
12+
13+
**NOTE: This is why it was STEP 1 of the README recommendations to identify which DGUS2 was running on your hardware before you started flashing anything.**
14+
15+
- If you inadvertently flashed your display with DGUS2 v3.5, but your display was factory-calibrated for DGUS v4.5, the screen is likely to be non-responsive. Try flashing it back to v4.5 (per the README in the kernel upgrades folder).
16+
17+
- If you inadvertently flashed your display with DGUS2 v4.5, but your display was factory-calibrated for DGUS v3.5, the screen is likely to be non-responsive. Try flashing it back to v3.5.
18+
19+
## Verify that you have met all of the following Pre-Requisites
20+
21+
1. The correct configuration of the CF6.1-Final CR6 Community Firmware must already be flashed to the printer motherboard.
22+
23+
24+
# If the Display did not flash from your SD card (the screen remained blank or zero files were copied)
25+
26+
## You must have prepared a micro-SD card per the "SD card formatting instructions" below, to host the DWIN_SET folder
27+
28+
NOTE: SD, SDHC and SDXC cards will all work with the display, but:
29+
- the card must be partitioned to the Master Boot Record (MBR) standard, not GPT
30+
- the first partition **must** be a Primary Partition, formatted FAT32 with an allocation unit size of 4096 sectors. To achieve that FAT32 format with an SDHC or SDXC card, the first Primary Partition must be 16GB or less.
31+
32+
This YouTube video explains and demonstrates how to prepare SDHC or SDXC cards: https://youtu.be/CEvQpMpNxbY
33+
34+
## Try a Different SD card
35+
36+
The touch screen is very picky when it comes to SD cards, partitioning and partition sizes.
37+
38+
If you did follow the README instructions carefully and you still could not flash the files properly, try a different SD card and double check that you follow the SD card formatting instructions precisely.
39+
40+
## SD card formatting instructions
41+
42+
### Windows Users
43+
44+
You can use the Windows File Explorer to format 16GB cards or smaller, to FAT32, 4096.
45+
46+
#### If you are trying to format an SDHC 32GB card, or a larger (SDXC) card, and can't find the option for FAT32, 4096 in File Explorer when formatting your SD card
47+
The partition is too large. You can either use a smaller SD card or you can shrink or split the partition in Disk Manager.
48+
49+
NOTE: Disk Manager can only shrink volumes which are formatted NTFS. If the card is already formatted FAT32 with the wrong allocation unit size, you can use Disk Manager to:
50+
51+
1. Format the card back to NTFS
52+
2. Shrink or Split the volume, so that the first Primary Partition is smaller than 16GB
53+
3. Format the first Primary Partition on the card to FAT32, 4096
54+
55+
56+
#### If the card shows that the first partition is a Logical Partition instead of a Primary Partition
57+
The printer will not be able to read the card, until you create a Primary Partition as the first partition on that card.
58+
59+
If there is Unallocated Space on the card, to the left of the Logical Partition, right click on that space and select Create New Volume. Use the Wizard to create a new Primary Partition in that space. Format that new partition FAT32, 4096.
60+
61+
If there is no Unallocated Space to the left of the Logical Partition, you can try right-clicking that partition and shrinking that volume to create unallocated space. (NOTE that a partition must be formatted NTFS, to be able to shrink it)
62+
63+
If you are not able to create a Primary Partition on that card, you may need to delete the volume on which the Logical Partition(s) exist.
64+
65+
**Be aware that Disk Manager may not be able to read an SD card that has NO volumes on it.**
66+
If you delete all volumes on the card and Disk Manager is no longer able to launch the Create New Volume Wizard for that card, you may need to use a commercial Disk Partitioning software to recover the card.
67+
68+
Alternatively, you may find that a digital camera or an alternative (eg. Linux or Mac) system can reformat the card for you.
69+
70+
71+
### Linux Users
72+
73+
The SD-card should be formatted FAT32 with 4096 cluster size, with only one partition on the card, starting at sector 8192. The partion should be of type b, "W95 FAT32". Partition table type GPT does not work. The card must be partitioned as MBR, so choose type DOS.
74+
75+
Commands:
76+
77+
fdisk /dev/sdX where sdX is your SD card's device
78+
79+
In fdisk:
80+
81+
o (new DOS(MBR) partition table)
82+
n (new partition)
83+
p (primary)
84+
1 (partition nr)
85+
8192 (starting sector)
86+
enter (last sector) ---> if your SD card is bigger than 8Gb, enter a lower sector number here so that the partition <8Gb
87+
t (change type)
88+
b (hex code of W95 FAT32)
89+
w (write all changes to sd-card)
90+
91+
On the command line:
92+
93+
mkfs.fat -F 32 -s 8 /dev/sdX1
94+
fsck.fat -v /dev/sdX1
95+
mount /dev/sdX1 /mnt
96+
97+
For touchscreen firmware:
98+
99+
cp -r /path/to/touchscreen-firmware/DWIN_SET /mnt
100+
101+
### Mac Users
102+
103+
First, unmount the SDCard.
104+
105+
sudo diskutil unmountdisk /dev/diskXXX
106+
107+
Then, format it
108+
109+
sudo newfs_msdos -F 32 -c 8 -v micro /dev/diskXXX
110+
111+
To figure out what your SDCard path is, you can use the following command:
112+
113+
sudo diskutil list
114+
115+
It'll list all drives attached to your computer. Look for an entry that matches your SDCard size.
116+
117+
## Steps when you have formatted your SD card
118+
119+
Take the firmware archive and extract the DWIN_SET folder to the SD card, so that the DWIN_SET folder itself is present on the SD card. Note: Ensure this folder is empty/deleted before you copy the new firmware packages because some files may have been renamed!
120+
121+
Then, follow one of these YouTube videos to complete the flashing process:
122+
123+
https://www.youtube.com/watch?v=Jswzrh2_ekk
124+
https://www.youtube.com/watch?v=2-Mnin3_1jw
125+
https://www.youtube.com/watch?v=9jk3lirEfg0
126+
https://www.youtube.com/watch?v=9jk3lirEfg0
127+
128+
**Be careful that you don't short out the touch screen when flashing it. Ensure the power is not interrupted while flashing.**
129+
130+
131+
### What does a successful flash look like?
132+
133+
The flash process is completed when you see "END!", as shown in the image flash_succesful.jpg. Note that there are also several lines below that, each showing the number of files flashed to the display, listed by file suffix (there must be non-zero numbers displayed, as shown in that photo.)
134+
135+
If this is the first time you have flashed the required version of the DGUS OS, then the top line on the screen will name that version of DGUS2 in red text, written over top of white text naming the DGUS version that has been overwritten (upgraded.)
136+
137+
If you flash the display with the same DGUS kernel file that is already installed, the top line will again be in red text, but more easily read, since it will overwrite the same text written in white.
138+
139+
If you flash the firmware without including any kernel upgrade file in the DWIN_SET folder, then the top line will report the currently active version of DGUS on the display, written in white text.
140+
141+
142+
After flashing the touch screen has succeeded, you can turn the printer off, and remove the SD card.
143+
144+
If the motherboard was also flashed correctly, after restarting the printer the version will be shown (as shown in flash_succesful2.jpg). Make sure the version number reported matches that of the release of the firmware you downloaded. (e.g. "6.1-Final")
145+
146+
### What does an unsuccessful flash look like
147+
148+
- If you get an orange screen, flashing did **not** succeed.
149+
150+
- If you get a blue screen with END!, but the numbers of the updated files only showing "0", flashing did **not** succeed. Check the examples further down in this document for more information.
151+
152+
- If, after rebooting the printer, a message is shown about "TFT version mismatch" (like in flash_failed2.jpg) then flashing is not successful.
153+
154+
- if, after rebooting the printer, a message is shown about "Firmware flashed incorrectly" then your screen firmware might be flashed but your motherboard ignored the firmware update. You need to re-attempt flashing the motherboard. This sometimes happens on Creality v4.5.2/v4.5.3 boards - reformat your SD card and rename the ".bin" file of the motherboard firmware to something like "today.bin" or "1.bin" and retry.
155+
156+
**NOTE**
157+
We have observed with one user that even though the file counts were correct, the firmware still was not flashed correctly.
158+
159+
Some users have also used cards that work sometimes but not other times, which can be very confusing.
160+
161+
If you observe no issues with the firmware flashing but there are still elements missing on the touch screen, please try a different SD card, a smaller SD card and partition etc.
162+
163+
If the touchscreen looks right after flashing but does not respond when you tap the menu buttons on the screen, then you may have an incompatible combination of firmware, DGUS kernel version and display hardware. Try flashing again with the other kernel upgrade file. (Make sure there is only the one kernel file in the DWIN_SET folder.)
164+
165+
## Examples
166+
167+
**dwin-folder-on-sd-card.png** shows how you place the files on your SD card
168+
169+
![Files on your SD card](dwin-folder-on-sd-card.png)
170+
171+
**flashing_in_progress.jpg** shows the indicators that flashing is in progress
172+
173+
![Flashing of touch screen successful](flashing_in_progress.jpg)
174+
175+
**flash_succesful.jpg** shows the indicators that flashing has been successful
176+
177+
![Flashing of touch screen successful](flash_succesful.jpg)
178+
179+
**flash_succesful2.jpg** shows that after flashing the version number of the firmware is shown. If you (for instance) downloaded Community Firmware Release 7 then "CR6Comm-Rel7 Ready" would show.
180+
181+
![Flashing of touch screen successful](flash_succesful2.jpg)
182+
183+
**flash_failed.jpg** shows the indicators that flashing has been unsuccesful
184+
185+
![Flashing of touch screen failed](flash_failed.jpg)
186+
187+
**flash_failed2.jpg** shows that the firmware does not recognize the version of the TFT. The LED near the hotend will also keep flashing on and off.
188+
189+
![Flashing of touch screen failed](flash_failed2.jpg)
190+
191+
## Troubleshooting
192+
193+
Follow the instruction in "What does an unsuccessful flash look like".
194+
195+
### My touch screen is garbled, pages are shown partially or the screen stops responding
196+
197+
If the screen stops responding or is not displaying properly, try reflashing the firmware using a __different__ SD card.
198+
199+
200+
# If you need more help
201+
202+
Check this video tutorial playlist on YouTube: https://www.youtube.com/watch?v=Q6738aiEKkU&list=PLfDSKnF0RNcYDkxM5mYtyuvlTfMAMD-Nr
13.7 MB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[{000214A0-0000-0000-C000-000000000046}]
2+
Prop3=19,11
3+
[InternetShortcut]
4+
IDList=
5+
URL=https://github.com/CR6Community/Marlin/releases
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[{000214A0-0000-0000-C000-000000000046}]
2+
Prop3=19,11
3+
[InternetShortcut]
4+
IDList=
5+
URL=https://github.com/CR6Community/CR-6-touchscreen/releases

0 commit comments

Comments
 (0)