I've been working up updating my myFocuserPro2 windows program but I can't seem to uninstall it. It doesn't show up in the control panel uninstall on my Windows 10 machines (a laptop and a desktop). I've tried to manually delete it, but can't figure out where the program installed itself to. Any suggestions on how to update the program? Thanks, Arvin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Welcome to stuff ups caused by windows updates.
You are not the first to see this happen. Updates have been affecting the one-click applications for some time now. Essentially a windows update decides to remove the "uninstall" for one-click apps.
So much so I had to put togther attached document...
Hi Robert,
I tried to launch myFP2L-008 but without success.
For that, I put both myFP2L and myFP2L.ini in a folder, I declared the first as executable but nothing happen...
My linux OS is Linux Mint V 20.2, a derived from Ubuntu OS.
Any idea ?
Thanks.
Best regards,
Pierre-Yves
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
it would be highly unlikely that the myfp2l executable would run on your system.
It was build on an old intel laptop 32bit running Ubuntu. Linux runs on a wide variety of hardware platforms. But each hardware platform is not the same. So you need to generate a new executable myfp2l file for your system.
As with most Linux systems. you actually have to recompile the code to run on your system.
that means installing the lazarus ide and the free pascal compiler.
All the steps are documented. Please read the stuff in the PDF about what you need to install and what to do.
Once you get it into Larzarus IDE (right-click myfp2l.lpi and open with lazarus) it should be a simple matter of clicking the Run triangle - at which point it will compile the source code to generate a new myfp2l file that will run on your system.
Of course, if you are running Linux you have the option of accessing the focuser via the INDI driver, if you install Kstars/Ekos then it will include INDI - the PDF shows this under the INDI section in the PDF
Cheers
Robert
Last edit: brownrb 2021-08-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert,
Thanks for your feedback.
I did what you explained in the above message and I succeeded to compile the source on my Linux Mint PC.
Now I can launch myFP2L-008 but as soon I connect to the controller, I get an "access violation" message. The application says "connected : true" but if I make a command (get firmware, get values or whatever, ...) I get the same message.
For checking, I connected to the controller through the myFocuserPro2-007 linux application and it works properly. I can also control the focuser with Ekos/Indi. ? .
It is a bit like there is some problem with the serial configuration but why is it ok with the 007 version and not with the 008 ?
I already use to operate Kstars/Ekos/INDI to control my telescope setup but I would be interested in running also time to time the 008 version to have benefit of its additional functionalities (regarding temperature settings or logging capabilities for instance).
Thanks for your help.
Best regards,
Pierre-Yves
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You probably need to enable logging of errors on the logging tab and then send me the errorlog file.
However, It is more than likely that the serial port has not been set up correctly. for an access violation to occur it probably means you do not have sufficient rights to access the serial port.
On Ubuntu
You must be a member of the group tty
Use menu, administration, users and groups, manage groups, tty, properties
and ensure that your name is checked, then click OK
Not sure on your unix system ....
Does it work if you run it in administrator privledge mode?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Robert.
I have checked my access rights and I have clearly all the ones needed.
I do not think this is a problem of rights, as I don't have any problem to connect with the myFP2 V 007 linux application or with Ekos/Indi as well. If I had such a problem, I should not be able to connect with these applications as well. No? I have the same behaviour if I run the app in admin mode.
Could it be due to a problem with the compilation that led to a wrong serial configuration ? Just an idea... Though the compilation result was OK, just a few warnings but not related to that.
But no worry, It not crucial. I will continue to investigate a bit.
I attach 2 logs, one from the V007 and one from the 008.
Did you recompile v007 or just use the files that were part of the download?
The logfile for 008 is pretty useless (my fault - not yours), I will have to add more logging info.
The serial code, well, in fact, a lot of code got changed, across all projects, to make my life easier to maintain, they now all use the same basic core code. So it as tested across a number of projects.
I will take a look at it.
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
YOU ARE STRONGLY ADVISED TO USE CONTROL PANEL TO UNINSTALL THE EXISTING ASCOM DRIVERS BEFORE UPDATING TO VERSION 281. FAILURE TO DO SO CAN CAUSE UNEXPECTED RESULTS.
@brownrb, I pulled down the latest documentation and noticed that the schematic images in the PDFs seem to be lower resolution than in previous versions. I'm not sure when that happened, but my older documentation had much-nicer schematics for printing and reading. The main documentation for v312 is okay, but the schematics in the myFP2-TRINAMIC-09-4.pdf are pretty grainy and hard to read. Just wanted to let you know so you could update them.
Thanks for all your hard work on this project. I'm really loving the focuser on my scope, so far.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The documentation has grown so big that it was starting to cause issues, as you might know, Windows documents cannot be larger than 32MB. It is currently 31.45MB
So it became necessary to reduce the size of the images imported into the work document to overcome that limitation.
regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
16-Feb-2022
I uploaded today firmware 312-1.
A few files had bug fixes applied, and so have been updated, uln2003, adafruit motor shield, drv8825. They are now designated as 312-1. Any files names 312 (without -1) are unchanged.
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
27-Aug-2022 Firmware update 314
I have uploaded the new firmware 314 updates for myFP2, myFP2M and myFP2N
I have uploaded the new PDF 314 for each project
Please note that a log of changes have occured with this release. For example, the format of the focuserconfig.h has changed, and I would refer you to the new PDF for an explanation of the changes.
Thanks to Joël Collet, who provided the code for a new motor movement, which has been incorporated into this release, and he has the credit for this also in the firmware. The motor movement is now under the control of a timer, meaning the "1s pause" during movement has all but gone, This change also meant that the motor speed delay values have changed, and I have made these to represent a reasonable tradeoff for fast/medium/slow. medium delay is 2xFast and Slow is 3xFast
If you are not happy with speed, you can change these (see PDF about how to do this without reprogramming the controller). be advised that if you set the fast speed lower, then the motor may stop moving.
SPECIAL NOTE
the focuser config has been changed to allow for pushbuttonsteps (1 press of a pushbutton can be set to a number of motor steps, does not have to be 1:1 anymore).
What that means is you need to run the program, in the tests folder ClearEEPROM first, BEFORE programming the controller with the new firmware 314
If you do not do this, you will get numerous errors at runtime.
There are additional changes listed in the change document. There are also changes to the TMC2209 code.
If you find any issues, please email me direct or post a description of the problem, the firmware file, etc.
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
4th Sept 2022
Firmware update 315. Fix for pbsteps
Windows application 2_4_89 update
I have added support in the Windows application so the value of pbsteps can be changed on the fly without having to reprogram the controller. The value is remembered,
NOTE
To use firmware 315 you will need to add a new library. Please see the "Additional library to install" folder(in the firmware zip file) for information.
Windows application
Uninstall the current windoes app you are using. Then install the new version.
DO NOT use this latest version of the Windows application with any firmware revision 314 or lower. It will not work.
30-Jul-2021
Firmware update v312 for myFocuserPro2 with Nextion Display
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/myFocuserPro2N%20NEXTION%20TFT%20DISPLAY/
will it works on [Interactive Touch Screen] or it is simple program? Help me regarding office stuff.
Last edit: brownrb 2021-08-02
No
I've been working up updating my myFocuserPro2 windows program but I can't seem to uninstall it. It doesn't show up in the control panel uninstall on my Windows 10 machines (a laptop and a desktop). I've tried to manually delete it, but can't figure out where the program installed itself to. Any suggestions on how to update the program? Thanks, Arvin
Welcome to stuff ups caused by windows updates.
You are not the first to see this happen. Updates have been affecting the one-click applications for some time now. Essentially a windows update decides to remove the "uninstall" for one-click apps.
So much so I had to put togther attached document...
See attached
Cheers
Robert
Robert -
Thanks for the quick reply. Kind of glad to hear that I wasn't just losing my mind about it.
Arvin
26-Aug-2021
Rewrite of Linux application, version 008. Source included. Works with both myFocuserPro2 and myFP2ESP controllers.
Hi Robert,
I tried to launch myFP2L-008 but without success.
For that, I put both myFP2L and myFP2L.ini in a folder, I declared the first as executable but nothing happen...
My linux OS is Linux Mint V 20.2, a derived from Ubuntu OS.
Any idea ?
Thanks.
Best regards,
Pierre-Yves
Hi Pierre-Yves
it would be highly unlikely that the myfp2l executable would run on your system.
It was build on an old intel laptop 32bit running Ubuntu. Linux runs on a wide variety of hardware platforms. But each hardware platform is not the same. So you need to generate a new executable myfp2l file for your system.
As with most Linux systems. you actually have to recompile the code to run on your system.
that means installing the lazarus ide and the free pascal compiler.
All the steps are documented. Please read the stuff in the PDF about what you need to install and what to do.
Once you get it into Larzarus IDE (right-click myfp2l.lpi and open with lazarus) it should be a simple matter of clicking the Run triangle - at which point it will compile the source code to generate a new myfp2l file that will run on your system.
Of course, if you are running Linux you have the option of accessing the focuser via the INDI driver, if you install Kstars/Ekos then it will include INDI - the PDF shows this under the INDI section in the PDF
Cheers
Robert
Last edit: brownrb 2021-08-26
Hi Robert,
Thanks for your feedback.
I did what you explained in the above message and I succeeded to compile the source on my Linux Mint PC.
Now I can launch myFP2L-008 but as soon I connect to the controller, I get an "access violation" message. The application says "connected : true" but if I make a command (get firmware, get values or whatever, ...) I get the same message.
For checking, I connected to the controller through the myFocuserPro2-007 linux application and it works properly. I can also control the focuser with Ekos/Indi. ? .
It is a bit like there is some problem with the serial configuration but why is it ok with the 007 version and not with the 008 ?
I already use to operate Kstars/Ekos/INDI to control my telescope setup but I would be interested in running also time to time the 008 version to have benefit of its additional functionalities (regarding temperature settings or logging capabilities for instance).
Thanks for your help.
Best regards,
Pierre-Yves
You probably need to enable logging of errors on the logging tab and then send me the errorlog file.
However, It is more than likely that the serial port has not been set up correctly. for an access violation to occur it probably means you do not have sufficient rights to access the serial port.
On Ubuntu
You must be a member of the group tty
Use menu, administration, users and groups, manage groups, tty, properties
and ensure that your name is checked, then click OK
Not sure on your unix system ....
Does it work if you run it in administrator privledge mode?
Thanks Robert.
I have checked my access rights and I have clearly all the ones needed.
I do not think this is a problem of rights, as I don't have any problem to connect with the myFP2 V 007 linux application or with Ekos/Indi as well. If I had such a problem, I should not be able to connect with these applications as well. No? I have the same behaviour if I run the app in admin mode.
Could it be due to a problem with the compilation that led to a wrong serial configuration ? Just an idea... Though the compilation result was OK, just a few warnings but not related to that.
But no worry, It not crucial. I will continue to investigate a bit.
I attach 2 logs, one from the V007 and one from the 008.
Best regards,
Pierre-Yves
Last edit: PyB 2021-08-27
Hi Pierre-Yves
I must have mis-understood.
Did you recompile v007 or just use the files that were part of the download?
The logfile for 008 is pretty useless (my fault - not yours), I will have to add more logging info.
The serial code, well, in fact, a lot of code got changed, across all projects, to make my life easier to maintain, they now all use the same basic core code. So it as tested across a number of projects.
I will take a look at it.
Regards
Robert
I may have changed the com port speed to default at 57600 in v008
in v007 I think the default was 9600.
Do you remember what port speed you used with v008? It should be 9600
Regards
Robert
08-Sept-2021
New Linux USB v009 application uploaded
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/LINUX/
Updated main documentation PDF to include more information on the Linux application and how to recompile it on Linux systems
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/Documentation/myFP2-311-4.pdf/download
New myfocuserpro2-designs pdf outlining available pcb's and stripboard designs availab;e, including what firmware goes with each board.
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/Documentation/myfocuserpro2-designs.pdf/download
05-Nov-2021
New ASCOM drivers v281
Confirmed fix for NINA
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/ASCOM%20DRIVERS/
YOU ARE STRONGLY ADVISED TO USE CONTROL PANEL TO UNINSTALL THE EXISTING ASCOM DRIVERS BEFORE UPDATING TO VERSION 281. FAILURE TO DO SO CAN CAUSE UNEXPECTED RESULTS.
Updated ASCOM CLIENT TEST APP
v1.3.1.11
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/ASCOM%20DRIVER%20TESTER/
This is a test application that tests the ASCOM connection to the controller.
Last edit: brownrb 2021-11-05
09-Nov-2021
I have uploaded minor fixes to ULN2003 and myFP2_AdafruitMotorShieldV2.
the filenames are
myFP2_ULN2003_312-1.zip
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/ARDUINO%20FIRMWARE/myFP2_ULN2003_312-1.zip/download
myFP2_AdafruitMotorShieldV2_312-1.zip
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/ARDUINO%20FIRMWARE/myFP2_AdafruitMotorShieldV2_312-1.zip/download
All other firmware is unchanged.
Regards
Robert
@brownrb, I pulled down the latest documentation and noticed that the schematic images in the PDFs seem to be lower resolution than in previous versions. I'm not sure when that happened, but my older documentation had much-nicer schematics for printing and reading. The main documentation for v312 is okay, but the schematics in the myFP2-TRINAMIC-09-4.pdf are pretty grainy and hard to read. Just wanted to let you know so you could update them.
Thanks for all your hard work on this project. I'm really loving the focuser on my scope, so far.
Hi
The documentation has grown so big that it was starting to cause issues, as you might know, Windows documents cannot be larger than 32MB. It is currently 31.45MB
So it became necessary to reduce the size of the images imported into the work document to overcome that limitation.
regards
Robert
08-Feb-2022
ASCOM driver 284 update.
You MUST use control panel to remove the existing ASCOM driver BEFORE installing this update.
Please report any issues.
Fix for initial focuser position and maxsteps not being remembered on the Setupdiaialog form.
regards
Robert
16-Feb-2022
I uploaded today firmware 312-1.
A few files had bug fixes applied, and so have been updated, uln2003, adafruit motor shield, drv8825. They are now designated as 312-1. Any files names 312 (without -1) are unchanged.
Regards
Robert
18-Aug-2022
Am currently working on firmware updates for myFP2, myFP2M and myFP2N.
If you want to help test it, drop me an email at gmail or yahoo
Cheers
Robert
27-Aug-2022 Firmware update 314
I have uploaded the new firmware 314 updates for myFP2, myFP2M and myFP2N
I have uploaded the new PDF 314 for each project
For myFP2, see
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/ARDUINO%20FIRMWARE/
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/Documentation/
For myFP2M, see
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/myFocuserPro2M/
For myFP2N, see
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/myFocuserPro2N%20NEXTION%20TFT%20DISPLAY/
Please note that a log of changes have occured with this release. For example, the format of the focuserconfig.h has changed, and I would refer you to the new PDF for an explanation of the changes.
Thanks to Joël Collet, who provided the code for a new motor movement, which has been incorporated into this release, and he has the credit for this also in the firmware. The motor movement is now under the control of a timer, meaning the "1s pause" during movement has all but gone, This change also meant that the motor speed delay values have changed, and I have made these to represent a reasonable tradeoff for fast/medium/slow. medium delay is 2xFast and Slow is 3xFast
If you are not happy with speed, you can change these (see PDF about how to do this without reprogramming the controller). be advised that if you set the fast speed lower, then the motor may stop moving.
SPECIAL NOTE
the focuser config has been changed to allow for pushbuttonsteps (1 press of a pushbutton can be set to a number of motor steps, does not have to be 1:1 anymore).
What that means is you need to run the program, in the tests folder ClearEEPROM first, BEFORE programming the controller with the new firmware 314
If you do not do this, you will get numerous errors at runtime.
There are additional changes listed in the change document. There are also changes to the TMC2209 code.
If you find any issues, please email me direct or post a description of the problem, the firmware file, etc.
Regards
Robert
4th Sept 2022
Firmware update 315. Fix for pbsteps
Windows application 2_4_89 update
I have added support in the Windows application so the value of pbsteps can be changed on the fly without having to reprogram the controller. The value is remembered,
NOTE
To use firmware 315 you will need to add a new library. Please see the "Additional library to install" folder(in the firmware zip file) for information.
Windows application
Uninstall the current windoes app you are using. Then install the new version.
DO NOT use this latest version of the Windows application with any firmware revision 314 or lower. It will not work.
Regards
Robert
Firmware
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/ARDUINO%20FIRMWARE/myFP2-firmware%20315.zip/download
PDF
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/Documentation/myFP2-315.pdf/download
New Protocol document
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/Documentation/myFP2%20Comms%20Protocol%20v249.pdf/download
07-Sep-2022
I have uploaded an update 315-1 for the TMC2209-TMC2225 firmware.
This was a coil power issues, found by Eric and Pierre. Many thanks
The myFP2N Nextion firmware is fine as the bug in not in that code.
Regards
Robert