1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Solved arduino problems

Discussion in 'Troubleshooting' started by allen33, Feb 19, 2017.

Thread Status:
Not open for further replies.
  1. allen33

    allen33 Member

    Joined:
    Feb 1, 2017
    Messages:
    64
    Likes Received:
    4
    I am having issues flashing the software for robo 3d r1+ and I can't figure out what is wrong. I followed their steps for flashing the software but that didn't work. I am doing this to a new board so it is unlikely that the board is bad. any suggestions are appreciated.
     
  2. Geof

    Geof Volunteer Moderator
    Staff Member

    Joined:
    Nov 9, 2015
    Messages:
    6,757
    Likes Received:
    2,339
    Can you post the error your getting? Using arduino ?
     
  3. allen33

    allen33 Member

    Joined:
    Feb 1, 2017
    Messages:
    64
    Likes Received:
    4
    this is the error:
    Arduino: 1.6.9 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

    In file included from sketch\SdFile.h:27:0,

    from sketch\cardreader.h:8,

    from sketch\Marlin_main.cpp:44:

    SdBaseFile.h:38: error: using typedef-name 'fpos_t' after 'struct'

    struct fpos_t {

    ^

    In file included from sketch\Marlin.h:10:0,

    from sketch\Marlin_main.cpp:30:

    c:\users\allen\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here

    __extension__ typedef long long fpos_t;

    ^

    exit status 1
    using typedef-name 'fpos_t' after 'struct'

    Invalid library found in C:\Users\allen\Desktop\ROBO3DR1PLUSV2\libraries\libraries: C:\Users\allen\Desktop\ROBO3DR1PLUSV2\libraries\libraries
    Invalid library found in C:\Users\allen\Desktop\ROBO3DR1PLUSV2\libraries\libraries: C:\Users\allen\Desktop\ROBO3DR1PLUSV2\libraries\libraries

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

    allen33 Member

    Joined:
    Feb 1, 2017
    Messages:
    64
    Likes Received:
    4
    I also can't access the slide over menu when hovering over sketchbook even though I selected a sketchbook location using preferences
     
    #4 allen33, Feb 19, 2017
    Last edited: Feb 19, 2017
  5. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    Search and you will find that you need to edit a couple of variable names that use an incorrect construct.

    It will compile with no errors if you want to use a very old version of the Arduino IDE, but anything newer than 1.6.8 will produce that error. Current version of the IDE is 1.8.1
     
    mark tomlinson and Geof like this.
  6. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
  7. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    Thanks, It was late and I can never find that thread
     
    Geof likes this.
  8. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    and to be perfectly clear for @allen33 --- this is not an acceptable approach to firmware maintenance, but ...
    we live with it. They are not focused much on the older units (small company still) and that means we the community have to step in and assist.

    Those edits will get it working with the latest Arduino IDE. I had to do them myself recently.
     
  9. allen33

    allen33 Member

    Joined:
    Feb 1, 2017
    Messages:
    64
    Likes Received:
    4
    so I did that change. but after it successfully uploaded the L light lit up red. what does that mean?
     
  10. allen33

    allen33 Member

    Joined:
    Feb 1, 2017
    Messages:
    64
    Likes Received:
    4
    never mind. I found my answer. now I have to reassemble the printer and see if everything works
     
    mark tomlinson likes this.
  11. allen33

    allen33 Member

    Joined:
    Feb 1, 2017
    Messages:
    64
    Likes Received:
    4
    my printer seems to be working. thanks for your help! but I still have to do a test print
     
  12. allen33

    allen33 Member

    Joined:
    Feb 1, 2017
    Messages:
    64
    Likes Received:
    4
    I just got a hardware error printing a calibration box. any suggestions? attached is a screenshot of the error
     

    Attached Files:

  13. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    That is not the error. That is Marlin (being dumb) and simply telling you that an error really has occurred.
    Look in the GCode terminal (all the way back) until you find the actual error.

    I suspect it is a thermistor related error (something like "Temperature fell too much during print!" or similar) but you need to nail down what error it is seeing so you can sort it out.
     
    #13 mark tomlinson, Feb 20, 2017
    Last edited: Feb 20, 2017
  14. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
  15. allen33

    allen33 Member

    Joined:
    Feb 1, 2017
    Messages:
    64
    Likes Received:
    4
    this is the only error I can find: Error: Line Number is not last line number +1. and then it resent the command and it was good.
     
  16. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    well, that is a not really an error (more of a warning) so that is not the one.
    Something is raising an error. A fatal one.
     
  17. allen33

    allen33 Member

    Joined:
    Feb 1, 2017
    Messages:
    64
    Likes Received:
    4
    I couldn't find one. right after I posted about the error I restarted my printer and printed the same box again but this time it made it all the way through
     
  18. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    If I am not mistaken (sorry, don't use it) I am pretty sure you can keep teh GCode terminal open while using MatterControl See what you can find in the terminal then once the error pops back up.
     
  19. allen33

    allen33 Member

    Joined:
    Feb 1, 2017
    Messages:
    64
    Likes Received:
    4
    I can try that. I usually use octoprint through a raspberry pi and monitor my prints through their gui
     
  20. Geof

    Geof Volunteer Moderator
    Staff Member

    Joined:
    Nov 9, 2015
    Messages:
    6,757
    Likes Received:
    2,339

    I made it sticky, I can never find the darn thing either.
     
    mark tomlinson likes this.
Thread Status:
Not open for further replies.

Share This Page