Home JGAurora A5 & A3S Modifications & Upgrades

Printer not responding after Stepper motor upgrade

HI, new here and unfortunately with a less pleasent introduction.

I did the stepper driver motor update following the youtube of @DaHai. After that everything started up but I couldn't move any of the axis throught the panel nor did anything happend when trying to print something (both the bed and extruder remained at 0C. 

I've reverted everything (including flashing stock firmware but the problem persists. 

Does anyone have a suggestion on how to proceed?
«1

Comments

  • wolph42wolph42 Posts: 29Member
    edited August 2018
    hmm I can't seem to update my post. It concerns a jgaurora A5 purchase about 2 weeks ago. (found the edit button).
    Post edited by wolph42 on
  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    Did you put the old stepper drivers in the right way around? I would try a new motherboard, they are not expensive: 


    https://jgaurorawiki.com/essentials#spare-parts
  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    Do the bed and nozzle still heat up? What happens when you try to extrude using pronterface?
  • wolph42wolph42 Posts: 29Member
    edited August 2018
    Thank you for the swift response, much appreciated!

    To answer your questions:

    - yes the old drivers are in correctly
    - no the extruder and bed dont heat up
    - I don't know what you mean with proterface, could you elaborate?
    - thanks for the link, I've ordered a new board. Although this board still responds to the arduino IDE and I still can upload firmware so Im rather unsure thats the issue. 

    The biggest problem is that I'm clueless as to how to pin point the issue. Is there any software or tools around to check the board and outputs?

    Some additional info:
    -if I hold the extruder i noticed that the temp goes up on the screen
    -if I change the fan speed I hear it slow down/speed up

    So apparently not everything is dead, but all the heating and drivers (x/y/z/extruder) do not respond. 
    Post edited by wolph42 on
  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    Yes, there are tools to do more diagnosis: check out the info on printers freezing on the wiki.

    https://jgaurorawiki.com/a5/faq
  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    Do the fans work when the printer is not plugged in via USB?
  • wolph42wolph42 Posts: 29Member
    the fans only work when main power is connected. I've started checking what happens at the serial monitor, but when I hit the buttons I get a neat:
    ok
    ok
    ok
    ok
    X:0.00 Y:0.00 Z:1.00 E:0.00 Count X:0 Y:0 Z:800
    ok
    ok
    ok
    ok
    X:0.00 Y:0.00 Z:2.00 E:0.00 Count X:0 Y:0 Z:1600
    ok

    so the board really appears to work
  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    edited August 2018
    Well, if heating doesnt work, its not worth any further effort. I was thinking perhaps the PSU would be dead, but if the fans are spinning that is unlikely....

    Unfortunately, I recommend just buy another motherboard... or two. Under $20 USD delivered from china. 

    Its unlikely that all 4 stepper drivers were damaged. You could try homing each axis one by one in pronterface to check.

    Also, If you try heating in pronterface, you should get a heating failed message in pronterface after about a minute or so.
    Post edited by Samuel Pinches on
  • wolph42wolph42 Posts: 29Member
    Ill give that a shot. I did notice though that after flashing stock firmware (from the aurora wiki) did return the movement to the z axis. however the x/y/extruder did not function. So its certain that there is at least something wrong with the latest firmware. I will also try to get the firmware straight from aurora themselves and see how that works and pronterface ill give a shot as well. thnx.
  • wolph42wolph42 Posts: 29Member
    edited August 2018
    ok installing (really) stock firmware yield the same result. only Z nothing else (heating also not responding)
    using pronterface resulted in everything working (also heaters) except x and y. 

    Any advice how on to proceed?

    and additionally: do you have any clue on what happened/is happening? 
    Post edited by wolph42 on
  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    Well, if the Z axis is the only axis working, try swapping the stepper driver from there into the x, y and e axis and see if they are dead or just not getting any signals


  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    edited August 2018
    Mis-wiring them could have potentially damaged the x &y stepper drivers, and possibly the pins they were connected to on the main microcontroller.
    Post edited by Samuel Pinches on
  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    edited August 2018
    Try heating from lcd while monitoring in pronterface for errors 
    Post edited by Samuel Pinches on
  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    You can also send m111 to provide more debug output in pronterface.

    http://marlinfw.org/docs/gcode/M111.html

    that way you can actually see the gcode commands the lcd is sending
  • wolph42wolph42 Posts: 29Member
    Once more, thank you very much. I've got a very busy week comming up so Im gonna shelve this for now. I've ordered new parts so I'll also wait for those. 

    To respond to your suggestions: 
    - wrong wiring: I've check 3 times (at least) wether I got the wires right, if I did it wrong, then its wrong on the schematics provided on the forum/wiki (or the board has changed...very unlikely). 
    - but if I would have fried something then swapping xz and yz should thus result in Z still functioning, right? (concerning the original steppers, which weren't in place when stuff went wrong, so its impossible to fry them).
    - what I really dont get is that the lcd commands dont'work while the pronterface commands do work. (with stock firmware). But I'll give the debug output a shot
    - Additionally what I don't get is that NOTHING works when I use the latest firmware version. 
  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    edited August 2018
    If mis-wiring occurred, then there is a possibility that those pins were damaged on the main microcontroller? I really don’t know what else could have caused such a failure.

    There should be error messages displayed in pronterface for both failure to heat, and failure to home. Can you please post those messages, as well as the startup connection message?

    I still recommend the custom firmware, I am very confident there is no fault with the custom firmware. Nothing working does not mean the firmware is at fault, there are more safeguards in the custom firmware that will halt operation if errors occur.

    Let me know if you want some help over teamviewer to diagnose this further.
    Post edited by Samuel Pinches on
  • wolph42wolph42 Posts: 29Member
    Thank! As said, couple of side projects I like to round off, that and I'm waiting for the 'spare' parts to show up.  I'd very much appreciate a teamviewer session with you. I'll post when Im ready.
  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    Cool. I'm at the computer now if you like :smile:


  • wolph42wolph42 Posts: 29Member
    Im currently at work, so that would be a bit difficult. I've noticed a possible different solution and would like you advice:
    https://nl.aliexpress.com/item/BIGTREETECH-GEN-V1-0-Controller-board-4-lagen-MKS-Gen-V1-4-Ramps1-4-1-6/32893923987.html?spm=a2g0s.13010208.99999999.259.30453c00C4UooR 
    That would circumvent the entire issue in one go, safe the fact that all 4 stepper drivers are tmc2130 so I need to figure out how to change marlin for the other two as well. anyway, what do you think?
  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    I'm sorry – both options have risks and unknowns. I don't recommend changing the motherboard for a different model, even though it is similar, and the firmware is even likely to "just work" thanks to similar pinouts, because the mounting of the board is (presumably) different, that creates a whole lot of new headaches. I would just recommend buying a new replacement MKS Gen L, and working on adding TMC SPI one axis at a time.
  • wolph42wolph42 Posts: 29Member
    edited August 2018
    Agreed, I too was wondering whether it would be wise to change board.
    Here's a better alternative. I just like it better when the wiring is ready. 
    https://nl.aliexpress.com/item/Controller-Board-MKS-Gen-L-V1-0-Integrated-Mainboard-Suitable-Ramps1-4-Mega2560-R3-MKS-Gen/32866659553.html?spm=a2g0z.search0104.3.29.11fc7a948Md8Nu&ws_ab_test=searchweb0_0,searchweb201602_5_10065_10068_10843_10059_10696_100031_10084_10083_10103_10618_10304_10307_10820_10821_10301,searchweb201603_16,ppcSwitch_5&algo_expid=93694972-74f2-4ed6-b01a-82439f3c6d7a-3&algo_pvid=93694972-74f2-4ed6-b01a-82439f3c6d7a&priceBeautifyAB=0 

    edit: the problem  I have with repeating Dahai's tutorial is that I'm 99% certain that I correctly followed the steps given by him. Especially given the times I checked, rechecked and rechecked again before proceeding to the next step. So if I were to do the same thing again I'm fairly certain I blow up yet another board/stepper drivers (indeed I could do one at a time, but thats already enough to blow stuff up.
    Post edited by wolph42 on
  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    I think that looks like a good thing to buy. Hopefully at least two of your existing stepper drivers will be ok to use. Just remember to never install/remove them while power is on.

    Sorry I can't help much with wiring, I have not done the SPI install yet myself.
  • wolph42wolph42 Posts: 29Member
    thats ok and given that I got the Z and filament going with proterface, its safe to say that at least those two are still working. (and I've ordered 4 more). Ok ill order this board then, thnx. 

    In the mean time I expect the board I already orderen together with the "non" tmc2130's to get everything back into 'initial' order. I'll let you know whether I get that working or not. After that I expect this board to come in and I'll give that a shot. 

    thnx.!
  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    No worries... good luck! If you do find out what the problem was, please do let us know!
  • DaHaiDaHai Posts: 36🌟 Super Member 🌟
    Hi  Rolph, 
    Got your comment on my YouTube videos regarding these issues.
    I know you and Samuel have covered a lot here, so some of what I'm about to say is redundant, but I want to make sure we are on the same page:
    I recommend at this point getting the printer back to its original state with original drivers and stock firmware. Once that is working properly, we can process with the upgrade of the stepper drivers and firmware. 
    Once you have it back to the original state, don't forget to initialize eeprom to reset all the settings back to factory defaults. You can do this in pronterface via:
    M502
    M500
    And when loading new firmware to the printer, don't forget to disconnect the display board beforehand. It can interfere with the firmware update can cause it to fail - or really odd things to go wrong.
    When testing functionality always do so through Pronterface and watch for any errors from the A5. Things like:
    overtemperature warnings
    short to ground
    etc.
    Also, post photos of the mainboard in the A5 after everything is plugged back in and include screenshots of any errors, warnings or questions whenever possible. It really helps convey what is going on (and wrong) 
    Thanks and hope to hear back from you soon - I (we) will help however we can to get you back working again.
    Thanked by 1Samuel Pinches
  • wolph42wolph42 Posts: 29Member
    edited August 2018
    thnx  for the post and indeed its the forum, not the wiki, not sure what I was thinking. I hope I can get a crack at this this weekend once more. Thnx. 

    ah yes, one thing: as I mentioned on the forum, currently I have my printer pulled apart and I like to keep it this way until Im certain that everything works again. Question then is: how do I test whether a driver/port/output/connector is actually working, without having the hardware connected?
    Post edited by wolph42 on
  • DaHaiDaHai Posts: 36🌟 Super Member 🌟
    I don't know of a way to do that.
    You could connect each item and test one at a time, but it's very important to only connect/disconnect things with the power off - especially with the stepper motors. Otherwise they may fry something.
    Thanked by 1Samuel Pinches
  • wolph42wolph42 Posts: 29Member
    edited September 2018
    ok I put the lot back together and it turned out that the 'old' stepper driver x and y were blown up. replacing them got everything working. also the m500/2 was necessary, but then to get the lcd display interactive again. THANKS!!!

    Next step...TMC2130, I *think* the entire issue I initially encountered was simply the fact that I didn't know about the m500/2 commands. I also think i know how the original steppers got blown up: while putting everything back I had the x reversed which resulted in the infamous 'plastic smell' which I'm (regrettably) all to familiar with. Weird thing is is that that apparently also fried the y stepper....but not the board.
    Next step is updating the firmware to latest version. Lets see how that goes

    edit: apparently ive never read the firmware instructions (basically cause im doing this for the past 6 months) I should have done that as it too mentions the m commands. One things strikes me as odd though: why is it necessary that the lcd is unplugged?!?

    ok thats working too, at least with the lcd panel i can move xyz

    final step...tmc2130, start praying...
    Post edited by wolph42 on
  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    The lcd sends communications over serial. Flashing the firmware happens over serial port. Lcd is not polite and tries to talk during the firmware flash. Firmware flash is then corrupted, leaving you with a dead board needing a bootloader reinstallation.
  • wolph42wolph42 Posts: 29Member
    ok Ive ran into an issue. The first time I did the changes in the firmware it compiled. I just tried to compile the same files again but got an error. So I downloaded 1.1.8C again and made the changes, however this resulted once more in an error (different one), see below. I've pinpointed the issue to uncommenting:
      #define TMC_DEBUG
    as soon as I do that it renders the below error.

    ===================
    Arduino: 1.8.6 (Windows Store 1.8.14.0) (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

    java.io.IOException: Could not replace C:\DDRIVE\Dropbox\ARDUINO\JGAurora A5 - DAHAI - Custom Marlin Firmware 1.1.8C\Marlin\Configuration_adv.h
    at processing.app.BaseNoGui.saveFile(BaseNoGui.java:911)
    at processing.app.SketchFile.save(SketchFile.java:287)
    at processing.app.Sketch.save(Sketch.java:138)
    at processing.app.SketchController.save(SketchController.java:352)
    at processing.app.Editor.handleSave2(Editor.java:1885)
    at processing.app.Editor.handleSave(Editor.java:1860)
    at processing.app.Editor.handleRun(Editor.java:1578)
    at processing.app.Editor.handleRun(Editor.java:1573)
    at processing.app.EditorToolbar.mousePressed(EditorToolbar.java:345)
    at java.awt.Component.processMouseEvent(Component.java:6530)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    at java.awt.Component.processEvent(Component.java:6298)
    at java.awt.Container.processEvent(Container.java:2238)
    at java.awt.Component.dispatchEventImpl(Component.java:4889)
    at java.awt.Container.dispatchEventImpl(Container.java:2296)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4897)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4531)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4475)
    at java.awt.Container.dispatchEventImpl(Container.java:2282)
    at java.awt.Window.dispatchEventImpl(Window.java:2746)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
    at java.awt.EventQueue$4.run(EventQueue.java:733)
    at java.awt.EventQueue$4.run(EventQueue.java:731)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    Could not replace C:\DDRIVE\Dropbox\ARDUINO\JGAurora A5 - DAHAI - Custom Marlin Firmware 1.1.8C\Marlin\Configuration_adv.h










    sketch\ultralcd.cpp: In function 'lcd_setstatus':

    sketch\ultralcd.cpp:4893:1: internal compiler error: Segmentation fault

     }

     ^

    Please submit a full bug report,

    with preprocessed source if appropriate.

    See <http://gcc.gnu.org/bugs.html&gt; for instructions.

    lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.14.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned 1 exit status

    compilation terminated.

    c:/program files/windowsapps/arduinollc.arduinoide_1.8.14.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed

    collect2.exe: error: ld returned 1 exit status

    exit status 1
    Error compiling for board Arduino/Genuino Mega or Mega 2560.

    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

Sign In or Register to comment.