Close



Results 1 to 10 of 757

Threaded View

  1. #11
    Quote Originally Posted by Roxy View Post
    It's possible the code base has been updated... And if that is the case, I'll need to warm over the patch. I'll take a look at it in the morning. One way or the other, we'll get it going. Can you .ZIP up your Marlin directory with all the files and attach it to a post? I'll do a DIFF of all the files and figure out what is sick. And with a little luck, I'll be able to get it fixed. And then I'll upload that as a .ZIP file for you to grab.

    Update:

    I just took a quick look at the current code base on Erik Zalm's site. Not much has changed for 2 or 3 months. So, the easiest way to proceed is what I suggested up above. .ZIP up your code and attach it to your next post. I'll do a diff and probably be able to fix it pretty quickly.
    Thank you so much for helping me so quickly, I just don't understand programming enough so it could be blatantly obvious what I've done wrong. I've probably deleted something I shouldn't have. Your instructions are really clear so i'm annoyed with myself that I haven't just got it going myself. I tried putting everything in a .zip but its still too big to upload. Ive added marlin_main.cpp and configuration.h I will try and upload a .zip of everything if i can get the file small enough. Thank you again.

    Roxy Edit:
    Just make a new directory somewhere on your hard disk and copy all the .h, .cpp, .pde and .py files to it. And then .ZIP that up. It is probably the .obj (or what ever they are called in Arduino) making things too big. But this is enough to get started. I'll see what I can find.

    Roxy Edit #2:
    I checked your Configuration.h file and it looked reasonable. You had a big block of bogus code at the end of the G29 code in the Marlin_main.cpp file. I commented it out so you can see what was there. I tried to compile it but there are some mismatches between the code base you have and what I have. I'll need your entire file set (as a .ZIP file) to go any further. Try the newly attached file: Marlin_Main-Brain_Scan.cpp and see if that helps. It should get rid of a lot of the errors, but I was having trouble getting through the RS232 code with your files in place. You can delete the old Marlin_Main.cpp and replace it with the Brain_Scan version that is attached. I also crossed over the M48 command so when you get it to compile you can check the accuracy of your Z-Probe.

    Roxy Edit #3:
    Just for kicks I tried to compile against my Configuration.h file. I don't have the problems with the RS-232 (serial) code that you do. I found one problem that needs to be changed in your Configuration.h file. At the end, there is a #define for the number of Servo's. You have it set at 1. I realize you only have one servo, but the software is looking at a table of X,Y and Z for the angle locations. This should be set at 3 because it is the third axis and you need to be able to mess with it. I've attached the new file with that too. It is possible this will compile cleanly on your machine with the rest of your files.
    Attached Files Attached Files
    Last edited by Roxy; 06-24-2014 at 12:16 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •