Can't update beta from alpha

Issue #28 closed
Ron Kramer created an issue

I get firmware failed. Shutter and rotator both make the little jitter upon uploading (so it’s being sent).
I don’t know if I properly unregistered alpha. I tried and it seemed to… I deleted and have no way to vertify
if alpha is unregistered. I can’t test beta and I can’t use the dome (I could with alpha).
I powered down usb and AC as I’ll be away today and I ‘ll see if a reboot later helps. So far a reboot has not allowedfirmware update to be successful. I don’t suspect it will be in logs ?

Comments (16)

  1. Tim Long

    I've seen this happen. The arduino upload process is a bit odd, it has to reboot in bootloader mode and then it appears on a different serial port. I've seen these second serial ports get stuck and require a PC reboot. The firmware has _not_ uploaded unless you see the success message (the jolt is just the arduino rebooting). Please try rebooting your PC and retry the upload

  2. Ron Kramer reporter

    Of course this is the obvious first step. I’ve rebooted all hardware multiple times already.

    I left it off all night and just tried again. I hear the USB chime when trying to update firmware (I hear it twice) but says failed. How can I verify I unregistered alpha install?
    NEW ascom driver “setup UI” did appear. but reported outdated firmware.

  3. Ron Kramer reporter

    NO HELP - I restored old software - again unregistered with the old ascom server. It asked “do you want to allow this app to make changes to your computer”. (I clicked yes). It seemed to do it? but no feedback??!! I then tried to install new firmware and again FAILED.

  4. Ron Kramer reporter

    I just spend the last hour trying to get AVRDUDE installed to run with no luck to upload a hex file. I’ve spent WAY TO MUCH TIME ON SOMETHING THAT SHOULD BE EASY.


    Can I get a .ino files to upload to rotator and shutter please!?!?

  5. Tim Long

    You shouldn’t need to install avrdude or anything else. The uploader utility has its own private copy. This process has been tested on other systems and it works. However, sometimes the Arduino bootloader ports don't work properly on the PC end and this (in my experience) can be fixed by rebooting the PC. This is an Arduino issue, not a firmware issue or an uploader issue and so there's nothing I can do to help you with it. T this same problem would also affect the Arduino IDE.

    Verify that you can load the "blinky" sketch using Arduino IDE. If you can, then your bootloader is working and you should be able to upload the firmware as demonstrated.

    There are two things (in my experience) that will stop the upload working:

    1. 'stuck' bootloader ports, which is what I think you are seeing (in my experience fixed by a PC reboot) 2. Spaces or other 'special characters' other than space or hyphen anywhere in the full path to the hex file. The installer places the hex files in C:\NexDome-Firmware and that has been tested and works.

  6. Tim Long

    That dot (circled in red) probably shouldn’t be there. I would guess that the avrdude programmer is choking on the invalid filename.

    Try without the dot.

    --Tim

    P.S. adding the --Verbose option can be helpful in these cases because you can sometimes figure out what’s upsetting the programmer.

  7. Ron Kramer reporter

    AH the DOT that’s why I posted my string - as I figured I’d have you check it for error
    Without the . the upload was sucessful. I’ll do shutter later - heading out to eat.

    thanks!

  8. Tim Long

    You can get them, but they will not compile in the Arduino IDE. They are on BitBucket were the issue tracker is. We set out specifically to eliminate Arduino IDE as a prerequisite as we considered it unreasonable to expect a nontechnical end user to be able to compile the code. There's more information about that in the firmware ReadMe.pdf.

  9. Ron Kramer reporter

    returned and I was able to upload to the shutter (from Arduino IDE.

    But uploader fails. You see any problem with this string?

    I rebooted again as well.

  10. Ron Kramer reporter

    I think I got it - I copied the rotator string and entered in new com and shutter instead and it took. I’ll get to testing.

  11. Log in to comment