<p>According to the <a href="https://www.dropbox.com/s/e1ab6p2s8j61w6q/Marlin.rar?dl=0" rel="nofollow noreferrer">link to the fork of Marlin</a> you need to be sure that a bootloader is present before flashing, see <a href="https://www.dropbox.com/s/e1ab6p2s8j61w6q/Marlin.rar?dl=0&amp;file_subpath=%2FMarlin%2Fpins_MELZI_WYH.h" rel="nofollow noreferrer">pins_MELZI_WYH.h</a>:</p>

<blockquote>
<pre>/**
 * Melzi (WYH) pin assignments
 *
 * The WYH-128 board needs a bootloader installed before Marlin can be uploaded.
 * If you don't have a chip programmer you can use a spare Arduino plus a few
 * electronic components to write the bootloader.
 *
 * See http://www.instructables.com/id/Burn-Arduino-Bootloader-with-Arduino-MEGA/
 */</pre>
</blockquote>

<p>From this same pins layout file you can find hints to the usage of the <code>REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER</code> display:</p>

<blockquote>
<pre>// For the stock M18 use the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
//   option for the display in Configuration.h</pre>
</blockquote>

<p>Maybe you can use that one instead of the "Mini VIKI". Though, an internet search, does hint to the "Mini VIKI" being the correct display for this printer, but it does look different from other Mini VIKI displays.</p>

<p>Note that in the <a href="https://www.dropbox.com/s/e1ab6p2s8j61w6q/Marlin.rar?dl=0&amp;file_subpath=%2FMarlin%2FConfiguration.h" rel="nofollow noreferrer">Configuration.h</a>, by default this display is not enabled as can be seen:</p>

<blockquote>
<pre>// RepRapDiscount FULL GRAPHIC Smart Controller
// http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
</pre>
</blockquote>

CC BY-SA 4.0
2019-10-11T07:51:23.730Z
2019-10-13T23:06:39.007Z
2019-10-13T23:06:39.007Z
0scar
<p>I know this is a closed and already answered question, but for anybody having an Alfawise EX8 and wanting to update the firmware, I've changed some things in the Marlin bugfix-1.1.x version, so that it now works perfectly with this printer. You can find it <a href="https://drive.google.com/file/d/1QdZ8sDM-sSaSmGTotOO53IB8hTDuy6Yw/view?usp=sharing" rel="nofollow noreferrer">here</a>. The issue with the display is in the file ultralcd_st7565_u8glib_VIKI.h. The Alfawise EX8 version contains added functions like contrast adjustments and addressing offset, which is not present in the Marlin vanilla version. Also, the original Alfawise firmware grabbed 93% of RAM for global variables, which lead to unstability and in my case to spliting screen and other issues. Now there are only 46% allocated. I suspect the SD alpha sorting of this, as you can clearly see in the advanced config, that it creates an array of more than 200 instances. 37B each. Sooo since I don't usually hoard gcode files on my SD card, I disabled the sorting completelly. Feel free to make adjustments to your own taste!
Wish you luck and many successful prints! :)</p>
<p>EDIT: If you are still experiencing glithes with the LCD, try separating the LCD data cable from the extruder cables. I didn't. My bad. Also, don't add capacitors between power inputs. Caused more problems than it solved and yes, I know how to connect an electrolytic capacitor. The firmware is fully functional, working with a MightyCore bootloader inside. There was an issue with the SD print abort function. In the bugfix version, there is a gcode function added to abort SD print and it somehow doesn't work too well with the LCD option. So I removed the gcode from Marlin_main.cpp and brought some things from the original firmware to get it working. Also since the SD was really slow, I had to re-enable the alpha sorting using RAM, but decreased the array size to 30 instances. For the memory it means, that right now it is at 89% Flash and 39% RAM usage. Enjoy! :)</p>
<p>BTW: For anyone saying that you cannot print good prints on this printer, I just printed tha Maker's Muse Gauge and clearance test model, and got it moving completely! That's pretty awesome for a printer that cost me less than 150€.</p>

CC BY-SA 4.0
2020-11-24T07:47:07.370Z
This could be very helpful to others! Even better would be to incorporate this into creating a pull request to save your code changes to the original sources and rewrite your answer to point to the code changes!
0scar
CC BY-SA 4.0
2020-11-24T12:01:15.273Z
Thanks. Sadly, the LCD is still glitchy at times, so I'm trying to figure out the problem right now. Just thought to put it down for now to avoid unnecessary issues.
Jakub Perička
CC BY-SA 4.0
2020-11-24T12:46:21.990Z
Sorry, I wasn't aware that it was glitching. Please mention that in the answer as well as your code changes. If you work it out please update the answer! Hope you get the glitches out!
0scar
CC BY-SA 4.0
2020-11-24T14:26:37.683Z
In fact it seems like a bootloader issue. Now it crossed my mind that when I bought the printer, it had no bootloader and when I tried optiboot, the display would not work. It works sort of with the sanguino bootloader, but I'm gonna try to just flash the firmware via ICSP. I will update the post as I manage to get it working properly.
Jakub Perička
CC BY-SA 4.0
2020-11-23T23:20:44.833Z
2020-11-24T21:55:23.933Z
2020-11-24T21:55:23.933Z
Jakub Perička
<p>I have the same problem.</p>
<p>I think it is not a bootloader problem because the screen is all blue but machine can work with serial connexion. I tried to use the new Jakub's file but it doesn't work either.</p>
<p>I found new type of screen for EX8 on Marlin V2 called &quot;WYH_L12864_LCD&quot; - Has anyone tried this solution?</p>

CC BY-SA 4.0
2022-03-08T23:03:23.233Z
Hi and welcome. Could you [edit] you answer so that it isn't another question? Otherwise it could end up being deleted as "Not an answer". Either that, or ask another new question (you can refer back to this question, using the URL, if need be). Please take the [tour] to get a better understanding of how the Q&A mechanism of Stack Exchange works.
Greenonline
CC BY-SA 4.0
2022-03-09T08:03:03.333Z
Please try the "WYH_L12864_LCD" solution yourself and see if it works, you can then change your answer in a proper answer, even if it doesn't work. Otherwise we need to move this answer to a comment on the Question or delete the answer. "Me too" answers are not allowed. Please remember that SE is a Q and A website, not a threaded message forum.
0scar
CC BY-SA 4.0
2022-03-10T08:10:57.563Z
Sorry. I thought publish a new question with the same content was not good idea. I would like like to publish as comment but website blocked me (missing 50 reputation). I'm going to change this publish soon.
Simondft
CC BY-SA 4.0
2022-03-08T19:52:56.420Z
2022-03-08T23:18:58.833Z
2022-03-08T23:18:58.833Z
Simondft
<p>My Alfawise EX8 (Anet A8 Clone) had an issue, so I flashed the <a href="https://www.dropbox.com/s/e1ab6p2s8j61w6q/Marlin.rar?dl=0" rel="nofollow noreferrer">firmware</a> provided on the GearBest page. After the flash the LCD is no longer doing anything and I can't really identify the LCD to confirm whether the correct one is selected in configuration.h </p>

<p>Currently the firmware had 'Mini VIKI' selected, but I'm not confident it works.</p>

<p>I cannot see anything on the screen, but I can still turn the dial and click things to make it do stuff.</p>

<p></p>

<p><a href="https://i.sstatic.net/YMky7m.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/YMky7m.jpg" alt="enter image description here"></a><a href="https://i.sstatic.net/aAhbkm.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/aAhbkm.jpg" alt="enter image description here"></a></p>

<p>I really hope somebody can help!</p>

CC BY-SA 4.0
2019-10-09T19:48:32.687Z
Why do you rephrase and repost [the question](https://3dprinting.stackexchange.com/questions/11143/alfawise-ex8-flashing-issue), please use a single account, you can always edit the question.
0scar
CC BY-SA 4.0
2019-10-09T21:54:00.253Z
Hi Ollie, would you like to have this account merged with your [other account](https://3dprinting.stackexchange.com/users/18779/oliver-gerrard?tab=profile) which you used to post the nearly [identical question](https://3dprinting.stackexchange.com/questions/11143/alfawise-ex8-flashing-issue)? How do these two questions differ?
Greenonline
CC BY-SA 4.0
2019-10-10T06:19:59.913Z
Download a clean copy of the firmware from the official site (https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x) and adapt the changes from the firmware you've downloaded.
That display appears to be a standard-ish "RepRapDiscount Full Graphics Smart Controller", but certainly not a "MiniVIKI"
towe
CC BY-SA 4.0
2019-10-10T11:22:01.220Z
Probable duplicate of [Alfawise EX8 Flashing issue](https://3dprinting.stackexchange.com/questions/11143/alfawise-ex8-flashing-issue)
Greenonline
CC BY-SA 4.0
2019-10-10T16:03:07.363Z
@towe That will not work as the printer uses a specific Melzi board that is not available in Marlin, only in the vendor's link to a fork of the software. It uses the standard Melzi pin layout at first but then redefines pins, notably LCD pins.
0scar
CC BY-SA 4.0
2019-10-11T05:55:06.660Z
@0scar One of the "Sanguinololu" types, like Tronxy uses? That's rather easily added in; https://github.com/Lauszus/Sanguino
Do you have a link to that manufacturer firmware?
towe
CC BY-SA 4.0
2019-10-11T07:52:42.000Z
@towe Yes it is a "Sanguinololu" type, link to firmware is found [here](https://www.dropbox.com/s/e1ab6p2s8j61w6q/Marlin.rar?dl=0), I updated the question with the link.
0scar
<marlin><firmware><lcd-screen>
Anet A8 Clone LCD not working after flash
Ollie
# Anet A8 Clone LCD not working after flash

(Asked by: username_0 on 2019-10-09)

My Alfawise EX8 (Anet A8 Clone) had an issue, so I flashed the [firmware](https://www.dropbox.com/s/e1ab6p2s8j61w6q/Marlin.rar?dl=0) provided on the GearBest page. After the flash the LCD is no longer doing anything and I can't really identify the LCD to confirm whether the correct one is selected in configuration.h

Currently the firmware had 'Mini VIKI' selected, but I'm not confident it works.

I cannot see anything on the screen, but I can still turn the dial and click things to make it do stuff.

[![enter image description here](https://i.sstatic.net/YMky7m.jpg)](https://i.sstatic.net/YMky7m.jpg)[![enter image description here](https://i.sstatic.net/aAhbkm.jpg)](https://i.sstatic.net/aAhbkm.jpg)

I really hope somebody can help!

**Tags:** marlin, firmware, lcd-screen
> **Comments:**
> **username_1**: Why do you rephrase and repost [the question](https://3dprinting.stackexchange.com/questions/11143/alfawise-ex8-flashing-issue), please use a single account, you can always edit the question.  
> **username_2**: Hi Ollie, would you like to have this account merged with your [other account](https://3dprinting.stackexchange.com/users/18779/oliver-gerrard?tab=profile) which you used to post the nearly [identical question](https://3dprinting.stackexchange.com/questions/11143/alfawise-ex8-flashing-issue)? How do these two questions differ?  
> **username_3**: Download a clean copy of the firmware from the official site (https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x) and adapt the changes from the firmware you've downloaded. That display appears to be a standard-ish "RepRapDiscount Full Graphics Smart Controller", but certainly not a "MiniVIKI"  
> **username_2**: Probable duplicate of [Alfawise EX8 Flashing issue](https://3dprinting.stackexchange.com/questions/11143/alfawise-ex8-flashing-issue)  
> **username_1**: @towe That will not work as the printer uses a specific Melzi board that is not available in Marlin, only in the vendor's link to a fork of the software. It uses the standard Melzi pin layout at first but then redefines pins, notably LCD pins.  
> **username_3**: @0scar One of the "Sanguinololu" types, like Tronxy uses? That's rather easily added in; https://github.com/Lauszus/Sanguino Do you have a link to that manufacturer firmware?  
> **username_1**: @towe Yes it is a "Sanguinololu" type, link to firmware is found [here](https://www.dropbox.com/s/e1ab6p2s8j61w6q/Marlin.rar?dl=0), I updated the question with the link.  

---

## 3 answers

### Answer by username_1 on 2019-10-11. Score: 2

According to the link to the fork of Marlin you need to be sure that a bootloader is present before flashing, see pins_MELZI_WYH.h:

/**
 * Melzi (WYH) pin assignments
 *
 * The WYH-128 board needs a bootloader installed before Marlin can be uploaded.
 * If you don't have a chip programmer you can use a spare Arduino plus a few
 * electronic components to write the bootloader.
 *
 * See http://www.instructables.com/id/Burn-Arduino-Bootloader-with-Arduino-MEGA/
 */

From this same pins layout file you can find hints to the usage of the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER display:

// For the stock M18 use the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
//   option for the display in Configuration.h

Maybe you can use that one instead of the "Mini VIKI". Though, an internet search, does hint to the "Mini VIKI" being the correct display for this printer, but it does look different from other Mini VIKI displays.
Note that in the Configuration.h, by default this display is not enabled as can be seen:

// RepRapDiscount FULL GRAPHIC Smart Controller
// http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER


---

### Answer by username_4 on 2020-11-23. Score: 1

I know this is a closed and already answered question, but for anybody having an Alfawise EX8 and wanting to update the firmware, I've changed some things in the Marlin bugfix-1.1.x version, so that it now works perfectly with this printer. You can find it [here](https://drive.google.com/file/d/1QdZ8sDM-sSaSmGTotOO53IB8hTDuy6Yw/view?usp=sharing). The issue with the display is in the file ultralcd\_st7565\_u8glib\_VIKI.h. The Alfawise EX8 version contains added functions like contrast adjustments and addressing offset, which is not present in the Marlin vanilla version. Also, the original Alfawise firmware grabbed 93% of RAM for global variables, which lead to unstability and in my case to spliting screen and other issues. Now there are only 46% allocated. I suspect the SD alpha sorting of this, as you can clearly see in the advanced config, that it creates an array of more than 200 instances. 37B each. Sooo since I don't usually hoard gcode files on my SD card, I disabled the sorting completelly. Feel free to make adjustments to your own taste!
Wish you luck and many successful prints! :)

EDIT: If you are still experiencing glithes with the LCD, try separating the LCD data cable from the extruder cables. I didn't. My bad. Also, don't add capacitors between power inputs. Caused more problems than it solved and yes, I know how to connect an electrolytic capacitor. The firmware is fully functional, working with a MightyCore bootloader inside. There was an issue with the SD print abort function. In the bugfix version, there is a gcode function added to abort SD print and it somehow doesn't work too well with the LCD option. So I removed the gcode from Marlin\_main.cpp and brought some things from the original firmware to get it working. Also since the SD was really slow, I had to re-enable the alpha sorting using RAM, but decreased the array size to 30 instances. For the memory it means, that right now it is at 89% Flash and 39% RAM usage. Enjoy! :)

BTW: For anyone saying that you cannot print good prints on this printer, I just printed tha Maker's Muse Gauge and clearance test model, and got it moving completely! That's pretty awesome for a printer that cost me less than 150€.

> **Comments:**
> **username_1**: This could be very helpful to others! Even better would be to incorporate this into creating a pull request to save your code changes to the original sources and rewrite your answer to point to the code changes!  
> **username_4**: Thanks. Sadly, the LCD is still glitchy at times, so I'm trying to figure out the problem right now. Just thought to put it down for now to avoid unnecessary issues.  
> **username_1**: Sorry, I wasn't aware that it was glitching. Please mention that in the answer as well as your code changes. If you work it out please update the answer! Hope you get the glitches out!  
> **username_4**: In fact it seems like a bootloader issue. Now it crossed my mind that when I bought the printer, it had no bootloader and when I tried optiboot, the display would not work. It works sort of with the sanguino bootloader, but I'm gonna try to just flash the firmware via ICSP. I will update the post as I manage to get it working properly.  

---

### Answer by username_5 on 2022-03-08. Score: 0

I have the same problem.

I think it is not a bootloader problem because the screen is all blue but machine can work with serial connexion. I tried to use the new Jakub's file but it doesn't work either.

I found new type of screen for EX8 on Marlin V2 called "WYH\_L12864\_LCD" - Has anyone tried this solution?

> **Comments:**
> **username_2**: Hi and welcome. Could you [edit] you answer so that it isn't another question? Otherwise it could end up being deleted as "Not an answer". Either that, or ask another new question (you can refer back to this question, using the URL, if need be). Please take the [tour] to get a better understanding of how the Q&A mechanism of Stack Exchange works.  
> **username_1**: Please try the "WYH_L12864_LCD" solution yourself and see if it works, you can then change your answer in a proper answer, even if it doesn't work. Otherwise we need to move this answer to a comment on the Question or delete the answer. "Me too" answers are not allowed. Please remember that SE is a Q and A website, not a threaded message forum.  
> **username_5**: Sorry. I thought publish a new question with the same content was not good idea. I would like like to publish as comment but website blocked me (missing 50 reputation). I'm going to change this publish soon.  

---

