# Trying to upgrade Marlin to TH3DUF

**URL:** <https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506>\
**Category:** 3d Printing / Slicers / Setup / Problems\
**Created:** [July 2, 2020, 3:20pm UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506 "2020-07-02T15:20:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)\
**Post date:** [July 2, 2020, 3:20pm UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/1 "2020-07-02T15:20:25Z")

</div>

I have almost got Arduino working but I get this error message:  
delay  
Using library U8glib at version 1.18 in folder: /Users/larry/Documents/Arduino/libraries/U8glib  
exit status 1  
‘Creality’ does not name a type

I have no idea what that could mean. Can anyone give me a clue?

---

<div class="post-metadata">

**Author:** ![Alan](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/alan/32/26_2.png) [@Alan](https://forum.makewithtech.com/u/Alan)\
**Post date:** [July 2, 2020, 4:54pm UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/2 "2020-07-02T16:54:04Z")

</div>

Can you open “…Documents/Arduino/libraries/hardware/” and confirm that the “arduino” and “sanguine” folders are there?

Just a thought

---

<div class="post-metadata">

**Author:** ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)\
**Post date:** [July 2, 2020, 5:31pm UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/3 "2020-07-02T17:31:39Z")

</div>

I have done that, they are there. If I could get an idea of what this error message means I think I’m almost there.

---

<div class="post-metadata">

**Author:** ![Alan](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/alan/32/26_2.png) [@Alan](https://forum.makewithtech.com/u/Alan)\
**Post date:** [July 2, 2020, 6:02pm UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/4 "2020-07-02T18:02:46Z")

</div>

Ok, then try e-mailing the company. I’ll see if I can “install” (won’t work with my printers) the software in a bit.

Cheers

---

<div class="post-metadata">

**Author:** ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)\
**Post date:** [July 2, 2020, 6:54pm UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/5 "2020-07-02T18:54:28Z")

</div>

I didn’t understand what you are getting at.

---

<div class="post-metadata">

**Author:** ![Alan](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/alan/32/26_2.png) [@Alan](https://forum.makewithtech.com/u/Alan)\
**Post date:** [July 3, 2020, 12:17am UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/6 "2020-07-03T00:17:19Z")

</div>

Sorry, I meant e-mail TH3D and ask them what the error message means.

That said, I followed the instructions in the Mac setup guide [here](https://support.th3dstudio.com/hc/en-us/articles/360043728431-Arduino-IDE-for-Mac-OS-X-Setup-Guide) with no errors. I used TH3DUF\_R2. At this point, I am supposed to edit (uncomment) the Configuration.h file (5th tab from the left in Arduino) for the right printer. I stopped here as I do not know what specific model you are flashing. Maybe @Ender5r can help.

I’ll paste the instructions under the Configuration.h tab below in case it helps.

Cheers

* * *

- STEP 1:
- Select the correct board from the tools menu for the printer you are flashing.
- Read the printer title for the model you are flashing, it will show what board to select.
- 
- STEP 2:
- Uncomment the printer you want to flash. The printers are sorted A-Z by brand name.
- If you are using the Creality Dual board with the Ender 3/Ender 5/CR-20 then read the specific section below in that printer section on how to do this.
- 
- STEP 3:
- Select the COM port your printer is on from the Tools menu. If you do not see the COM port try
- downloading the latest drivers from the manufacturer or TH3D site on our knowledgebase.
- 
- STEP 4:
- Verify you have the correct board selected, printer model uncommented, and if you are using EZOUT and/or EZABL
- the lines you need to use them are also uncommented.
- 
- STEP 5:
- Once you have your settings verified click the arrow in the upper left to upload to the board.
- 
- STEP 6:
- Reset your eeprom. You can send M502 then M500 to reset the EEPROM OR on the printer LCD go to
- Control \> Reset EEPROM to clear out the EEPROM to defaults.

---

<div class="post-metadata">

**Author:** ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)\
**Post date:** [July 3, 2020, 12:50am UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/7 "2020-07-03T00:50:51Z")

</div>

I shall certainly try this. Thank you.

---

<div class="post-metadata">

**Author:** ![Ender5r](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@Ender5r](https://forum.makewithtech.com/u/Ender5r)\
**Post date:** [July 3, 2020, 12:57am UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/8 "2020-07-03T00:57:36Z")

</div>

@Alan, when I read @ roon4660’s OP, I thought, “I bet he hasn’t set a printer model in the config file”. It sounds like you’re thinking the same.  
.  
@ roon4660, my suspicion is that you missed an instruction in the list, the one where you have to edit the configuration.h file. It has entries that cover a wide range of printers. You have to remove the comment character(s) from the left of the line that contains your printer (Ender 3 Pro). My suspicion is that the error is telling you, “Hey, I found “Creality” but there wasn’t a model to go with it”.  
​​​​​​​

---

<div class="post-metadata">

**Author:** ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)\
**Post date:** [July 3, 2020, 1:55am UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/9 "2020-07-03T01:55:32Z")

</div>

I did uncomment creality ender 3 and did look at whatever else I should uncomment but found nothing.

---

<div class="post-metadata">

**Author:** ![Alan](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/alan/32/26_2.png) [@Alan](https://forum.makewithtech.com/u/Alan)\
**Post date:** [July 3, 2020, 2:09am UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/10 "2020-07-03T02:09:10Z")

</div>

@Ender5r Yup! Something related to the Config file.

Does your Configure.h file look like this? (@Ender5r Please double check my work!)

//================================================== =========================  
// Creality Ender 3/3 Pro Options - Select ‘Sanguino 1284p’ from Tools \> Board  
//================================================== =========================  
#define ENDER3

// If you are using our EZOut V1/V2 (connected to LCD header) filament sensor kit please follow the install guide  
// and then uncomment the #define EZOUT\_ENABLE line below.  
// Do NOT ever connect our filament sensor without the supplied adapter board.  
//#define EZOUT\_ENABLE

// EZABL Probe Mounts (Ender 3 uses the same mounts as CR-10)  
#define CR10\_OEM  
#define CR10\_VOLCANO  
#define CR10\_V6HEAVYDUTY  
#define TM3DAERO  
#define TM3DAERO\_EXTENDED  
#define PETSFANG //This is the RIGHT mounted version - if using the left mount please use the CUSTOM\_PROBE option.  
#define CUSTOM\_PROBE

// Ender Xtender Kit Options  
//#define ENDER\_XTENDER\_400  
//#define ENDER\_XTENDER\_400XL  
//#define ENDER\_XTENDER\_XL

It is hard to diagnose this over the Internet, but I think we are past the MAC OSX specific issues.

Cheers

---

<div class="post-metadata">

**Author:** ![Ender5r](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@Ender5r](https://forum.makewithtech.com/u/Ender5r)\
**Post date:** [July 3, 2020, 2:17am UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/11 "2020-07-03T02:17:11Z")

</div>

@Alan, from that file, the only thing I see that needs changing is the #define ENDER3. Just remove the # at the beginning of the line. And, of course, follow the instruction just before that line and select the Sanguino 1284p. Agreed?

---

<div class="post-metadata">

**Author:** ![Alan](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/alan/32/26_2.png) [@Alan](https://forum.makewithtech.com/u/Alan)\
**Post date:** [July 3, 2020, 2:30am UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/12 "2020-07-03T02:30:14Z")

</div>

@Ender5r I defer to you (I am no programmer)! At the beginning of the file, there is this guidance: “\* Uncomment means removing the 2 // in front of #define.” Agreed on Selecting the Sanguino 1284p board (I missed that).

Cheers

---

<div class="post-metadata">

**Author:** ![Ender5r](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@Ender5r](https://forum.makewithtech.com/u/Ender5r)\
**Post date:** [July 3, 2020, 2:34am UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/13 "2020-07-03T02:34:24Z")

</div>

Ah. I see what you mean. You are probably right. The problem is that the characters used to comment a line out vary from language to language. If it says to remove the //, then that likely means the # is a special character used to indicate the start of a new section. I’ve seen that done before.

---

<div class="post-metadata">

**Author:** ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)\
**Post date:** [July 3, 2020, 12:15pm UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/14 "2020-07-03T12:15:49Z")

</div>

I’m quite sure I just took out the // and not the #. creality ender 3/pro is clearly un commented and I have selected sanguino 1248p from tools board. I have a query in to TH3D about the error message and gave them all my details. 'Crality does not name a type. I am awaiting their reply now. Thanks for all your help gentlemen.

---

<div class="post-metadata">

**Author:** ![Ender5r](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@Ender5r](https://forum.makewithtech.com/u/Ender5r)\
**Post date:** [July 3, 2020, 3:19pm UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/15 "2020-07-03T15:19:12Z")

</div>

I’m beginning to think the issue with compiling the firmware is that a line in the main program is trying to find something in U8glib.h, but can’t find it. This could be somewhat time consuming to locate, especially as I’ve never programmed Arduino before. I’ll give it a shot, but someone who works with Arduino all the time is likely to find it faster. In any case, I’m suspecting it thinks something is missing in U8glib.h.  
.  
@Alan, did you say you successfully compiled & installed the firmware using a Mac?

---

<div class="post-metadata">

**Author:** ![Ender5r](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@Ender5r](https://forum.makewithtech.com/u/Ender5r)\
**Post date:** [July 3, 2020, 3:27pm UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/16 "2020-07-03T15:27:51Z")

</div>

Wow, I just went through the MacOSX instructions located here: [https://support.th3dstudio.com/hc/en-us/articles/360043728431-Arduino-IDE-for-Mac-OS-X-Setup-Guide](https://support.th3dstudio.com/hc/en-us/articles/360043728431-Arduino-IDE-for-Mac-OS-X-Setup-Guide). Compared to the Windows instructions, they are very complicated. Unzip this, copy these files to this folder (and, oh, BTW, be sure to create the folder first and only name it using lowercase), switch from this view to that, etc., etc.

---

<div class="post-metadata">

**Author:** ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)\
**Post date:** [July 3, 2020, 4:41pm UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/17 "2020-07-03T16:41:30Z")

</div>

I think I nearly have it if I could get a response from TH3D about the error message.

---

<div class="post-metadata">

**Author:** ![Alan](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/alan/32/26_2.png) [@Alan](https://forum.makewithtech.com/u/Alan)\
**Post date:** [July 3, 2020, 8:55pm UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/18 "2020-07-03T20:55:46Z")

</div>

> [@Ender5r](#):
>
> @Alan, did you say you successfully compiled & installed the firmware using a Mac?

Unfortunately, I do not have a printer with a compatible board to test. ☹

---

<div class="post-metadata">

**Author:** ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)\
**Post date:** [July 3, 2020, 9:29pm UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/19 "2020-07-03T21:29:37Z")

</div>

I;m not sure what you mean. Or why.

---

<div class="post-metadata">

**Author:** ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)\
**Post date:** [July 3, 2020, 10:08pm UTC](https://forum.makewithtech.com/t/trying-to-upgrade-marlin-to-th3duf/2506/20 "2020-07-03T22:08:12Z")

</div>

I think I just figured it out, remember I’m old and slow on the uptake.
