OpenAstroTech / OpenAstroTracker-Firmware

Official firmware for the OpenAstroTracker.
https://wiki.openastrotech.com
MIT License
89 stars 61 forks source link

RA Steps getting re-set to absurd value #237

Closed anjok closed 1 month ago

anjok commented 9 months ago

Several times now I homed the OAT during the day prior to putting it outside and I had it going off the rails in RA. The RA steps were fine when I set it up.

Checking the RA steps when this happens gives me 13344.0 instead of the 417 it should be. The result is that the OAT moves a huge amount but thinks it only moved a bit (factor 32).

I haven't been able to reliable reproduce this though, I only guess that it's related to the time the mount it up.

I already switched the board, but it's still the same.

I'm using Firmware 1.13.5.beta

>> Command: XGR
>> Sending: :XGR#
<<Waiting for result: :XGR#>> newText=>Meade=13344.0
<< Received: 1 13344.0
# XGR -> (1, '13344.0')
>> Result: (1, '13344.0')
>> Command: XSR417
>> Sending: :XSR417#
<<Waiting for result: :XSR417#>> newText=>Meade=
<< Received: 3 
# XSR417 -> (3, '')
Blendan1 commented 1 month ago

I was able to replicate the bug, it seems to happen when loading the values from the EPROM and they are always off by the same factor.

When this happens Multiple times this might exceed the max value for the variable and stop the OAT from booting correctly.

anjok commented 1 month ago

This should actually be fixed with the 1.13.3 firmware from today

ClutchplateDude commented 1 month ago

Yes, this is fixed in V1.13.3 as Anjo mentioned.