To anyone who can help me, I have a prusa i3 DIY kit that came with default firmware pre-installed on a MKS Gen-2Z V1.1 controller. The control board had a catastrophic failure when a ferrite bead shorted and caused an arc across a second ferrite bead and fried the five volt circuitry. Now I have the next generation up in control board (V1.2) and marlin is giving me issues with the auto-leveling sections of code and a few other things in configuration. I'm not by any means a programmer, but I do know electronics and mechanics. I cannot locate the original firmware and the printer itself has worked fine for three years. The bed has to be leveled with my own two hands while the steppers are disabled, or rather it had to be in the past, using thumb screws and springs on the buildplate. there may be other issues with the program, but I'd like to tackle each one at a time. If you need the code to look at, I can post it at request. Thanks again. -Fallin
Was the original firmware Marlin? What is working ok? What is not? Do the steppers work and the limits? Did the printer have auto level or is it something your now adding. A list of what doesn't work and config file will help.
You need to edit the Configuration.h file in the Marlin source code.
You need data to put in there, since you said it was a DIY Prusa i3, this data should be out there, probably under DIY Prusa i3.
You need the Arduino compiler/IDE, then open marlin in there, set your COM port to the usb connector to the board. I would simply build the default Marlin code and try to upload it. Just start the baord to see if it works, but dont try to RUN anything yet.
Then you can try to edit the Configuration.h file.
Heres a general outline of steps, but remember this uses RAMPS, not your board, so try to find all the data bits for your board and printer configuration.
Once you get the basics running again, then you can add new cool things, like autoleveling, etc.
In order of appearance: I have no idea what the original firmware was, only that Marlin was a common one compatible with my board. The PSU and all of my components work fine I just had a freak accident on the original board and I now have a functional replacement. The printer itself never had auto leveling and I have no intentions on adding it, the arduino compiler is just not having anything to do with the auto leveling command lines and I don't know how to bypass them. I will include the current Configuration.h file as an attachment. The original DIY PRUSA i3 Configuration.h file does exist, however arduino and Marlin claim the commands in this file are out of date and that I should update the file or use the one provided with Marlin. I do have the correct configuration parameters set up in my new Configuration.h file (the one that comes with marlin), but I'm not having a problem with the parameters, rather a few lines that don't even apply to my printer. If you need a picture of the printer and it's set up, I will provide that too. Again I thank you for taking time to help me. -Fallin
Well now that you mention it, I daresay that I'm not entirely certain I've selected the correct motherboard in the configuration... In the compiling bit, I can open everything, but it gives me the error when I try to verify and if i try to transfer it to the device. The error has something to do with a G26 code and the auto leveling bits. I just changed the motherboard to the L one and had two smaller hitches that I could fix, but I'm still getting the issue attached. The picture is the problem that leads to other problems. If i comment out the line, it gives me a whole slew of other errors. I actually don't know what to do with the code to prevent or circumvent these errors. I will attach the updated Configuration.h. The transfer protocol runs with an ATmega2560. Any help is still appreciated and thank you. -Fallin'
You, ode kind one, art mine savior! I got an error on first validation that claimed I couldn't have an endif without an if. I commented out the one it indicated and the error it spawned, and it compiled successfully. I managed to install the firmware onto my printer and I can now receive data from it in the serial monitor. Here is where I incur a new problem. If the screen is hooked up, it will claim within five seconds that the kill switch has been pressed. Mind you the LCD does not yet come on, as I haven't figured out how to set it up, much less attempted to configure it, but when the LCD and SD Reader plugs are disconnected, there is no kill command executed. It just says that the SD failed to initiate. I've never printed anything from my computer before, only the SD via the LCD controls. I tried to connect to both of the utilities I have on my computer and neither are having it. I believe it may be possible that the LCD reset button is acting as a negative trigger kill switch, not that I have any Idea how to make it into the reset switch of old, nor do I know how to disable the kill command in the code. Thank you for what you have done for me thus far, the printer is another step closer to printing. -Fallin'