OnStep - Kstars - Ekos - ttyUSB0 indi_LX200_OnStep #250p Connection problem #250p


 

Hello,
is there a possibility the the OnStep Firmware 4.24g has a bug because Onstep is after connecting to Ekos continously sending messages via /dev/ttyUSB0 an might block the communication between OnStep and the indi_LX200_OnStep driver.
The message is the first item of the "// AUXILIARY FEATURE CONTROL -" section in the config.h file.

"
...
...
...
#define FEATURE1_NAME          "DH-OAG" // "FE..", Name of feature being controlled.                                        Adjust
#define FEATURE1_PURPOSE              DEW_HEATER //    OFF, SWITCH, ANALOG, DEW_HEATER, INTERVALOMETER.                              Adjust
#define FEATURE1_TEMP                 0x28862F56B5013C50 //    OFF, DS1820, n. Where n is the ds18b20 s/n for DEW_HEATER temperature.        Adjust
#define FEATURE1_PIN                  0x3A291A4600000097 //    OFF, AUX, DS2413, 0x3A2E574600000017 n. Where n is ds2413 s/n (gpio0) or n=0 to 255 (pin#.)      Adjust
#define FEATURE1_DEFAULT_VALUE ON"
...
...
...


Here the USB trafic via USB connection between astroberry and OnStep.
____________________________________________________________________
/dev/ttyUSB0
44 48 2D 4F 41 47 2C 33 23                         DH-OAG,3#
/dev/pts/2
3A 47 58 59 31 23                                  :GXY1#
/dev/ttyUSB0
44 48 2D 4F 41 47 2C 33 23                         DH-OAG,3#
/dev/pts/2
3A 47 58 59 31 23                                  :GXY1#
/dev/ttyUSB0
44 48 2D 4F 41 47 2C 33 23                         DH-OAG,3#
/dev/pts/2
3A 47 58 59 31 23                                  :GXY1#
/dev/ttyUSB0
44 48 2D 4F 41 47 2C 33 23                         DH-OAG,3#
/dev/pts/2
...
...
...
_________________________________________________________
Please sea also the post given below in the indi forum.

Is there any explanation for this strange behavior, should I flash an older firmware without the FEATURE settings?
My software skills were limited and I don't know where to search further.

Joe

OnStep Firmware is 4.24g   
Hardware : STM32 Bluepill with upgraded STM32F303 chip

reference post at indi-portal : https://www.indilib.org/forum/development/1406-driver-onstep-lx200-like-for-indi.html?start=708#73967
tags : #indi #kstars #/dev/ttyUSB0 #astroberry #4.24g #STM32 #BluePill #stm32f303 #features


 

For your information the problem was temporal solved.

After I have disabled the feature section, I got control over the OnStep STM32F303 controller.
Thanks for this hint from James in the indi forum.
I have to find another solution for my DEW Point heater. Something must be changed within Ekos or KStars that this happend. The systems runs quite stable without any failure before I updated kstars with Astroberry. At that time I used the OnStep Firmware 5.1 when the failure accured.
Anyhow....
I'm planning to switch to MaxESPV3 controller where I can control a field-rotator with the second Focus stepper. The PCB is already fully equipped for testing. The Advantage of STM32 is the very low power consumption in comparison to MaxESPV3.

Thanks to all OnStep developer for this really nice Project and their work.

Joe


Khalid Baheyeldin
 

On Sat, Jul 31, 2021 at 04:11 PM, A. Joe Graefenstein, Karlsruhe wrote:
I have to find another solution for my DEW Point heater. Something must be changed within Ekos or KStars that this happend.
That is not good.
I use a passive (dumb) dew heater on my S6, and don't want to go back to yet another power supply.

Which version of kstars and indi needed the workaround of disabling features?

Mine are from Jasem's PPA repo, and I am using 18.04.

kstars-bleeding  6:3.5.4+202107081130~ubuntu18.04.1 amd64
indi-bin               1.9.1~202107052238~ubuntu18.04.1 amd64