Hey guys... I'm having issues with Marlin...

Hey guys… I’m having issues with Marlin…

I have an old Printrboard (ver D) and I’m trying to compile and upload the latest Marlin… but I can’t compile without using Arduino 1.6.0+ IDE. However, I can’t find a copy of Arduino 1.6+ that is pre-configured to work with Printrboard/Teensylu/AT90USB1286.

Anyone know how it’s being done (burning the newest Marlin into Printrboard) nowadays?

Try this link : https://printrbot.zendesk.com/hc/en-us/articles/202457834-How-to-Flash-Printrboard-Firmware
Since your board is Rev D you’ll have to follow the legacy instructions linked on that page.

Yes! I’ve done it a lot. Firstly, make sure you have lincomatics input for arduino: https://github.com/lincomatic/Marlin. Printrbot uses a DFU bootloader rather than normal CDC. What you have to do is compile the Marlin file. Once it compiles look at the bottom where the error messages show and scroll up a couple lines to find a line that ends in a file that is something along the lines of Marlin.hex. Now search for this file on your computer (I would just search it up in the search bar for Windows). Once you find it copy it to a location that’s easier to find. Once you have it download Atmel Flip software and set it up the the AT90usb1286. Put the jumper on the pins to put the printrboard in bootloader mode and give it power. Then open the hex file and check the blank check box. Connect the board and hit run. It should flash. Then unplug and let it sit for 5 or so minutes.

@Brook_Drumm has or had a guide for it somewhere on the interwebs. Hope this helps!

Note that a lot of commands can be changed under the EEPROM of the board which means you wouldn’t even need to flash it. But depends on what you’re changing

@Griffin_Paquette not to hijack this post but do you have an LCD for your Printrbot? Mine stopped working after flashing the current firmware.

@Adam_Steinmark nope sorry!! I was considering using it initially but kept telling myself that I was gonna set up octoprint.

Had a printrboard rev d. Afaik it used an beta or so arduino like 0.22 or something. I had to look it up myself. Newer just didnt work.

Maybe look here. Seems interesting https://groups.google.com/forum/m/#!topic/deltabot/cY5x73VhOO0

@Mark_Rehorst didnt go with smoothie yet but changed to ramps. Its much easier (no changing the jumper for upload lol)

@Griffin_Paquette ​: Thank you! unfortunately I have the LUFA CDC bootloader, but looking at the Lincomatic instructions, I’ll try loading PJRC’s Teeny++ 2.0 module into my Ardunio 1.6.11 install. If anything I’ll just burn the DFU bootloader. Funny that @Adam_Steinmark ​ mentioned the LCD because I’m trying to get the SSD1306 display working, but the u8glib required me to stop using the old, bloated Marlin that’s friendly with the 0022 Arduino, (which Lincomatic conveniently pre-packaged with the Printrbot board profile) and pursue the latest Marlin source that’s supposedly more compact. Aaaand of course, the latest Marlin needs Arduino 1.6.0+ to compile.
@VolksTrieb ​: Yup, I had it working fine under Arduino 0022 with the Lincomatic pre-packaged IDE. And yes, RAMPS & Mega2560 installs like butter! (Too bad I gave my RAMPS packages away!) If anything, at least I got it to work with the old Marlin.
@Mark_Rehorst ​: I agree. It’s becoming a pain, although I really like how compact it is. The two big complaints about Printrboard: Arduino-unfriendly programming, and the micro USB port falling off… which are not trivial problems! Otherwise I’m liking it in general.

Besides the Arduino upload problem, the MarlinEditor found as feature inside Marlin3DprinterTool helps you migrate your old Marlin configuration.h to the new version.
Color highlight and side-by-side paging of new and old version helps transfering values. All parts that have differances are marke with bookmarks.
The differances is not plain compare. It tries to understand the row the same way as the compiler do and do the compare based on Arduino Syntax.

The at90usb1286 requires the pjrc teensy library to be installed because arduino does not have native support.
Then you must use atmels FLIP to flash the firmware (requires setting boot mode jumper).

@Mark_Rehorst haha well I have no problem finding Arduino 0022 and old versions of Marlin. I have it working with that! I just want the latest Marlin. :slight_smile: