# Latest Firmware for TAZ5 - advanced development version

**URL:** <https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451>\
**Category:** Software\
**Created:** [May 17, 2016, 3:00pm UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451 "2016-05-17T15:00:38Z")\
**Posts on this page:** 20\
**Page:** 9

<div class="post-metadata">

**Author:** ![aliasmeum](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@aliasmeum](https://forum.lulzbot.com/u/aliasmeum)\
**Post date:** [July 7, 2017, 8:11am UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/161 "2017-07-07T08:11:57Z")

</div>

I have been experimenting by myself, feels a bit scary when you are new to this 🙂

Filament change sounds like a feature I do not need right now so I commented out “#define FILAMENT\_CHANGE\_FEATURE” in “Configuration\_adv.h” and got rid off the error from the previous post.  
Recompiling I got this error message:

_planner.cpp:145: error: ‘LIN\_ADVANCE\_E\_D\_RATIO’ was not declared in this scope  
Planner::advance\_ed\_ratio = LIN\_ADVANCE\_E\_D\_RATIO,  
^  
exit status 1  
‘LIN\_ADVANCE\_E\_D\_RATIO’ was not declared in this scope_

If I understand it right, Linear advance is one of the great improvements in this firmware version, so I guess I want to keep this function.  
In “Configuration\_adv.h” from repository there is a section where “#define LIN\_ADVANCE\_E\_D\_RATIO 0”. This line is missing in the other “Configuration\_adv.h” file. I do not know what to do about this, so I commented out “#define LIN\_ADVANCE”, for now, and the firmware is now compiling.

I will now start comparing Sebastians configuration files with the ones from Lulzbots “Marlin\_TAZ45\_Uaru\_1.0.0.1” to see if there is any obvious (to me) changes, specific for my printer, that I have to do.

---

<div class="post-metadata">

**Author:** ![Sebastian](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@Sebastian](https://forum.lulzbot.com/u/Sebastian)\
**Post date:** [July 7, 2017, 4:37pm UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/162 "2017-07-07T16:37:11Z")

</div>

Most likely you used a new Version of Marlin with a copy&paste version of old config files. Due to changes in the file structure and also new features, that’s never a good idea and mostly it will not work.  
As this thread is quite old, please use the latest BugFix version of Marlin release: [https://github.com/MarlinFirmware/Marlin](https://github.com/MarlinFirmware/Marlin)  
Then, use the new Configuration.h and Configuration\_adv.h files and change the settings according to your current config file. Open them side by side makes it easier.

---

<div class="post-metadata">

**Author:** ![aliasmeum](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@aliasmeum](https://forum.lulzbot.com/u/aliasmeum)\
**Post date:** [July 7, 2017, 5:58pm UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/163 "2017-07-07T17:58:19Z")

</div>

Thank you Sebastian,

Just to make sure. I should use the configuration files included in the release from :[https://github.com/MarlinFirmware/Marlin](https://github.com/MarlinFirmware/Marlin), and not replace them with your configuration files from the previous post?  
Does this mean that all your improvements to the firmware, that people seems so happy about, is now included in the new release of Marlin?

Regards Robert

---

<div class="post-metadata">

**Author:** ![Sebastian](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@Sebastian](https://forum.lulzbot.com/u/Sebastian)\
**Post date:** [July 7, 2017, 6:20pm UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/164 "2017-07-07T18:20:04Z")

</div>

Yes, they got merged quite a long time ago.

---

<div class="post-metadata">

**Author:** ![aliasmeum](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@aliasmeum](https://forum.lulzbot.com/u/aliasmeum)\
**Post date:** [July 7, 2017, 6:40pm UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/165 "2017-07-07T18:40:35Z")

</div>

Thank you so much Sebastian,

It is really not easy for a beginner to find out about things like this. Just a simple question like what firmware I can use instead of the .hex that Lulzbot supply can easily lead into a google-labyrinth. I ended, luckily, up here in your topic.

I have started editing the configuration files according to my current ones, looking forward to try the new firmware and learn more along the way.

Regards Robert

---

<div class="post-metadata">

**Author:** ![Rp1030](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@Rp1030](https://forum.lulzbot.com/u/Rp1030)\
**Post date:** [October 14, 2017, 2:42pm UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/166 "2017-10-14T14:42:55Z")

</div>

When I upload this [https://github.com/MarlinFirmware/Marlin](https://github.com/MarlinFirmware/Marlin)  
my printer freezes and is unresponsive. After restarting my printer I get a blank LCD screen.

---

<div class="post-metadata">

**Author:** ![Menissalt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/menissalt/32/9322_2.png) [@Menissalt](https://forum.lulzbot.com/u/Menissalt)\
**Post date:** [October 18, 2017, 9:59pm UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/167 "2017-10-18T21:59:33Z")

</div>

> [@](#):
>
> When I upload this [GitHub - MarlinFirmware/Marlin: Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.](https://github.com/MarlinFirmware/Marlin)  
> my printer freezes and is unresponsive. After restarting my printer I get a blank LCD screen.

You’re on the wrong branch, all machines and toolheads use the same repo now and it’s beautiful. You just need to change 1-2 lines in the Configuration\_LulzBot.h file to specify your machine and toolhead.

Here’s the devl link- [LulzBot 3D · GitLab](https://code.alephobjects.com/diffusion/MARLIN/repository/devel/)

---

<div class="post-metadata">

**Author:** ![discojon](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@discojon](https://forum.lulzbot.com/u/discojon)\
**Post date:** [October 22, 2017, 6:03pm UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/168 "2017-10-22T18:03:47Z")

</div>

I finally updated to the most recent development build from my old custom build. With my TAZ 5 having a probe for auto leveling I had to change a bit and remove the lulzbot variables for auto leveling. It all is working well so far, auto leveling and all. I’d like to add a TAZ 5 autolevel variant to the fw. Just need to explore the fw some more.

---

<div class="post-metadata">

**Author:** ![artistebot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/artistebot/32/128_2.png) [@artistebot](https://forum.lulzbot.com/u/artistebot)\
**Post date:** [November 9, 2017, 6:35pm UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/169 "2017-11-09T18:35:25Z")

</div>

**I apologize if this has already been covered. It is also possible I might be posting in the wrong thread? [https://forum.lulzbot.com/t/hot-tip-for-the-taz/94/1](https://forum.lulzbot.com/t/hot-tip-for-the-taz/94/1) Might be more appropriate, I apologize.**

After installing the “E3D Titan Aero Toolhead” from [itworks3d.com](http://itworks3d.com) I find the the heater block strikes my bed clamps since it is so low.

I am getting errors when trying to re-complie the stock Taz 5 Marlin (1.0.0.1) “something to do with u8glib…” I don’t have it in front of me to be exact, but the error seems similar to this post:

[https://discuss.toms3d.org/viewtopic.php?f=5&t=97&p=668&hilit=lulzbot+5#p668](https://discuss.toms3d.org/viewtopic.php?f=5&t=97&p=668&hilit=lulzbot+5#p668)

**Since I am messing w Marlin I might as well update…**

I am trying to update my Taz5 with a current marlin so I can offset the “home all” position., the steps I understand I need to do is:

Download the latest bugfix ver here: (place the “Marlin” folder within the Marlin install directory)

[https://github.com/MarlinFirmware/Marlin](https://github.com/MarlinFirmware/Marlin)

Then replace the Configuration.h and Configuration\_adv.h with the ones from here: (within the “Marlin” directory)

[https://code.alephobjects.com/diffusion/MARLIN/browse/devel/Marlin/](https://code.alephobjects.com/diffusion/MARLIN/browse/devel/Marlin/)  
  
  
As well as use the Configuration\_LulzBot.h from here:

[https://code.alephobjects.com/diffusion/MARLIN/browse/devel/Marlin/](https://code.alephobjects.com/diffusion/MARLIN/browse/devel/Marlin/)

For my almost stock TAZ5 the “Configuration\_LulzBot.h” changes would look like this:

// If compiling using the Arduino IDE, uncomment and set printer model  
// and toolhead here:

#define LULZBOT\_Juniper\_TAZ5  
#define TOOLHEAD\_Tilapia\_SingleExtruder (or MAYBE Angelfish\_Aero…?)  
  
  
As for the “Configuration.h” file, I understand that the TAZ5 uses a RAMBo v 1.3. When I change the #define MOTHERBOARD “BOARD\_RAMPS\_14\_EFB” to RAMBO or 301 I get all kinds of compile errors?

What the the board defined as in Marlin?

**BOARD\_RAMPS\_14\_EFB**  
   
**RAMBO**  
   
**301**  
   
**LULZBOT\_MOTHERBOARD**  
  
  
I have used arduino/marlin to upgrade and customize an Anet A8, but my Taz5 seems more challenging?

Thank you for your time and effort. JH

---

<div class="post-metadata">

**Author:** ![artistebot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/artistebot/32/128_2.png) [@artistebot](https://forum.lulzbot.com/u/artistebot)\
**Post date:** [November 10, 2017, 6:09am UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/170 "2017-11-10T06:09:26Z")

</div>

OK, proceeding anyway…

I downloaded Marlin from here:

[https://github.com/MarlinFirmware/Marlin](https://github.com/MarlinFirmware/Marlin)

Then replace the following files from [https://code.alephobjects.com/diffusion](https://code.alephobjects.com/diffusion) … el/Marlin/  
added or replaced in the Marlin dir:

Conditionals\_Lulzbot.h  
Configuration.h  
Configuration\_adv.h  
Configuration\_Lulzbot.h  
\_Bootscreen.h  
  
  
The only thing I edited within Arduino with the “Configuration\_LulzBot.h” like the following:

#define LULZBOT\_Juniper\_TAZ5  
#define TOOLHEAD\_Tilapia\_SingleExtruder

**I then ran Verify and it did complete compiling the sketch but had 43 errors " ~warning: extra tokens at end of #else directive"**

**Is the “extra token” (LULZBOT\_IS\_MINI) should be removed, or perhaps an error in the Conditionals\_Lulzbot.h ?**

I am pretty sure it has nothing to do the head, I usually have the “FlexyStuder head installed”

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\G26\_Mesh\_Validation\_Tool.cpp:27:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\I2CPositionEncoder.cpp:31:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\M100\_Free\_Mem\_Chk.cpp:51:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from C:\Users\fever\Desktop\Marlin-1.1.x\TAZ5\Marlin-1.1.x\Marlin\Marlin.ino:31:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\MarlinSerial.cpp:35:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\Marlin\_main.cpp:244:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Max7219\_Debug\_LEDs.cpp:52:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\Sd2Card.cpp:29:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\SdBaseFile.cpp:30:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\SdFatUtil.cpp:29:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\SdFile.cpp:29:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\SdVolume.cpp:29:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\blinkm.cpp:28:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\cardreader.h:26,

from sketch\cardreader.cpp:23:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\configuration\_store.h:26,

from sketch\configuration\_store.cpp:176:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\dac\_mcp4728.h:30,

from sketch\dac\_mcp4728.cpp:33:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\digipot\_mcp4018.cpp:23:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\digipot\_mcp4451.cpp:23:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\endstops.cpp:27:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\enum.h:26,

from sketch\gcode.h:32,

from sketch\gcode.cpp:27:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\hex\_print\_routines.cpp:22:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\least\_squares\_fit.cpp:35:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\mesh\_bed\_leveling.h:23,

from sketch\mesh\_bed\_leveling.cpp:23:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\nozzle.h:26,

from sketch\nozzle.cpp:1:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\pca9632.cpp:28:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\enum.h:26,

from sketch\planner.h:36,

from sketch\planner.cpp:61:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\planner\_bezier.cpp:30:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\printcounter.cpp:23:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\serial.h:26,

from sketch\serial.cpp:23:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\servo.cpp:53:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\stepper.cpp:47:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\stepper\_dac.cpp:44:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\stepper\_indirection.h:47,

from sketch\stepper\_indirection.cpp:34:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\stopwatch.cpp:23:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\temperature.cpp:27:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\twibus.cpp:23:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\ubl.cpp:23:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\ubl\_G29.cpp:23:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\ubl\_motion.cpp:22:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\ultralcd.cpp:23:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\utility.cpp:23:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\vector\_3.cpp:42:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

In file included from sketch\Configuration.h:24:0,

from sketch\MarlinConfig.h:30,

from sketch\Marlin.h:36,

from sketch\watchdog.cpp:23:

sketch\Conditionals\_LulzBot.h:1369:7: warning: extra tokens at end of #else directive

#else defined(LULZBOT\_IS\_MINI)

^

Sketch uses 129268 bytes (50%) of program storage space. Maximum is 253952 bytes.  
Global variables use 4706 bytes (57%) of dynamic memory, leaving 3486 bytes for local variables. Maximum is 8192 bytes.

---

<div class="post-metadata">

**Author:** ![aliasmeum](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@aliasmeum](https://forum.lulzbot.com/u/aliasmeum)\
**Post date:** [November 10, 2017, 11:33am UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/171 "2017-11-10T11:33:56Z")

</div>

Hello artistebot,

When you are new to Marlin, it is a jungle trying to find information on your own level 🙂  
I ended up using the official Marlin 1.1.6 release and do the necessary changes for my Taz5 in “Configuration.h” and “Configuration\_adv.h”, using the configuration files from Lulzbots “Marlin\_TAZ45\_Uaru\_1.0.0.1” and Lulzbots Marlin-1.1.5 for TAZ6 as reference.  
This is now working perfectly for me, but my Taz5 is modified, and my configurations would not work for a stock Taz5.

Today I have edited the configuration files so that they should be right for a stock Taz5. Please consider that this configuration has not been tested, but the files are attached. I have also attached a file that shows all the changes that I have done, compared to the official Marlin release. IMPORTANT: Also note that this configuration is for normally closed (NC) end-stop switches. I chose to keep this configuration since this is considered a safer solution. You can either change this in “Configuration.h” or you can connect your end-stops as NC-switches. You do this simply by moving the middle connector to the free pin on the end-stop switch.

Remember that you also will have to define your new hotend and extruder in “Configuration.h”.

If you want to go on using my files, at your own risk, I will recommend this procedure:

- Download latest Marlin release, currently 1.1.6, from Marlins official site ([http://marlinfw.org/meta/download/](http://marlinfw.org/meta/download/))
- Copy and paste the content of my attached file “Configuration.h(Taz5).odt” to a text file and replace this file with the “Configuration.h” file in the Marlin folder.
- Copy and paste the content of my attached file “Configuration\_adv.h(Taz5).odt” to a text file and replace this file with the “Configuration\_adv.h” file in the Marlin folder.
- Download Arduino IDE 1.8.5 from ([https://www.arduino.cc/en/Main/Software](https://www.arduino.cc/en/Main/Software))
- In Arduino IDE, install the U8glib library. From the menu “Sketch/Include Library/Manage Libraries”. Search for U8glib, choose version 1.19.1 and Install it.
- Connect to your printers USB port and upload the new firmware.

I hope this is a solution that can help you.  
Best regards  
Robert  
[Marlin-1.1.6-Taz5 configuration changes.ods](https://forum.lulzbot.com/uploads/short-url/lzSyUIGJbP9YBS0YB4p4estGOCI.ods) (21.2 KB)  
[Configuration.h(Taz5).odt](https://forum.lulzbot.com/uploads/short-url/gTML1IzEW3dA6uQq6ctPJ02PZFE.odt) (40.3 KB)  
[Configuration\_adv.h(Taz5).odt](https://forum.lulzbot.com/uploads/short-url/7T9B0s0mi65fMZCV6NAqu9a6acN.odt) (38.9 KB)

---

<div class="post-metadata">

**Author:** ![artistebot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/artistebot/32/128_2.png) [@artistebot](https://forum.lulzbot.com/u/artistebot)\
**Post date:** [November 11, 2017, 12:16am UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/172 "2017-11-11T00:16:28Z")

</div>

**Thank you Robert!**

Yes, Marlin is a lot to process. Before this, I have only edited a configuration.h file for my Anet A8 that I had upgraded w a MksGen1.4. The way Lulzbot customizes Marlin is cool, and more than I expected!

Following your direction and using the files you provided, I was able to update my Taz 5 to Marlin 1.1.6……whoo hoo! I also moved all three end stop connectors to NC, great tip! Now I need to find a way to offset the Auto home position.  
  
  
A few notes:

I enabled INDIVIDUAL\_AXIS\_HOMING

I enabled CUSTOM\_MACHINE\_NAME “TAZ 5”

I changed my extruder eSteps to 415 as it is a TitanAero

Tuned PID values

The EndStop pin for the X axis is blocked by the frame, but by bending it slightly outward I was able to put on the connector.  
.

In what way is your Taz 5 modified?

---

<div class="post-metadata">

**Author:** ![aliasmeum](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@aliasmeum](https://forum.lulzbot.com/u/aliasmeum)\
**Post date:** [November 11, 2017, 9:45am UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/173 "2017-11-11T09:45:28Z")

</div>

Glad to be of assistance!

I guess that with the TitanAero, the nozzle will end up outside the printbed when homing to the end-stop switches. What about loosening the bed-to-frame clamps and physically move the printbed to the right position? You can then redefine “#define X\_BED\_SIZE 298” and “#define Y\_BED\_SIZE 275” in Marlin.

I have built a new y-axis for my Taz5. Hiwin linear guides, two 0,9 deg stepper motors with 15 mm timing belts. The printbed is a PEI-coated 8 mm aluminium plate with a 230V/600W silicone heater.  
I have a brand new TitanAero waiting to be installed on the new x-axis I am currently working on (Starting to print the first parts for the axis today).

Best regards  
Robert

---

<div class="post-metadata">

**Author:** ![GasPath\_2](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@GasPath\_2](https://forum.lulzbot.com/u/GasPath_2)\
**Post date:** [May 29, 2018, 1:44am UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/174 "2018-05-29T01:44:27Z")

</div>

I’ve had a Taz 5 for a long time (5 years?). I’ve been hesitant to do anything with the firmware until I lost my stepper driver for the extruder a few weeks back. Decided I would try my best to fix it on my own since the new ones are WAY out of my current monetary ability. If it wasn’t for this web page, I never would have made it and my Taz would have ended up scrap.

I’m not sure why, but everything I tried to compile in the Arduino IDE failed. Over and over again. Even when I could get 1.1.6 or above to properly compile, my Taz would lock up, the heated bed would go into overdrive and the only recourse was to pull the plug. Then I found your work, Robert. I don’t know why, but the first few runs failed to compile. Scrapped everything and found that the configuration.h was bad. Retrieved a fresh copy from your post and it was the first success I’ve had in two weeks. I went in, swapped the E0 and E1 pin numbers, swapped the extruder cable, and my printer is back in order.

I can’t thank you enough. I use my printer a lot! Not having it was denting my hobby. So I really do appreciate this effort.

Thanks

GasPath

---

<div class="post-metadata">

**Author:** ![aliasmeum](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@aliasmeum](https://forum.lulzbot.com/u/aliasmeum)\
**Post date:** [May 29, 2018, 6:52am UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/175 "2018-05-29T06:52:49Z")

</div>

Hello GasPath.

I am always happy when something is saved from ending up as scrap. Glad to help you.

Best regards  
Robert

---

<div class="post-metadata">

**Author:** ![Rp1030](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@Rp1030](https://forum.lulzbot.com/u/Rp1030)\
**Post date:** [May 30, 2019, 3:41am UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/176 "2019-05-30T03:41:08Z")

</div>

Is there still and development on this? I am definitely interested after I’ve lost use of my taz for quite a while.  
The links listed below are no longer available. also. I cant figure out how to download from this link: [LulzBot 3D · GitLab](https://code.alephobjects.com/diffusion/MARLIN/repository/devel/)

Thank you, I am currently working on a Taz mod right now that will put this firmware to good use!  
I appreciate any help, and stay tuned for something exciting!!

> [@](#):
>
> If someone else still has problems, there is a bad bug I introduced when I changed the behaviour of the Marlin temperature and stepper interrupt service routines. It could lead to wrong temperature readings (resulting in spikes visible in the temp. graph or even min./max. temp errors where the printer stops) and even complete printer freezing.
> 
> This, and another (in my opinion not bug-related) thing can now be fixed with a PR I created yesterday for Marlin. If you want to have one code set with this updates already built into it, you can download the code from my repository [here](https://github.com/Sebastianv650/Marlin/tree/my_productive). This one is not configured specific for the TAZ, but if you want to start with my config for TAZ5 as a baseline, you can grab the Configuration.h and Configuration\_adv.h files from [here](https://github.com/Sebastianv650/Marlin/tree/TAZ5_config/Marlin). Just copy and paste it over the existing ones from the first link.
> 
> Sorry for this, I think now it should be stable again even in prints that takes days to finish. I’m just finishing a pangolin that took over 11h.

---

<div class="post-metadata">

**Author:** ![aliasmeum](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@aliasmeum](https://forum.lulzbot.com/u/aliasmeum)\
**Post date:** [May 30, 2019, 11:43am UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/177 "2019-05-30T11:43:21Z")

</div>

Hello Rp1030,

I am afraid this topic is a bit outdated, Marlin is now on version 1.1.9 and the problems addressed by Sebastian are no longer relevant.  
I am not quite sure what you are trying to accomplish, but if what you need is a working firmware that you can edit after your own preferences. Then you can still use the procedure and the attached files as explained in my reply to artistebot, in this topic, on Fri Nov 10, 2017.

In my reply to artistebot there is attached a file called “Marlin-1.1.6-Taz5 configuration changes.ods” in this file you can see what changes you need to do in the standard Marlin configuration to get it to work on a standard Taz5.  
If you want to use the current Marlin 1.1.9 release, you can apply these changes to the configuration files in Marlin 1.1.9. Remember to also use the latest Arduino IDE (Currently 1.8.9)

If you want to try version 1.1.6, here are working links to the old releases off Marlin 1.1.6 and Arduino IDE 1.8.5:  
[https://github.com/MarlinFirmware/Marlin/releases/tag/1.1.6](https://github.com/MarlinFirmware/Marlin/releases/tag/1.1.6)  
[https://www.arduino.cc/en/Main/OldSoftwareReleases#previous](https://www.arduino.cc/en/Main/OldSoftwareReleases#previous)

I hope this can get you started.  
Best regards  
Robert

---

<div class="post-metadata">

**Author:** ![Rp1030](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@Rp1030](https://forum.lulzbot.com/u/Rp1030)\
**Post date:** [May 30, 2019, 2:15pm UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/178 "2019-05-30T14:15:11Z")

</div>

Thanks. I will try this tonight!

---

<div class="post-metadata">

**Author:** ![Brent.I](https://avatars.discourse-cdn.com/v4/letter/b/ecc23a/32.png) [@Brent.I](https://forum.lulzbot.com/u/Brent.I)\
**Post date:** [May 30, 2019, 5:00pm UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/179 "2019-05-30T17:00:42Z")

</div>

Seeing this one brought back to life, I thought to take the chance to mention we do have Marlin 2.0.0 builds for all our printers. We have not done thorough testing on some of our older models and as such have not included it within Cura LE as a standard update.

For anyone who would like to try the newer firmwares you can find all machine and tool heads here: [http://devel.lulzbot.com/software/Marlin/](http://devel.lulzbot.com/software/Marlin/)

This is still experimental firmware, and has not been tested thoroughly in house. After upgrading if you run into any issues, it is recommended to revert to the stable 1.1.9.16 version of Marlin.

---

<div class="post-metadata">

**Author:** ![Rp1030](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@Rp1030](https://forum.lulzbot.com/u/Rp1030)\
**Post date:** [May 31, 2019, 4:23am UTC](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451/180 "2019-05-31T04:23:25Z")

</div>

Aliasmeum

I am trying to adapt version 1.1.9 to work with my taz 5 and it is, mostly…

The lcd menu seems slower and when I move my axis manually in any direction, there is a very distinct lag between moves. I think I’m doing something wrong. I just don’t know what 😖

[Previous page](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451.md?page=8)

[Next page](https://forum.lulzbot.com/t/latest-firmware-for-taz5-advanced-development-version/3451.md?page=10)
