Arduino DCCpp_uno upload fail

Dudlee Mar 8, 2022

  1. Dudlee

    Dudlee New Member

    9
    2
    2
    The DCCp_uno.ino file verifies OK but I'm getting the following errors when trying to upload..

    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
    avrdude: stk500_recv(): programmer is not responding

    This is a new build using a Elegoo Mega 2560 and an Arduino motor shield.

    Have same error from a macbook running Monterrey and a Compaq running windows 10.

    Have tried with and without jumper on 4 and 13. I have the Mega and motor shield powered up.

    Michael
     
  2. wvgca

    wvgca TrainBoard Member

    499
    305
    21
    might be an odd question ...
    is the mega 2560 the same as an uno ??
    i have only used the nano ..
     
  3. Dudlee

    Dudlee New Member

    9
    2
    2
    The mega is an inch or 2 longer and has more memory. I tried uploading a simple Blink program to it and that got the
    same failure response. Will return it and try a new board..
     
  4. Sumner

    Sumner TrainBoard Member

    2,877
    6,114
    63
    Are you using the auto-installer on the DCC++EX site? Is DCC++EX what you are trying to install or the older original DCC++?

    Sumner
     
  5. Dudlee

    Dudlee New Member

    9
    2
    2
    Installing original DCC++, not the EX. This board wouldn't upload the "Bare Minimum" sketch either. I Ordered a new Arduino.
    I do plan on installing a WifI shield on this, would the DCC++-EX file work without a Wifi shield installed?
    Michael
     
  6. Sumner

    Sumner TrainBoard Member

    2,877
    6,114
    63
    Yes.

    Sumner
     
  7. Uncle peanut butter

    Uncle peanut butter TrainBoard Member

    179
    238
    9
    I'm having a similar issue here.
    Arduino Uno R3
    RPi 400
    A few days ago I was adjusting delay and angle parameters and I would make my change, upload and test. Did this quite a few times without issue. Started back at it yesterday and the uploads take a very long time to upload and when it says 'complete' the original sketch is still there and not the one I uploaded. The successful uploads were being done with the Uno attached through a USB hub. The failed uploads were through the hub and the usb at the RPi 400.
    Any help is appreciated. Thanks

    edit: I seem to have a serial port issue. Arduino IDE not seeing the Uno?
    Solved. Changed the port in Arduino IDE and all seems well.
     
    Last edited: Mar 23, 2022
  8. WimS

    WimS New Member

    2
    3
    1
    The first question when having upload problems with Arduino is if you have the correct board and port selected in the Arduino IDE. And the next question is which operating system you're using and what your operating system thinks about the board.

    What do you mean by work? If you are asking if you can upload without the wifi shield, the answer is yes. I'm only familiar with the DCC++EX API so will not be able to advise further regarding that.
     
    wvgca likes this.
  9. Dudlee

    Dudlee New Member

    9
    2
    2
    Thanks for the replies. The new Arduino board works well with DCC++ EX. I have a ESP01 wifi jumpered up and able to run trains
    from my laptop without cords.
     
  10. Sumner

    Sumner TrainBoard Member

    2,877
    6,114
    63
    Great! I have a mega with wifi but it isn't working all the way at this point. Maybe my fault.

    I have a Makerfabs ESP8266 WiFi shield so think I'll give it a try on a different mega I have. Did you follow the instructions on dcc-ex.com to do your install?

    Sumner
     
  11. Dudlee

    Dudlee New Member

    9
    2
    2
    I did follow the instrux on dcc-ex.com. The only thing not mentioned was under Connections, Preferences, is I had to check the box labeled "Additional Connection Settings" to enter the comm port as 2560. Took me 30 minutes to figure that out.
     

Share This Page