ANYCUBIC-3D / ANYCUBIC_CHIRON_V1.3.0

CHIRON_V1.3.0
31 stars 28 forks source link

Frimware based on Marlin-bugfix-1.1.9 #3

Open dkoch83 opened 5 years ago

dkoch83 commented 5 years ago

Based on Marlin-bugfix-1.1.9

Command G5 no longer needed vor powerloss recovery, now using Marlins powerloss function

Cleanup ANYCUBIC_CHIRON_1.3.0 surcecode to save SRAM. Add files chiron_lcd.h chiron_lcd.cpp

File list functions removed vom cardreader.h cardreader.cpp add new file list function in chiron_lcd.cpp

For saving the bedlevel data, is done by Marlins save function.

On LCD, Menu->Tools->Level>Advance setting On leve without saving the bedlevel data will restored from Marlin EEPROM save position

.....

Marlin-1.1.9_Anycubic_Chiron

vernieg commented 5 years ago

Still not stable firmware when tested today, I am glad I was quick uploading the previous firmware. With this firmware the hotend heats up seconds later after checking the LCD menu and clicking on the Tools->Filament but not anything under it. I was alarmed why the hotend fan suddenly run so I check the temperature and hotend is heating up. Turn it of via cooling option and it did responded. Now I tried reset but this time the hotend continue to heat up while fan is not running, no LCD feedback only to find out filament is dripping like water from the nozzle and smoke starts to come out. Reset again and I see 500C++ hotend temperature and an error related to the temperature sensor.

dkoch83 commented 5 years ago

Sorry but i use the Firmware on my Chiron without problems. Did you use the config file from the zip file? Have you made any changes on the config file ? What version of the chirone do you have, the first or already the revised one?

On the Marlin Firmware are only made changes to handle the Chiron LCD commands.

I have the revised version of the Chiron, deliverd with Firmware 1.2.8. I have only do by myself upgrade the Stepper driver to TMC2208

vernieg commented 5 years ago

One user also confirmed without problems. The Chiron I received was after Anycubic3D halted distribution to iron out some isssues and it came with no issues but the firmware was still 1.2.7, upgraded it to 1.2.8 then to 1.3.0 all without any major problem. Stepper driver is also TMC2208. I did change the language option (de to en) and maximum bed temperature (106 to 120) on the Configuration.h.

The following is what I got on the anduino IDE:

Sketch uses 119568 bytes (47%) of program storage space. Maximum is 253952 bytes. Global variables use 6307 bytes (76%) of dynamic memory, leaving 1885 bytes for local variables. Maximum is 8192 bytes. Low memory available, stability problems may occur.

It's the first time I noticed a "Low memory available, stability problems may occur" message, only on this firmware. I've compiled 1.1.9 for the i3 MEGA an even for the Chiron from another fork, no issues related to temperature was experienced. Anyway, I will be changing my hotend thermistor to the one with a cylinder and the heater block to a volcano version 2 to accomodate new thermistor to be more stable. The current hotend setup is using a volcano (version 1 heater block). Maybe when the Low memory situation is gone the firmware can be better.

TeodorStoilov commented 5 years ago

I'm using your firmware from two days and it is awesome! Thanks for your work! The printer sounds and moves much better. I have a quick question about config file, first I install the firmware with Tmc 2208 file, but printer shift left and right(because I chenge order of cables when I change to Tmc2208). Is there any other optimisation in config file for tmc2208? And my last question is what start and end g code you are using? Thanks again for your work!

vernieg commented 5 years ago

I checked the thermistor, I see its glass bead cracked. I will install again the firmware after better replacement parts are in placed. When did the thermistor cracked? That part I do not know but it could be the reason for thermal runaway.

vernieg commented 5 years ago

Tested the firmware again with the new thermistor in placed. The moment I started heating the hotend, no feedback to LCD display that temperature is changing then later on hotend fan turns on but it is already late the few seconds later you will see smoke. Only a hardware power off reset can make the hotend cool down and not continue heating up. I was quick to do a hardware power reset and only see 400C then T0 abnormal. The first time it registers 500C+ and T0 abnormal was also displayed. I just can't use this on my Chiron, too risky. The Tools->Home and Tools->Axis to move the motors does not work also.

dkoch83 commented 5 years ago

TMC2208 Config difference to Default config

Configuration.h

562      #define X_DRIVER_TYPE  TMC2208_STANDALONE
563      #define Y_DRIVER_TYPE  TMC2208_STANDALONE
564      #define Z_DRIVER_TYPE  TMC2208_STANDALONE
565      #define Z2_DRIVER_TYPE TMC2208_STANDALONE
566      #define E0_DRIVER_TYPE TMC2208_STANDALONE
567      //#define E1_DRIVER_TYPE TMC2208_STANDALONE
...
873     #define INVERT_X_DIR false
874     #define INVERT_Y_DIR false
875     #define INVERT_Z_DIR false
...
880     #define INVERT_E0_DIR true

Configuration_adv.h

833      #define MINIMUM_STEPPER_DIR_DELAY 20
...
846      #define MINIMUM_STEPPER_PULSE 0
...
860      #define MAXIMUM_STEPPER_RATE 400000

Start End G-Code (Cura 3.6.0)

Start G-Code

G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z15.0 F9000 ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
;G1 F9000
G1 F2400
;Put printing message on LCD screen
M117 Printing...
;G5
M205  X4.00 Y4.00 Z0.40 E10.00
M204 P800 T800; set acceleration
M900 K0.55 ; PLA (http://marlinfw.org/tools/lin_advance/k-factor.html)
;M900 K0.0 ; lin advance disabled

End G-Code

M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300  ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F1800 ;move Z up a bit and retract filament even more
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
G90 ;absolute positioning
dkoch83 commented 5 years ago

To vernieg

Sorry that the firmware do not work on you Chiron Printer, I think your LCD has a different firmware and must be treated differently.

What for a Firmware Version is shown under Tools->More->Info when you do a reset and navigate fast to it.

My is 1.2.0. Cann you send me the sourcecode and your configs from the Firmware that is working vor you.

vernieg commented 5 years ago

It's version 1.2.0.

Configuration.h and Configuration_adv.h attached in one zip file.

Archive.zip

wayp55 commented 5 years ago

hello, I installed your version of 1.1.9 (with my modification with tmc2208 only in X, Y and E0), but card reader doesn't read all files of the card. Do you know what could happend?

wayp55 commented 5 years ago

hello, I installed your version of 1.1.9 (with my modification with tmc2208 only in X, Y and E0), but card reader doesn't read all files of the card. Do you know what could happend?

wayp55 commented 5 years ago

I had discover a new problem in my machine, extruder stoped few minutes after print......... I returned to 1.3.0 and now work well again. Extruder fine, and card reader too....... I will check your marlin to see what could happen

dkoch83 commented 5 years ago

Hello Wayp55, the problem with the extruder is the lin advance mode, some TMC2208 driver overheat and the extruder stop working.

To disable lin advance mode set (M900 K0)

To find it out cost me many days. My first TMC2208 driver was a cheap V1, after i change the driver to a FYSETC V1.2 the problem goes away. My TMC2208 vref=1.20 Volts on the extruder and XYZ

Code of File list is in chiron_lcd.cpp line 555 (case 8: // A8 GET SD LIST) and caedreader.cpp

at moment i in holyday. wenn I back at home on 20th i will upload the code on my account for better code fixing.

The Internet in holyday ist very slow.

wayp55 commented 5 years ago

Hello Wayp55, the problem with the extruder is the lin advance mode, some TMC2208 driver overheat and the extruder stop working.

To disable lin advance mode set (M900 K0)

To find it out cost me many days. My first TMC2208 driver was a cheap V1, after i change the driver to a FYSETC V1.2 the problem goes away. My TMC2208 vref=1.20 Volts on the extruder and XYZ

Code of File list is in chiron_lcd.cpp line 555 (case 8: // A8 GET SD LIST) and caedreader.cpp

at moment i in holyday. wenn I back at home on 20th i will upload the code on my account for better code fixing.

The Internet in holyday ist very slow.

Hello, sorry to answer late, but I had some personal problems and I could not use the pc or printer for 2 weeks. My TMC 2008 are version 1.0, I don't know if putting in the firmware TMC2208 instead of TMC2208_standalone can also solve the problem that the extruder stops.

It also tells me to put (M900 K0), do I have to put it in the startup script?

I have not understood is the solution that tells me for the card reader.

dkoch83 commented 5 years ago

@wayp55 Yes put M900 K0 in the startup script disabled lin advance. In File chiron_lcd.cpp on line 555 begins the code that makes the filelist

amornj commented 5 years ago

Hello. I am a happy users of your firmware. I have many nice prints with it. Nozzle temp, linear advance function and Filament runout function work well. But I have problem with power loss recovery. After turning on and click continue, printer homed, nozzle heated and going back to correct layer height. But on the TFT screen, z height is fixed at 4.81. It does not change from that number even several layers are printed. Then the print failed or nozzle jams. Any idea?

By the way, I notice you still use G5 in cura starting G code. Is that nessesary?

dkoch83 commented 5 years ago

I have put the Source code in a Git Repo Marlin-1.1.9_Anycubic_Chiron. The last fixes are on power loss recovery

@amornj G5 is comment out. In this Firmware it is not nessesary.

amornj commented 5 years ago

Thanks friend. You are genius.

Sent from my iPhone

On 10 Mar BE 2562, at 22:40, dkoch83 notifications@github.com wrote:

I have put the Source code in a Git Repo Marlin-1.1.9_Anycubic_Chiron. The last fixes are on power loss recovery

@amornj G5 is comment out. In this Firmware it is not nessesary.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

amornj commented 5 years ago

Hi dkoch83. I test it today. The power loss recovery doesn't work. After turning on, the nozzle goes to homing position and stop there. The Z height on the screen showed 4.9.

dkoch83 commented 5 years ago

@amornj Hi amornj, after homing do the printer begin to heating the bed and then the nozzl? How did you do the test? Do you use, auto leveling or manual leveling?

amornj commented 5 years ago

Hi friend. I test it again and it works now. I guess the problem I have may be the SD card problem.

After flashing your firmware, I do autoleveling with probe. I test print the calibration cube. After few layers, I turn printer off and on. I choose the same print file and click resume. Then the printer go to homing position and heatbed/nozzle heating. It does homing again and move to target. And it start printing again. The z height on the TFT screen shows the correct layer height. I works perfectly now.

Thanks again for your excellent work.

wayp55 commented 5 years ago

I try to update again the 1.4.0 firmware but I have problems again with card reader. Screen don't show any files. When I try to return to 1.2.7 official firmware I saw this error, this could help to found one solution?

sketch\cardreader.cpp:40:16: warning: type of 'filenumber' does not match original declaration

extern int16_t filenumber;

            ^

sketch\Marlin_main.cpp:243:10: note: previously declared here

uint16_t filenumber;

SergeyRumyancev commented 5 years ago

It's version 1.2.0. Configuration.h and Configuration_adv.h attached in one zip file. Archive.zip

To vernieg and dkoch83 Friends, has the problem with hotend overheating been solved? I have the same thing.

vernieg commented 5 years ago

It's version 1.2.0. Configuration.h and Configuration_adv.h attached in one zip file. Archive.zip

To vernieg and dkoch83 Friends, has the problem with hotend overheating been solved? I have the same thing.

I have not tried again the firmware after I experienced two overheating issues.

SergeyRumyancev commented 5 years ago

That's too bad. And which stable version you stopped to TMC2208 to use? Or native 1.3.0 established?

It's version 1.2.0. Configuration.h and Configuration_adv.h attached in one zip file. Archive.zip To vernieg and dkoch83 Friends, has the problem with hotend overheating been solved? I have the same thing. I have not tried again the firmware after I experienced two overheating issues. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub , or mute the thread .

vernieg commented 5 years ago

That's too bad. And which stable version you stopped to TMC2208 to use? Or native 1.3.0 established?

It's version 1.2.0. >>Configuration.h and Configuration_adv.h attached in one zip file. >>Archive.zip >To vernieg and dkoch83 >Friends, has the problem with hotend overheating been solved? I have the same thing. I have not tried again the firmware after I experienced two overheating issues. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub , or mute the thread .

After having problems of overheating, I installed back the previous working version that I've been using, version 1.3.0 from Anycubic.

vernieg commented 5 years ago

Just to let you know that no more overheating hotend issue with the latest release of this firmware from its github page after I upgraded all of my FYSETC TMC2208 version 1.0 to FYSETC TMC2208 version 1.2. I was able to autolevel, do linear advance (K=1) and noticed improvement on quality. Its been a while that I have upgraded the TMC2208 to version 1.2 but I hesitated to do some testing again because of the previous overheating experiences. Since I noticed a lot of updates were happening already on this firmware, good that it already have its own github page and I needed linear advance, I have to test it again and a big thank you to all who did the effort that the upgrade went well. One have to check on the configuration files to check on existing values and match it to user intended values. It looks stable, I've been test printing 20mm cube in vase mode to fine tune the maximum jerk settings and found out x=10, y=10, z=0.4 and E0=10 works well for me while maintaining the stock acceleration settings. Thank you dkoch83 and to all who made some improvements.

SergeyRumyancev commented 5 years ago

Just to let you know that no more overheating hotend issue with the latest release of this firmware from its github page after I upgraded all of my FYSETC TMC2208 version 1.0 to FYSETC TMC2208 version 1.2. I was able to autolevel, do linear advance (K=1) and noticed improvement on quality. Its been a while that I have upgraded the TMC2208 to version 1.2 but I hesitated to do some testing again because of the previous overheating experiences. Since I noticed a lot of updates were happening already on this firmware, good that it already have its own github page and I needed linear advance, I have to test it again and a big thank you to all who did the effort that the upgrade went well. One have to check on the configuration files to check on existing values and match it to user intended values. It looks stable, I've been test printing 20mm cube in vase mode to fine tune the maximum jerk settings and found out x=10, y=10, z=0.4 and E0=10 works well for me while maintaining the stock acceleration settings. Thank you dkoch83 and to all who made some improvements.

That is, overheating of the heating element was due to the version 1.0?

vernieg commented 5 years ago

Possible but I am not 100% sure but it could be related. When I noticed from those working Chiron are using version 1.2 from FYSETC, I ordered right away. I was glad I did for the 1.2 is also more silent. That's the only part I changed on the board. I believed it was not traced on firmware codes what could be the reason for the unstable and over heating behavior so no changes made to solve that issue on the firmware. I was only suspecting it must be related to the driver but I have nothing to test during that time. I even hesitated to test right away when I got the version 1.2 drivers because of the over heating experience that I lost confidence of doing the testing. Only this time that I can say that the firmware is working great on my Chiron.

SergeyRumyancev commented 5 years ago

Possible but I am not 100% sure but it could be related. When I noticed from those working Chiron are using version 1.2 from FYSETC, I ordered right away. I was glad I did for the 1.2 is also more silent. That's the only part I changed on the board. I believed it was not traced on firmware codes what could be the reason for the unstable and over heating behavior so no changes made to solve that issue on the firmware. I was only suspecting it must be related to the driver but I have nothing to test during that time. I even hesitated to test right away when I got the version 1.2 drivers because of the over heating experience that I lost confidence of doing the testing. Only this time that I can say that the firmware is working great on my Chiron.

And the problem with lack of memory at a firmware still appears?

wayp55 commented 5 years ago

Just to let you know that no more overheating hotend issue with the latest release of this firmware from its github page after I upgraded all of my FYSETC TMC2208 version 1.0 to FYSETC TMC2208 version 1.2. I was able to autolevel, do linear advance (K=1) and noticed improvement on quality. Its been a while that I have upgraded the TMC2208 to version 1.2 but I hesitated to do some testing again because of the previous overheating experiences. Since I noticed a lot of updates were happening already on this firmware, good that it already have its own github page and I needed linear advance, I have to test it again and a big thank you to all who did the effort that the upgrade went well. One have to check on the configuration files to check on existing values and match it to user intended values. It looks stable, I've been test printing 20mm cube in vase mode to fine tune the maximum jerk settings and found out x=10, y=10, z=0.4 and E0=10 works well for me while maintaining the stock acceleration settings. Thank you dkoch83 and to all who made some improvements.

please, could you say what voltages you are using in v1.2 ? Thanks

dkoch83 commented 5 years ago

https://wiki.fysetc.com/TMC2208/ RMS Current (A) = 1.0 Reference Voltage (V): = 1.41

SergeyRumyancev commented 4 years ago

Yes, the overheating problem is solved. I installed the drivers TMC 2208 v1.2. But now when printing a layer, the nozzle freezes for a second in random places. What could it be? Who has the same problem, guys?

dkoch83 commented 4 years ago

@SergeyRumyancev Do you use Cura 4.1.0 ? Ref Voltage of the TMC2208 ?

SergeyRumyancev commented 4 years ago

@dkoch83 Yes, I switched to Cura 4.1.0. The voltage on all drivers is 1.8. First tried to install 1.4 everywhere but the engines were skipping steps in any jerk.

dkoch83 commented 4 years ago

@SergeyRumyancev in cura 4.1.0 are new option, you have z hop enabled, look for [Maximum Z Speed] under [Speed] and set it to 50 mm/s

SergeyRumyancev commented 4 years ago

@dkoch83 Hi! It turns out the problem was different: the Cura slicer generates a gcode that is not able to adequately play Chiron. We are talking about the wall thickness of 1.6 mm (4 passes 0.4 mm nozzle). No filling. There is only a double wall. The printer makes two internal adjacent passages at a speed of 60 (these are the inner walls), and the outer passages at a speed of 30. Internal somehow printed with jerks, micro-braking. I tried to generate code with Simplify3D. No problem. Everything is printed without any micro-braking. Tried on versions Cura 3.6, 4 and 4.1. The result is the same.

https://yadi.sk/i/WtppjuH1AB77ig

SergeyRumyancev commented 4 years ago

Hi guys! I take my words from the previous comment back. Even when printing with Simplify3D, circles are printed with micro-braking. We are talking about the speed of 60 mm/second. I will understand further.

SergeyRumyancev commented 4 years ago

That's trouble. Technical support sent me their standard file with the dog and recommendations to fix the problem (useless recommendations). Started to print, the same problem. I think maybe there's something wrong with the Board.

https://yadi.sk/i/ebw7w_3-4UHy9A https://yadi.sk/i/L9I8PJDsyuSZkg

dkoch83 commented 4 years ago

It looks like over extrusion. This happen when the filament diameter is not constant or the Printer is not calibrated.

Have you test it with a other filament?

Is you Printer caliprated ? https://3dhobbyist.com/calibrating-a-3d-printer-with-test-prints/

Have you Lin Advance enabeld? http://marlinfw.org/docs/features/lin_advance.html http://marlinfw.org/tools/lin_advance/k-factor.html

SergeyRumyancev commented 4 years ago

@dkoch83 Hi! It's impossible. 1) Straight sections are printed perfectly, without any braking. 2) the Table is calibrated and printing is with an error in height +-0.04 mm. 3) All motors are calibrated perfectly, the corresponding changes in the steps in the firmware. 4) Alinadv is disabled. 5) the Filament has a uniform thickness on a long section (measured by caliper). 6) The video clearly shows that it is micro-braking of the x and Y Axes, the nozzle stops for a fraction of seconds. And finally, I installed via Cura native firmware 1.3.0, the effect is the same. A very strange case. But it seems to me more and more that some component of the Board is unstable.

dkoch83 commented 4 years ago

@SergeyRumyancev

Start G-Code (add for testing at the bottom of the start g-code)

...
M205  X10.00 Y10.00 Z0.50 E15.00
M204 P450 T450 ;set acceleration

Maybe the stepper driver? Kann you install the old stepper drivers to testing? But bevor, testing with a lower ref voltage of the tmc2208 drivers. Maybe 1.7 V or 1.6 V. Ceck the flatt cabel of the sd card reader. Print in cura via USB cabel for testing. Maybe conecting problem with the stepper driver, unplug all stepper drivers and replug.

I dont thing that it is the borad.

SergeyRumyancev commented 4 years ago

@dkoch83 Hi! I'll start with the good news. I tried all of the suggestions, and nothing worked. When printed adjacent the inner curved wall at speeds 60 and higher apparent micro-braking. However, it is worth mentioning that I installed the original firmware 1.3.0 via Cura. The driver was the same - TMC2208 v.1.2. The voltage is 1.8 volts. And the good news is, I figured out the reason for these micro-brakes. They were called by the included parameter "compensation of overlapping of walls". Disabled it and everything is super. But now the question is: firmware 1.4.0 I had a more obvious micro-braking, even with a print skirt. Isn't this the reason that due to the large size of the firmware, the program works unstable (so it is written when flashing through Arduino)? I remember, for example, that after automatically calibrating the table and trying to change the height of a particular point in the printing process, the printer rebooted. This is not the original 1.3.0. Maybe the printer is simply lacking memory? Now I do not know, try 1.4.0 again or not? Now I'm at least sure that everything works fine on the original 1.3.0 with 2208 drivers. I apologize if something is not clear in the text. Text translated from Russian through a translator.

dkoch83 commented 4 years ago

I have do some fixes Marlin-1.1.9_Anycubic_Chiron

wayp55 commented 4 years ago

I have do some fixes Marlin-1.1.9_Anycubic_Chiron

thanks I will check next weedend. ;)

SergeyRumyancev commented 4 years ago

@dkoch83 Hi! Installed the updated firmware. Immediately had a problem with automatic calibration. Lowered all points from -14 to -16.20, the printer did not react. Began to move the x-axis, suddenly suddenly the Z-axis with X fell. Well, with grief in half calibrated for the sample print. Unfortunately, the same thing: even at a speed of 20 when printing a skirt, the nozzle stops at random (the nozzle stops several times in a row for a fraction of a second on segments of approximately 3 mm long). Attempt good, but apparently my printer works only on native firmware 1.3.0 with drivers TMC2208.

SergeyRumyancev commented 4 years ago

Perhaps, I will leave these attempts, a lot of time is spent for calibration and flashing.

wayp55 commented 4 years ago

I installed new firmware (and change nozzle 0.8) When I put M900 K0.0 extruder not work. If I put M900 K0.2 or another valor, print at begining but stoped past 30 minuts. ..... Now I can print nothing with security any suggestions?

wayp55 commented 4 years ago

I return to marlin 1.3.0 original from anycubic (invert only motor direction) and now extruders works fine for 3 hours. Bad part is card reader doesn't again

Pda. Someone has mounted a 0.8 or 0.6 nozzle? could you pass me values for simply3D? I am testing with 0.3 layers and the result is not good. Thanks

dkoch83 commented 4 years ago

Hello, i have do some bug fixing. please testing Marlin-1.1.9_Anycubic_Chiron