Uploading/flashing Marlin to your Hic i3 (or other)

Software and Firmware Discussion - related to source code, firmware updates, etc.
User avatar
Chip Luck
Posts: 190
Joined: February 11th, 2016, 9:12 am
Location: Central Florida
3D Printer(s): HICTOP Reprap Prusa I3
Contact:

Uploading/flashing Marlin to your Hic i3 (or other)

Postby Chip Luck » June 13th, 2016, 12:59 pm

[edited 11.12.16 : Changed link below to proper location for firmware for downloading Marlin...RC6]

The question comes up a lot "how do I..." update my firmware?

First you need to read how to update your firmware and have all your research done prior to you properly and safely re-compile Marlin source code and upload firmware to (or 'flash') your printer. Remember if you are not sure what you are doing, you probably should not be doing it in the first place. However, you can perform your research on the bit and you will soon grasp just how all this works, it's fairly simple actually once you do it a few times. And you still *should* always not just start printing post a firmware update, but perform calibration checks on your printer with known test object any time you update software; re-edit <Configuration.h> if needed, etc. Trust me, you will save filament and time.

Read here first about Marlin on the Reprap.org Wiki, corrections and addition by myself is shown bellow:
http://reprap.org/wiki/Marlin

To re-state and prepare as mentioned in the above link (IMPORTANT: please note proper arduino IDE version now needed for Marlin 1.1.0-RC6), here I edited and commented on the original steps in the link above for some clarification:

1. Back up any Marlin source code or binary you may have if any. If you do not have it, there is no way to save your current printer firmware once you upload a new version. No you cannot download the firmware FROM your printer to save it, at least I have not heard how you can. You will not need it anyway, the newer Marlin has much more functionality built in.

2. Download a host program, I use Repetier Host for all my needs and even as a run time printing/monitor.

3. Download and Install the arduino software IDE/toolset, currently as of today, only version 1.0.6 from http://www.arduino.cc/en/Main/Software.
Set up the IDE according to the instructions in the above link, i.e.:
- Start the Arduino IDE
- Select Tools -> Board: -> Arduino Genuine Mega 2560 for current HIC i3's RAMPS 1.3/1.4 (or whatever your micro-controller is)
- Select Tools -> Processor: -> AT_mega2560 (Mega 2560) [CL]
- Select the correct serial port in Tools -> Serial Port, usually there is only one option
- Exit the IDE

4. Download the Marlin source code and extract it into a directory of your choice, I use naming such as "../Marlin-1-1.0-RC6/" or what ever named version you are using.
- For a HIC i3, you can start with my current tested version as it comes with a <Configuration.h> file already per-configured for my/our printer. You can find the latest version I'm personally running here under this thread: viewtopic.php?f=51&t=298
- You SHOULD follow the advise in the above link to insure the <Configuration.h> file is 100% correct for your particular HICTOP printer though, in particular the extruder (thermistor) type, z-axis lead screws (e-steps), LCD display (default 4x20), configure and enable auto-bed leveling, etc. and edit and save it. This configuration works for my stock HIC i3 from China with stock z-axis rods (non-lead screw).
- You could also use any version Marlin of your choice and then just verify the <Configuration.h> file is correct. It's up to you.

5. Go to your Marlin source directory and double click the [edit ] <Marlin.ino> file, this should open the IDE with a tabbed file listing at the top of the window. There your can navigate to <Configuration.h> and edit and save the file if needed.
- When you are done, select Sketch -> Verify/Compile. This should compile the source with no errors
- Now insure you are connected to your printer and select Sketch -> Upload. This will once again compile and this time upload it to your printer control board

6. After a successful upload, the printer should re-boot and show an updated LCD opening screen bottom line (at least using my code) the current revision of the firmware, i.e. "HICi3 1.1RC6 ready." or similar.

OK, if all goes well it now time to go print some simple test objects, you DO test print calibration objects after firmware updates first do you not?

Good luck and happy printing,

Chip
---
Last edited by Chip Luck on November 12th, 2016, 7:04 am, edited 2 times in total.

mpoling
Posts: 15
Joined: August 12th, 2016, 11:31 am
3D Printer(s): HICTOP Prusa i3 3DP17

Re: Uploading/flashing Marlin to your Hic i3 (or other)

Postby mpoling » August 12th, 2016, 5:42 pm

I don't see any .ico file. Only an .ino file

User avatar
Chip Luck
Posts: 190
Joined: February 11th, 2016, 9:12 am
Location: Central Florida
3D Printer(s): HICTOP Reprap Prusa I3
Contact:

Re: Uploading/flashing Marlin to your Hic i3 (or other)

Postby Chip Luck » August 13th, 2016, 1:08 pm

mpoling wrote:I don't see any .ico file. Only an .ino file


I stand in correction [sic] it is the .INO file and has been corrected above, thanks for pointing that out.

mpoling
Posts: 15
Joined: August 12th, 2016, 11:31 am
3D Printer(s): HICTOP Prusa i3 3DP17

Re: Uploading/flashing Marlin to your Hic i3 (or other)

Postby mpoling » August 13th, 2016, 3:04 pm

oh ok...lol...I was really confused, being a newbie :) Not that it takes a lot to confuse me.

guti
Posts: 3
Joined: August 24th, 2016, 11:16 am
Location: Tel Aviv
3D Printer(s): HICTOP Prusa i3 3DP-18
Contact:

Re: Uploading/flashing Marlin to your Hic i3 (or other)

Postby guti » August 24th, 2016, 11:49 am

Hey Chris,

Just wanted to pop in and say hi, I just ordered my first 3D printer (HICTOP Prusa i3 MK8) and I'm amazed by the amount of information you have shared on these forums. Going to save me a lot of time getting the printer to the state I want and to understand how it works :)

Looking forward to participate and share knowledge on the forums.

Thanks,
Guti

User avatar
LePaul
Posts: 2093
Joined: February 7th, 2016, 10:26 pm
Location: Bangor, Maine USA
3D Printer(s): Ultimaker Original HBK, Ultimaker 2+
Contact:

Re: Uploading/flashing Marlin to your Hic i3 (or other)

Postby LePaul » August 24th, 2016, 12:02 pm

Welcome, Guti
Chip has done a lot of great work!

AndrewJLLeather
Posts: 5
Joined: July 28th, 2016, 11:23 pm
3D Printer(s): hictop pursa i3 autolevel

Re: Uploading/flashing Marlin to your Hic i3 (or other)

Postby AndrewJLLeather » September 2nd, 2016, 10:06 pm

I'm having issues uploading the new firmware to my printer. As seen in attached I get a timeout. Image not sure why. I can control my printer in Repetier Host.

User avatar
Chip Luck
Posts: 190
Joined: February 11th, 2016, 9:12 am
Location: Central Florida
3D Printer(s): HICTOP Reprap Prusa I3
Contact:

Re: Uploading/flashing Marlin to your Hic i3 (or other)

Postby Chip Luck » September 3rd, 2016, 6:09 am

AndrewJLLeather wrote:I'm having issues uploading the new firmware to my printer. As seen in attached I get a timeout. not sure why. I can control my printer in Repetier Host.


Looks like your USB driver for the port or configuration is incorrect(?), cannot tell from that screen shot. Also, you should have Repetier host shut down or DISCONNECTED prior to running the IDE and it's connection. What OS are you using?

AndrewJLLeather
Posts: 5
Joined: July 28th, 2016, 11:23 pm
3D Printer(s): hictop pursa i3 autolevel

Re: Uploading/flashing Marlin to your Hic i3 (or other)

Postby AndrewJLLeather » September 12th, 2016, 11:28 pm

hah. I was dumb. I did have Repetier Host running, and now this time I didn't, so I finally got around to successfully uploading new firmware. All is good. Running my first print since new firmware. Thank You Chip for all you've done for the community!

niko88d
Posts: 1
Joined: October 11th, 2016, 2:29 pm
3D Printer(s): HIC Prusa i3

Re: Uploading/flashing Marlin to your Hic i3 (or other)

Postby niko88d » October 12th, 2016, 11:11 am

I've got an issue uploading the firmware.
avrdude gets timeouts:
gt2560_timeout_problem.png


USB-Driver:
CDM v2.12.24 WHQL Certified from here

I've already googled and it seems this issue appears pretty often on Mega2560.
Things I already tried:
- shorter usb cable
- replaced the avrdude in the current version of arduino with an older version (0022)
- tried to recompile avrdude on windows with higher timeout rates, but failed since i am missing corresponding librarys

Do you have any suggestions?

User avatar
rokhdrone1uk
Posts: 21
Joined: November 6th, 2016, 8:34 am
Location: Royal Wootton Bassett
3D Printer(s): Hictop i3 3DP12
Contact:

Re: Uploading/flashing Marlin to your Hic i3 (or other)

Postby rokhdrone1uk » November 6th, 2016, 2:25 pm

Hey Chip, so i have been trying to use your firmware but im having a few issues.

Yes these are mine and not your firmware, thanks it is amazing but my LCD has stopped working and also im getting a Heater_ID:Bed error

You have any ideas.

Im using a stock 3DP12 Hic i3.

Hope your able to help.

My printer has been printing great, but I have just fitted the Infill3D extrudter gearing and the E3D V6 hot end.

Thanks and Best Regards

Stu

User avatar
Chip Luck
Posts: 190
Joined: February 11th, 2016, 9:12 am
Location: Central Florida
3D Printer(s): HICTOP Reprap Prusa I3
Contact:

Re: Uploading/flashing Marlin to your Hic i3 (or other)

Postby Chip Luck » November 6th, 2016, 6:07 pm

Not quite sure, but sounds like a hardware issue since it appears you have performed some modifications. I would re-check everything, wiring, connections, et. all. Myself and others have no issues with the current firmware. Wish I could help you further.

---

User avatar
rokhdrone1uk
Posts: 21
Joined: November 6th, 2016, 8:34 am
Location: Royal Wootton Bassett
3D Printer(s): Hictop i3 3DP12
Contact:

Re: Uploading/flashing Marlin to your Hic i3 (or other)

Postby rokhdrone1uk » November 7th, 2016, 1:55 pm

I received this .hex code form Hictop today, but i'm having a auto home direction issue Moving right and not left towards the micro switch..

How do i change this?

User avatar
Chip Luck
Posts: 190
Joined: February 11th, 2016, 9:12 am
Location: Central Florida
3D Printer(s): HICTOP Reprap Prusa I3
Contact:

Re: Uploading/flashing Marlin to your Hic i3 (or other)

Postby Chip Luck » November 12th, 2016, 6:59 am

rokhdrone1uk wrote:I received this .hex code form Hictop today, but i'm having a auto home direction issue Moving right and not left towards the micro switch..

How do i change this?


You have to download, compile and upload firmware using source code. You cannot 'change' a already compiled .hex file if you do not have the source. I had issues with any Hictop supplied source code, that's the main reason I went down this road getting a working Marlin source of of Github.

You need to download source code, if you prefer I'm still running this here: http://www.3dprintingforum.us/viewtopic.php?f=51&t=298
Then instructions to use the IDE to compile and upload is here: http://www.3dprintingforum.us/viewtopic.php?f=51&t=300

You might have to edit the Configuration.h file somewhat to match you printer/hardware. Research and trial and error, change one thing at a time.

User avatar
rokhdrone1uk
Posts: 21
Joined: November 6th, 2016, 8:34 am
Location: Royal Wootton Bassett
3D Printer(s): Hictop i3 3DP12
Contact:

Re: Uploading/flashing Marlin to your Hic i3 (or other)

Postby rokhdrone1uk » November 15th, 2016, 1:26 pm

Hi Chip, so I have got the printer working and was hoping I could use your .config files etc.

You able to email them or share a link.

Thanks

Chip Luck wrote:
rokhdrone1uk wrote:I received this .hex code form Hictop today, but i'm having a auto home direction issue Moving right and not left towards the micro switch..

How do i change this?


You have to download, compile and upload firmware using source code. You cannot 'change' a already compiled .hex file if you do not have the source. I had issues with any Hictop supplied source code, that's the main reason I went down this road getting a working Marlin source of of Github.

You need to download source code, if you prefer I'm still running this here: http://www.3dprintingforum.us/viewtopic.php?f=51&t=298
Then instructions to use the IDE to compile and upload is here: http://www.3dprintingforum.us/viewtopic.php?f=51&t=300

You might have to edit the Configuration.h file somewhat to match you printer/hardware. Research and trial and error, change one thing at a time.


Return to “Software and Firmware Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests