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

Arduino/Ramps issues

Discussion in 'Troubleshooting' started by Matt Gorski, Dec 5, 2016.

  1. Matt Gorski

    Matt Gorski Member

    Joined:
    Nov 21, 2016
    Messages:
    83
    Likes Received:
    17
    Okay port settings in Windows device manager default say 9600 should I change this also?
     
  2. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    <shrug>
    I have never touched that setting.
    A stronger Windows Guru than I might have more to offer.
     
  3. Matt Gorski

    Matt Gorski Member

    Joined:
    Nov 21, 2016
    Messages:
    83
    Likes Received:
    17
    Whats a link to an affordable replacement Arduino Mega 2560?
     
    #63 Matt Gorski, Dec 7, 2016
    Last edited: Dec 7, 2016
  4. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
  5. Matt Gorski

    Matt Gorski Member

    Joined:
    Nov 21, 2016
    Messages:
    83
    Likes Received:
    17
  6. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Any Arduino Mega 2560 will work so that one should be fine :)
     
  7. Matt Gorski

    Matt Gorski Member

    Joined:
    Nov 21, 2016
    Messages:
    83
    Likes Received:
    17
    Okay well I will be trying a few setting for baud rate in device manager, ive also seen some devices not communicate with software flow control on or off so maybe thats an issue with communication. I will try to power the board on and off and see if i can get anywhere later today.

    I dont even think i ever statically shocked the board and I was very carefull when removing and installing so hopefully I can get lucky later today.

    Are the Arduinos that fragile that just removing them causes them to blow? This Arduino was working just fine until i removed the RAMPS...
     
  8. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    The reason some of those are so cheap is because they are not 'official' Arduino (tm) Products. They are 'compatible' products.
    <shrug> Like I said I have not had major issues and given the price difference I can throw away a few of the cheap ones and still be less. I reality over the course of about a dozen knock-off boards in the past year I have had exactly one that died prematurely. For teh $10 cost, I just swapped it and got over it.
     
  9. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Matt Gorski likes this.
  10. Matt Gorski

    Matt Gorski Member

    Joined:
    Nov 21, 2016
    Messages:
    83
    Likes Received:
    17
  11. Matt Gorski

    Matt Gorski Member

    Joined:
    Nov 21, 2016
    Messages:
    83
    Likes Received:
    17
  12. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Should work fine.
    Any AT Mega 2560 clone would be OK.

    note: I can't speak for that seller or any other really :)

    I would suggest you get more than one from where ever you do get them.
     
  13. Matt Gorski

    Matt Gorski Member

    Joined:
    Nov 21, 2016
    Messages:
    83
    Likes Received:
    17
    One question about the Arduino IDE. Should I be using 1.6.9 as the wiki says or an updated version?

    Here are a few trouble shooting tips ill give a try later also: http://forums.reprap.org/read.php?219,631416

    Shorter USB cord
    Burn new bootloader (not sure how)
    No RAMPS connected at all
    Change boards settings back and forth
    Leave off for 20 min then try again
     
    #73 Matt Gorski, Dec 7, 2016
    Last edited: Dec 7, 2016
  14. Matt Gorski

    Matt Gorski Member

    Joined:
    Nov 21, 2016
    Messages:
    83
    Likes Received:
    17
    Do I leave the programmer "AVRISP mkll" as default or change to one of these options?
     

    Attached Files:

  15. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Yes, fine.
     
  16. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Or a better quality one. That actually matters with the Arduino.
    Due to the heavy useage it makes of the USB port data.

    You do not have the parts.*
    Details here if you really want to know: https://learn.sparkfun.com/tutorials/installing-an-arduino-bootloader



    *I have used AVR Dude and the one from SparkFun.
    It is (contrary to the implication of the name) anything but fun. It can however recover an otherwise dead Arduino board. Make sure if you go this route that the programmer you choose supports the Mega. These days I pitch bad ones rather than try to revive them given the cost... Besides, most of the time it is not the bootloader, but something else fried on the board.
     
    #76 mark tomlinson, Dec 7, 2016
    Last edited: Dec 7, 2016
  17. Matt Gorski

    Matt Gorski Member

    Joined:
    Nov 21, 2016
    Messages:
    83
    Likes Received:
    17
    Thanks for the instructions if ever needed :) I would buy a new board also considering the price.

    So ive tried 3 different computers now Windows 10 and Ubuntu 16.04 still same results on all 3 machines.

    Tried 3 different USB cables of varying length still no dice.

    I do not have any RAMPS connected when trying to upload firmware.

    Error remains the same:

    Ive tried IDE version 1.6.9 and 1.6.8 going to try 1.6.7 now...

    Sketch uses 117,782 bytes (46%) of program storage space. Maximum is 253,952 bytes.
    Global variables use 4,215 bytes (51%) of dynamic memory, leaving 3,977 bytes for local variables. Maximum is 8,192 bytes.
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_getsync(): timeout communicating with programmer
     
  18. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    http://stackoverflow.com/questions/19645441/avrdude-stk500v2-receivemessage-timeout

    quote:

    "What causes this can be numerous and varied, some possible issues:

    1. UART communications
      • Blinking is happening, so hopefully you aren't using the wrong port. It might be worth checking again though, sometimes USB COM devices install on strange port numbers.

      • Connect TX to RX (and disconnect them from the AVR if possible) then open a terminal on the COM port, you should see characters echoed if you type them. If you don't, something is wrong up-stream of the chip, it could be the communications chip (I think the Arduino 2560 uses a secondary AVR instead of an FTDI for some reason, so that could be broken, either its software or hardware)
    2. ATmega* bootloader
      • The AVR is not executing the bootloader for some reason. If the programmer is not resetting the micro before attempting to connect, this might be the reason. Try to reset the AVR (press and release the button) while the programmer is attempting to connect. Sometimes software that runs in a tight loop will prevent the bootloader from connecting.

      • Barring that, the fuses might have gotten messed up or the code erased. You would need to reflash the bootloader and proper fuses, again, see the appropriate info page for your device.
    3. Arduino Mega 2560 only: ATmega8U/16U software
      • Might not be working and would need reprogramming. See the Programming section on the info page, you will need the firmware and Atmel-compatible DFU (device firmware update) software on your computer to reflash the target.
    4. Hardware damage to the board, AVR(s), or FTDI chip

      • You're hosed; need a new chip."
     
  19. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Note how none of those are really 'software'?
    These are almost all 'hardware' and by that we mean the Arduino...

    You could try uploading something like the 'blink' arduino example program (it simply blinks some LEDs on the board) and see if it will load, but I suspect nothing will.
     
  20. Matt Gorski

    Matt Gorski Member

    Joined:
    Nov 21, 2016
    Messages:
    83
    Likes Received:
    17
    Nice find. Yeah I dont even see any blinking lights when trying to upload
    I will give that a try and yes I believe it has to be hardware related at this point. Thanks for the stackoverflow link.
     
    mark tomlinson likes this.

Share This Page