Menu

Nano Won't Accept New Upload

2018-01-15
2018-01-22
  • Steven Waldren

    Steven Waldren - 2018-01-15

    Short version:
    I cannot update the Nano with a new firmware from arduino IDE, it just boots into the sketch. Do I need to do something to enable reprogramming of the Nano?

    Long version:
    (no reset curcuit built) I was able to successfully build a focus controller using an Arduino Nano. I first uploaded v255 and got it to work (was working on macOS). Once built, moved to Win10 computer. Downloaded new firmware v263 and tried to upload. It would timeout in arduino IDE. I messed around with the reset button on the Nano and timing when I plugged in the USB. One time it accepted new firmware. I wanted to tweak the motor delay to see if I could speed up things, but now I cannot get the Nano to accept the upload from the IDE. Any thoughts?

    Thanks!

    Steven

     
  • brownrb

    brownrb - 2018-01-16

    In the arduino ide program
    under tools board it is set to Arduino Nano?
    under tools programmer it is set to AVRISP mkII?

     
  • Steven Waldren

    Steven Waldren - 2018-01-16

    Yes.

    I messed around a little more last night. I find that if I "verify" the sketch (to make the compile prior to upload a consistent time period) and then hit upload and then in slightly more than 2 seconds plug in the Nano Board, it will program (a fair amount of the time).

    Thanks for the reply and for the hard work on this project.

    Best,
    Steven
    P.S. Found a potential bug in the Windows app. I changed the "version" in the arduino sketch to add a "1" as I modified the code (motorspeed). When I try to connect with the Windows app it just crashes without any helpful error code. I know "version" is not to be changed though;but it would be nice to be able to add another ".x" when working on it.

     

    Last edit: Steven Waldren 2018-01-16
  • brownrb

    brownrb - 2018-01-16

    Hi Steven
    Glad you found a way to get it to work.

    version cannot be changed. It is used by the app to determine if certain features are present in the controlelr (and if they are not then they can be trapped/handled). So it is important not to change it.

    You can save the file as xxx-x.ino which is what I do

    Regards

     
  • Steven Waldren

    Steven Waldren - 2018-01-21

    FYI. Found the problem and fixed.

    One of the jumper wires for 5v had a hole in the insulation and it was intermittently causing the TX pin to go high! Put on some electrical tape and everything is running smoothly. Used it last night and it worked flawlessly.

    Thanks again!

     
  • brownrb

    brownrb - 2018-01-22

    Hi Steven
    Glad you found the issue. Not something I wouldve picked. Great detective work!

    Cheers
    Robert

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.