I genuinely hope your feature request can be completed. I rarely use the lcd screen for anything which is why I am still using my trusty reprap full graphics. At the minimum I use the lcd to test homing when flashing firmware, test movements (and speeds/velocity/jerks etc.), reset eeprom, set nozzle offset, set TMC settings, and set TMC currents. All during the testing phase and offline. Onceby jaded - Firmware - Marlin
// BACK menu items keep the highlight at the top #define TURBO_BACK_MENU_ITEM Config advby jaded - Firmware - Marlin
Yes, quick home is more problems than it is worth with sensorless homing. Glad you are on the right path. As I noted before, find the threshold where your axis instantly triggers home and then drop the points by 5 or 10 (your choice) to get it to be reliable.by jaded - Firmware - Marlin
For the mks tmc2209 the diag0 port is the "top of the triangle". The link you posted is correct as far as the diag0 location. Connect that diag0 to your endstop signal pin when you are ready to try/test sensorless homing.by jaded - Firmware - Marlin
Off the top of my head... Assuming the jumpers on the board are correct you should need to set tmc2209 as the driver type for your axis. Set your machine movement/speeds, enable sensorless homing for x and y, set your currents under tmc smart section, ensure diag0 is connected to endstop, invert endstop logic if needed, set your stallguard threshold (this can be changed via lcd). Those are theby jaded - Firmware - Marlin
If you connected diag0 to the endstop pin and you still show triggered you might need to invert the endstop logic. I am at work and don't have my config files but I believe that is all that is needed with the mks bundle. You have to ensure also the jumpers UNDER the drivers are all removed and the uart jumper is connected.by jaded - Firmware - Marlin
I was already setup to do hex file uploads to my printers so vscode and pio were all that I setup for compiling. My raspberry pi which hosts my printers has repetier server running and that allows me to do firmware uploads to boards that are connected. So, I couldn't say if avrdude and vscode are integrated as all I do in vscode is compile marlin. The same goes for the bin files for my mks sgeby jaded - Firmware - Marlin
Quotesoftfoot Does PlatformIO support Noteoad++ Regards, Dave I don't think so but don't quote me. I use notepad++ but it was faster overall to setup vscode and install platformio inside vscode.by jaded - Firmware - Marlin
Try compiling with vscode and platformio. When I compiled marlin2 for an mks base 1.4 board (atmega IIRC) using vscode and platformio it breezed through it. 2 minutes or so.by jaded - Firmware - Marlin
Sometimes it took my boards two or three times to take the bin and rename it to cur. Combination of M997 and resets would have to do it. Also, sometimes when I transfer the bin file it is "empty" (0 bytes) after first read and then the board is "dead" until I retransfer the bin and do a reset via the board reset button and not the lcd controller reset. On the note of usb connection issues, I fby jaded - Firmware - Marlin
I never use the menu. I just use the console option and send the gcode command manually to pid tune the parts. Console option is available when you connect to the printer via software like repetier host or repetier server. I am only familiar with repetier so I am not sure what other options are out there.by jaded - Firmware - Marlin
My homing currents are still marlin default 800. I dropped my rms currents. Not had issues with sensorless homing or printing.by jaded - Firmware - Marlin
Quotebartolomeus ok, that's the middle one in the 'triangle' right? edit: Ok, confirmed, it was the 'middle' one. I have it working now. Thanks for your help! Good to hear. It's best to find the stallguard threshold value that causes instant endstop trigger and then drop it by 5 to try to keep a reliable homing setup. Also, if you change your speeds in marlin (or from the lcd controller) testby jaded - Firmware - Marlin
You will have to connect the diag0 pin on the stepper driver to the endstop signal pin.by jaded - Firmware - Marlin
Quotebartolomeus Hi, could you elaborate how you got sensorless homing working. Ik have the sgen-l with mks tmc2209 drivers. I compiled Marlin 2.0 firmware with senorless homing enabled, but I am not getting any movent on homing. I will take a stab at possible issues. Send M119 and check your endstop status before attempting homing. I'm guessing they will be TRIGGERED. If they are triggeredby jaded - Firmware - Marlin
QuoteVDX ... acceleration is not speed or feedrate! The "3000mm/s" is the feedrate or the maximal speed for this move. The acceleration will define, how fast you'll change from 0mm/s to 3000mm/s and the same for deccelerating before stop or starting the next line segment ... I'm not arguing this point. What I was trying to figure out is that, marlin has their value (default maximum acceleratiby jaded - Firmware - Marlin
I use slic3r pe almost exclusively. In the machine limits section slic3r is expecting mm/s². Marlin itself has these values in config.h as mm/s. Haven't been able to find a direct conversion from mm/s to mm/s². For anyone curious, this makes a huge difference in the slicing logic and printer movements. So, how do I convert, for example 3000 mm/s to mm/s²? Thanks.by jaded - Firmware - Marlin
I have 3 of my mks sgen-L boards set serial port to -1 and serial port 2 set to 0. This allows my raspberry pi (print server) to mount the sdcards when the printers are connected and still have control separately. On the off chance I need to upload new firmware I don't remove the sdcard. I just send it to the proper location via smb and then reset the printer. So much more convenient than theby jaded - Firmware - Marlin
So to update anyone curious. Marlin 2.0 release on 1 Dec 2019. So far I have motor movement. I have sensorless homing working on the x and y axis. The y axis though seems hit or miss but the fact that others have stated they couldn't get it to work on this setup just makes me keep pushing. To reiterate: I am using the MKS SGEN-L 32 bit with the bundled MKS TMC2209 V1.0 drivers. Marlin 2.0by jaded - Firmware - Marlin
I can't seem to get my motors to move. I am using the mks tmc2209 v1 that came with the sgen L. I removed the diag jumpers that were installed for sensorless homing since I read that the mks v1 2209 doesn't support it. When I try to home any axis no motors move and the board halts with a "homing failed" message. Any ideas? Here is the output from M122. 13:15:49.358 : X Y Z Z2 E 13:15:49.358by jaded - Firmware - Marlin
QuoteDust You sure the stepper modules are in correctly? with mks the pins are color coded black to black and green to green Steppers are in correctly. Maybe it was a bad initial flash. I did as the wiki suggested and deleted the files from the sdcard of the board. Then I powered down, disconnected all connections (only had the graphics controller connected) and waited 30 seconds instead oby jaded - Firmware - Marlin
QuoteDust You just need the Uart jumpers on foe each stepper driver that has a uart, no other jumpers under the stepper drivers This is how it is currently configured as far as jumpers are concerned.by jaded - Firmware - Marlin
Ok so after failing with atom and sublime I removed everything that was done/installed for atom/sublime and installed platformio for vscode. Build completed on the first try and then upload hit a snag. Sorted that out by editing the platformio.ini for the proper env. Now the board is flashed and the reprap full graphic controller works. However, I am getting a tmc connection error. So far, mby jaded - Firmware - Marlin
Thanks Dust. Gonna give it another go.by jaded - Firmware - Marlin
I'm having issues trying to build the mks source so the next step is to take the pins definitions and drop it into the original marlin branch and see if that takes. Also I had to setup the sublime environment so there was another relearn step. I had arduino ide building down now have to change :rolleyes:by jaded - Firmware - Marlin
Quotecommo81 Wow, thanks. At least I can see pin assignments now, unfortunately, I had tried the E0 line for enabling heat fan to come on above 50 degrees and it just didn't work for some reason. I have a MKS GEN L board coming with the ATMEGA 2560 onboard and I think I am just going to use that and if it works, I'll be sending the MKS SGEN_L board back because this is just a headache for me withby jaded - Firmware - Marlin
I found a pins definition here: Will give this a go soon and see if it flashes.by jaded - Firmware - Marlin
Just wondering what the motherboard definition would be for this. I have flashed other boards in the past that have had documented or existing board defs in marlin (mks base, anet, ramps etc) but I am not sure if the the mks sgen is still regarded as ramps 1.4 pin compatible. Thank you.by jaded - Firmware - Marlin
Perhaps it's time to share a video of your situation. If the firmware and all other mechanics are working on a manual level system the first layer will be sitting on the z endstop. Assuming a cartesian printer since this is in the i3 section z endstop is considered the first layer and would stay stationary while x and y coordinate the moves. It sounds as though you are saying that a print won'by jaded - Prusa i3 and variants
You are kind of confusing the situation and making it more complex. Keep in mind I haven't done manual bed leveling in forever since I went to probe leveling. You have to adjust your bed to its lowest setting ie you have to tighten the bed screws to compress the bed on the springs or bring the bed down to its lowest possible point. When you home your z axis you want your nozzle to stop above tby jaded - Prusa i3 and variants