Date   

Re: GPS compile error with MKS Gen L1

Markus Kempf
 

Howard,

so the compile error is intentional to avoid having configurations that do not work due to the hardware design?

Markus

PS: will try to remove the RC filter. Can I then compile for Serial1? How does that work...


Am 13/07/2020 um 22:24 schrieb Howard Dutton:

On Mon, Jul 13, 2020 at 01:09 PM, Markus Kempf wrote:
I have connected my GPS module to RX1 on Z+, this should be Serial1
... not only that but RX1/TX1 doesn't work on a MKS Gen-L since they have a capacitor/resistor tied to the line (for an end stop noise fliter.)  The S6 leaves those out thankfully.

Some users have removed the offending components to get it working though.


Re: PPS on MKS Gen L1 does not work

Howard Dutton
 
Edited

On Mon, Jul 13, 2020 at 01:31 PM, Howard Dutton wrote:
In the meantime remove the PPS signal and carry on, you don't need it.
The Gen-L has a good crystal oscillator.  An advantage over the S6.


Re: PPS on MKS Gen L1 does not work

Howard Dutton
 
Edited

Strange, that's been working with Mega2560's for about 6 or 7 years, your observation is noted though.

In the meantime remove the PPS signal and carry on, you don't need it.


Onstep and DIY GEM

tnut55
 

I finally finished mating my DIY GEM to my Onstep MaxPCB controller  and have tested it over the last two nights.  Here is the equipment I used.

MaxPCB v1.13 with RTC and Wemos D1 daughterboards
Onstep 3.16 latest (I think)
Recommended 400 step motors with TMC2130 drivers
Orion ED102mm F/7
Orion ST80
Orion SSAG
Canon T3 DSLR with both LiveView and after market Intervalometer
2" Astrotech Field Flattener
GPUSB
Really old HP laptop running W7

The first night was simply to confirm a correct config.h and test if my DIY mount would really work.  Expectations were tempered.  I rarely go out with my commercial equipment and not have one or two frustrating problems.  I was amazed and elated that once I did a rudimentary polar align and a 3 star alignment, Onstep put everything in the FOV.  I bounced all over the sky, at a respectable 2.1deg/sec slew speed, noting the accuracy, precision and repeatability of the slews.  Tracking was excellent, at least visually and the goto slews were nearly silent.

Night 2 was more challenging.  My goals were perhaps a little too ambitious.  I wanted to image with a DSLR, something I have never done.  I wanted to use PHD2, GPUSB and try guiding through the Onstep controller.  I've used PHD a couple years back but never PHD2 so that was a re-learn event in itself.  I had some difficulty getting a successful PHD2 calibration until I adjusted the calibration parameters.  As far as the GPUSB and Onstep controller, I had absolutely no issues.  Once I achieved a successful guide calibration, there were never any other issues.

The after market intervalometer had some issues.  Although it appeared to be working, I only got white frames and don't yet understand why.  However I shifted to LiveView (which I prefer) and had no more issues with the camera.

As far as guiding, my mount still has a lot of issues that I need to track down and resolve.  I'll need to investigate everything to remove slop in the gear train.  In a nutshell, up to 60 secs, guiding did not appear necessary and given my heavily light polluted sky, I was not getting very good exposures above 1 or 2 minutes anyway.  The images produced were not spectacular and that was not the goal.  The goal was to see if I could get everything working together, check out mount performance and see where to go from here.

BTW, I used the Onstep phone app to control the telescope.  I only used the HP laptop to run the autoguider, GPUSB and for Canon LiveView.  In the end, I was very pleased.

Once again, thanks Howard for such a brilliant project.

Mark


PPS on MKS Gen L1 does not work

Markus Kempf
 

I have connected the DS3231 PPS output to X+ (2) (Vcc/GND only) and nothing gets recognized. It worked nicely with the S6 board, same config.

Markus


Re: GPS compile error with MKS Gen L1

Howard Dutton
 

On Mon, Jul 13, 2020 at 01:09 PM, Markus Kempf wrote:
I have connected my GPS module to RX1 on Z+, this should be Serial1
... not only that but RX1/TX1 doesn't work on a MKS Gen-L since they have a capacitor/resistor tied to the line (for an end stop noise fliter.)  The S6 leaves those out thankfully.

Some users have removed the offending components to get it working though.


Re: GPS compile error with MKS Gen L1

Howard Dutton
 

On Mon, Jul 13, 2020 at 01:10 PM, Howard Dutton wrote:
You can't do that on a Mega2560.
Well really I lie.  You can do that it's just that you shouldn't since there is a serious performance impact.

#define MEGA2560_ARDUINO_SERIAL_ON


Re: GPS compile error with MKS Gen L1

Howard Dutton
 

You can't do that on a Mega2560.


GPS compile error with MKS Gen L1

Markus Kempf
 

I have connected my GPS module to RX1 on Z+, this should be Serial1 (same result for Serial2).

#define TIME_LOCATION_SOURCE GPS
#define SerialGPS Serial1

HardwareSerial1.cpp.o (symbol from plugin): In function `Serial1':
(.text+0x0): multiple definition of `__vector_36'
sketch\OnStep.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Mega or Mega 2560.

Markus


MKS GenL1 success with TMC2130

Markus Kempf
 

because of the HW failure of my S6 I reactivated my MKS Gen L v1 board and equipped it with some TMC2130 Fysetc v1.1 stepsticks I had in my spare parts box. After some research and reading the pinmap, I jumpered them right and it worked flawlessly. Could not tell a difference to the S6 with the Watterot ones. Would have been a no brainer if I would have known before that
SDO -> MISO -> Aux1 or Aux2
SDI -> MOSI -> M01 or M0²
the superscript number is 1 for RA (X) axis, 2 for DEC (Y) axis
I will try to update the wiring diagram.

Markus


Re: Takahashi EM-200 Onstep build #takahashi

rogerfu12@...
 

Hi,

Ok, I looked in the BOM for Ver2 of the MiniPCB and there is the part # for the resistor array.  It just wasn't in Ver1.  So I think I'm all set for the parts.  

Should I order the PCB or, Howard, would you be able to put in a buzzer?  If not, could you please guide me to a wiki project that has a buzzer that I can reference so I can add some connections/parts (not on the PCB, but I guess that's ok for a buzzer).  

Roger


Re: STM32 stepper motors won't move

Howard Dutton
 

On Mon, Jul 13, 2020 at 11:39 AM, Khalid Baheyeldin wrote:
On Mon, Jul 13, 2020 at 07:31 AM, <simingx@...> wrote:
Also 12V isn’t really enough, you really want 24V. 
12V works well, provided that the power supply can output enough current consistently.
I have been using 12V for ~ 2 years without issues.
How well 12V works depends on the motor and drive design.

In this case I agree with simingx, 24V.


Re: Wifi Add-on / WeMos D1 Mini

Khalid Baheyeldin
 

On Mon, Jul 13, 2020 at 05:52 AM, Kokoro San wrote:
I'll consider use LV8729 for now .. if not happy with it might go for TMC5160 later 😓
Good plan. The LV8729 should work if you configure Vref to output 50% of the 1.68A current.

I have done onstep controller... But how to connect SHC controller ?  I don't understand how it work 😵
Do you have WiFi? If so, do you have Android? If yes, then you don't need an SHC, at least initially until you get things working and learn more about OnStep. Then later you can decide if the Android App is enough for you or not.

In my case, I do have an SHC, but I never use it except for testing. I use the Android app all the time.


Re: STM32 stepper motors won't move

Khalid Baheyeldin
 

On Mon, Jul 13, 2020 at 07:31 AM, <simingx@...> wrote:
Also 12V isn’t really enough, you really want 24V. 
12V works well, provided that the power supply can output enough current consistently.
I have been using 12V for ~ 2 years without issues.

As Dave Schwartz said, some China made power supplies just can't provide the needed current. So a better power supply will eliminate this possibility. Even a 12V car battery is better than a bad AC to 12VDC power supply.

The other thing is to check the wires and make sure that all 4 are connected properly at both ends.


Re: Problems on mount parking

Rafael Barberá Córdoba
 

On Sun, Jul 12, 2020 at 03:47 PM, Howard Dutton wrote:

I just did a Reset/Home followed by a Set-Park, enabled tracking, and Parked, it worked fine (no DEBUG errors.)
After installing the new master branch and follow this sequence, I've again a responsive mount. I can park and unpark it. Yes I know that as a nomad observer, parking is not so useful... except for the PAA (again this tool, I know, you should be tired of it). When the PAA finish the process, it parks the mount. In fact I've detected the problem just trying to use PAA. 

Now all is working again. Thanks Howard!


Re: Pin map

Dave Schwartz
 

The 'Access is denied' indicates a file permission error. Since the error trace contains a path through SketchFile.save, that indicates that it cannot save the modified sketch files (Config.h), which is a step it has to do before it can start the compilation. Since the previous error with the incorrect pinmap setting got into the compilation stage which is past this, what has changed? Is it possible you had the Config.h file open in some other program at the same time?

Also, use the 'Tools' settings shown in the STM32 Wiki page https://onstep.groups.io/g/main/wiki/6408...

     Board:/Generic STM32F103C8/
     Variant:/STM32F103C*B*(20K RAM,*128K*Flash)/
     Upload method:/Serial/

On 2020-07-13 10:18 a.m., robert utecht wrote:
Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F103C6/fake STM32F103C8, Serial, 72Mhz (Normal), Smallest (default)"

java.io.IOException: Access is denied

at java.io.WinNTFileSystem.createFileExclusively(Native Method)

at java.io.File.createTempFile(File.java:2024)

at processing.app.BaseNoGui.saveFile(BaseNoGui.java:886)

at processing.app.SketchFile.save(SketchFile.java:287)

at processing.app.Sketch.save(Sketch.java:138)

at processing.app.SketchController.save(SketchController.java:352)

at processing.app.Editor.handleSave2(Editor.java:1908)

at processing.app.Editor.handleSave(Editor.java:1883)

at processing.app.Editor.handleRun(Editor.java:1592)

at processing.app.Editor.handleRun(Editor.java:1587)

at processing.app.EditorToolbar.handleSelectionPressed(EditorToolbar.java:465)

at processing.app.EditorToolbar.mousePressed(EditorToolbar.java:448)

at java.awt.Component.processMouseEvent(Component.java:6536)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)

at java.awt.Component.processEvent(Component.java:6304)

at java.awt.Container.processEvent(Container.java:2239)

at java.awt.Component.dispatchEventImpl(Component.java:4889)

at java.awt.Container.dispatchEventImpl(Container.java:2297)

at java.awt.Component.dispatchEvent(Component.java:4711)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4532)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)

at java.awt.Container.dispatchEventImpl(Container.java:2283)

at java.awt.Window.dispatchEventImpl(Window.java:2746)

at java.awt.Component.dispatchEvent(Component.java:4711)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)

at java.awt.EventQueue.access$500(EventQueue.java:97)

at java.awt.EventQueue$3.run(EventQueue.java:709)

at java.awt.EventQueue$3.run(EventQueue.java:703)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)

at java.awt.EventQueue$4.run(EventQueue.java:733)

at java.awt.EventQueue$4.run(EventQueue.java:731)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Access is denied











how it gave me this error









C:\Users\rober\AppData\Local\Temp\arduino_modified_sketch_989453\StepMode.ino: In function 'void enableStepperDrivers()':

StepMode:175:28: error: expected ')' before '{' token

   if (axis1Enabled == true {

                            ^

StepMode:180:1: error: expected primary-expression before '}' token

 }

 ^

StepMode:180:1: error: expected ';' before '}' token

C:\Users\rober\AppData\Local\Temp\arduino_modified_sketch_989453\StepMode.ino: In function 'void disableStepperDrivers()':

StepMode:184:28: error: expected ')' before '{' token

   if (axis1Enabled == true {

                            ^

StepMode:189:1: error: expected primary-expression before '}' token

 }

 ^

StepMode:189:1: error: expected ';' before '}' token

Multiple libraries were found for "Wire.h"

 Used: C:\Program Files (x86)\Arduino\hardware\Arduino_STM32\STM32F1\libraries\Wire

 Not used: C:\Program Files (x86)\Arduino\hardware\Arduino_STM32\STM32F1\libraries\WireSlave

exit status 1

expected ')' before '{' token



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

On Mon, Jul 13, 2020 at 10:06 AM Dave Schwartz <Dave.Schwartz@... <mailto:Dave.Schwartz@...>> wrote:

This is incorrect. The word 'OFF' should not be present. There
should be
nothing except spaces between the 'STM32Blue' and the '//'.

On 2020-07-13 10:00 a.m., robert utecht wrote:
> #define PINMAP       STM32Blue                 OFF //  OFF, Choose
> from: MiniPCB, MiniPCB2, MaxPCB, MaxPCB2, STM32Blue,         <-Req'd
>                                           // Ramps14, MaxESP2,
> MaxESP3.  Check Constants.h for more info.
>




Re: Pin map

robert utecht
 

Now am I getting this?
StepMode:175:28: error: expected ')' before '{' token

   if (axis1Enabled == true {

                            ^

StepMode:180:1: error: expected primary-expression before '}' token


On Mon, Jul 13, 2020 at 10:19 AM robert utecht <robertutecht@...> wrote:
Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F103C6/fake STM32F103C8, Serial, 72Mhz (Normal), Smallest (default)"

java.io.IOException: Access is denied

at java.io.WinNTFileSystem.createFileExclusively(Native Method)

at java.io.File.createTempFile(File.java:2024)

at processing.app.BaseNoGui.saveFile(BaseNoGui.java:886)

at processing.app.SketchFile.save(SketchFile.java:287)

at processing.app.Sketch.save(Sketch.java:138)

at processing.app.SketchController.save(SketchController.java:352)

at processing.app.Editor.handleSave2(Editor.java:1908)

at processing.app.Editor.handleSave(Editor.java:1883)

at processing.app.Editor.handleRun(Editor.java:1592)

at processing.app.Editor.handleRun(Editor.java:1587)

at processing.app.EditorToolbar.handleSelectionPressed(EditorToolbar.java:465)

at processing.app.EditorToolbar.mousePressed(EditorToolbar.java:448)

at java.awt.Component.processMouseEvent(Component.java:6536)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)

at java.awt.Component.processEvent(Component.java:6304)

at java.awt.Container.processEvent(Container.java:2239)

at java.awt.Component.dispatchEventImpl(Component.java:4889)

at java.awt.Container.dispatchEventImpl(Container.java:2297)

at java.awt.Component.dispatchEvent(Component.java:4711)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4532)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)

at java.awt.Container.dispatchEventImpl(Container.java:2283)

at java.awt.Window.dispatchEventImpl(Window.java:2746)

at java.awt.Component.dispatchEvent(Component.java:4711)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)

at java.awt.EventQueue.access$500(EventQueue.java:97)

at java.awt.EventQueue$3.run(EventQueue.java:709)

at java.awt.EventQueue$3.run(EventQueue.java:703)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)

at java.awt.EventQueue$4.run(EventQueue.java:733)

at java.awt.EventQueue$4.run(EventQueue.java:731)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Access is denied













now it gave me this error 







C:\Users\rober\AppData\Local\Temp\arduino_modified_sketch_989453\StepMode.ino: In function 'void enableStepperDrivers()':

StepMode:175:28: error: expected ')' before '{' token

   if (axis1Enabled == true {

                            ^

StepMode:180:1: error: expected primary-expression before '}' token

 }

 ^

StepMode:180:1: error: expected ';' before '}' token

C:\Users\rober\AppData\Local\Temp\arduino_modified_sketch_989453\StepMode.ino: In function 'void disableStepperDrivers()':

StepMode:184:28: error: expected ')' before '{' token

   if (axis1Enabled == true {

                            ^

StepMode:189:1: error: expected primary-expression before '}' token

 }

 ^

StepMode:189:1: error: expected ';' before '}' token

Multiple libraries were found for "Wire.h"

 Used: C:\Program Files (x86)\Arduino\hardware\Arduino_STM32\STM32F1\libraries\Wire

 Not used: C:\Program Files (x86)\Arduino\hardware\Arduino_STM32\STM32F1\libraries\WireSlave

exit status 1

expected ')' before '{' token



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

On Mon, Jul 13, 2020 at 10:18 AM robert utecht <robertutecht@...> wrote:
Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F103C6/fake STM32F103C8, Serial, 72Mhz (Normal), Smallest (default)"

java.io.IOException: Access is denied

at java.io.WinNTFileSystem.createFileExclusively(Native Method)

at java.io.File.createTempFile(File.java:2024)

at processing.app.BaseNoGui.saveFile(BaseNoGui.java:886)

at processing.app.SketchFile.save(SketchFile.java:287)

at processing.app.Sketch.save(Sketch.java:138)

at processing.app.SketchController.save(SketchController.java:352)

at processing.app.Editor.handleSave2(Editor.java:1908)

at processing.app.Editor.handleSave(Editor.java:1883)

at processing.app.Editor.handleRun(Editor.java:1592)

at processing.app.Editor.handleRun(Editor.java:1587)

at processing.app.EditorToolbar.handleSelectionPressed(EditorToolbar.java:465)

at processing.app.EditorToolbar.mousePressed(EditorToolbar.java:448)

at java.awt.Component.processMouseEvent(Component.java:6536)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)

at java.awt.Component.processEvent(Component.java:6304)

at java.awt.Container.processEvent(Container.java:2239)

at java.awt.Component.dispatchEventImpl(Component.java:4889)

at java.awt.Container.dispatchEventImpl(Container.java:2297)

at java.awt.Component.dispatchEvent(Component.java:4711)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4532)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)

at java.awt.Container.dispatchEventImpl(Container.java:2283)

at java.awt.Window.dispatchEventImpl(Window.java:2746)

at java.awt.Component.dispatchEvent(Component.java:4711)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)

at java.awt.EventQueue.access$500(EventQueue.java:97)

at java.awt.EventQueue$3.run(EventQueue.java:709)

at java.awt.EventQueue$3.run(EventQueue.java:703)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)

at java.awt.EventQueue$4.run(EventQueue.java:733)

at java.awt.EventQueue$4.run(EventQueue.java:731)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Access is denied











how it gave me this error 









C:\Users\rober\AppData\Local\Temp\arduino_modified_sketch_989453\StepMode.ino: In function 'void enableStepperDrivers()':

StepMode:175:28: error: expected ')' before '{' token

   if (axis1Enabled == true {

                            ^

StepMode:180:1: error: expected primary-expression before '}' token

 }

 ^

StepMode:180:1: error: expected ';' before '}' token

C:\Users\rober\AppData\Local\Temp\arduino_modified_sketch_989453\StepMode.ino: In function 'void disableStepperDrivers()':

StepMode:184:28: error: expected ')' before '{' token

   if (axis1Enabled == true {

                            ^

StepMode:189:1: error: expected primary-expression before '}' token

 }

 ^

StepMode:189:1: error: expected ';' before '}' token

Multiple libraries were found for "Wire.h"

 Used: C:\Program Files (x86)\Arduino\hardware\Arduino_STM32\STM32F1\libraries\Wire

 Not used: C:\Program Files (x86)\Arduino\hardware\Arduino_STM32\STM32F1\libraries\WireSlave

exit status 1

expected ')' before '{' token



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

On Mon, Jul 13, 2020 at 10:06 AM Dave Schwartz <Dave.Schwartz@...> wrote:
This is incorrect. The word 'OFF' should not be present. There should be
nothing except spaces between the 'STM32Blue' and the '//'.

On 2020-07-13 10:00 a.m., robert utecht wrote:
> #define PINMAP       STM32Blue                 OFF //  OFF, Choose
> from: MiniPCB, MiniPCB2, MaxPCB, MaxPCB2, STM32Blue,             <-Req'd
>                                           //         Ramps14, MaxESP2,
> MaxESP3.  Check Constants.h for more info.
>




Re: Pin map

robert utecht
 

Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F103C6/fake STM32F103C8, Serial, 72Mhz (Normal), Smallest (default)"

java.io.IOException: Access is denied

at java.io.WinNTFileSystem.createFileExclusively(Native Method)

at java.io.File.createTempFile(File.java:2024)

at processing.app.BaseNoGui.saveFile(BaseNoGui.java:886)

at processing.app.SketchFile.save(SketchFile.java:287)

at processing.app.Sketch.save(Sketch.java:138)

at processing.app.SketchController.save(SketchController.java:352)

at processing.app.Editor.handleSave2(Editor.java:1908)

at processing.app.Editor.handleSave(Editor.java:1883)

at processing.app.Editor.handleRun(Editor.java:1592)

at processing.app.Editor.handleRun(Editor.java:1587)

at processing.app.EditorToolbar.handleSelectionPressed(EditorToolbar.java:465)

at processing.app.EditorToolbar.mousePressed(EditorToolbar.java:448)

at java.awt.Component.processMouseEvent(Component.java:6536)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)

at java.awt.Component.processEvent(Component.java:6304)

at java.awt.Container.processEvent(Container.java:2239)

at java.awt.Component.dispatchEventImpl(Component.java:4889)

at java.awt.Container.dispatchEventImpl(Container.java:2297)

at java.awt.Component.dispatchEvent(Component.java:4711)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4532)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)

at java.awt.Container.dispatchEventImpl(Container.java:2283)

at java.awt.Window.dispatchEventImpl(Window.java:2746)

at java.awt.Component.dispatchEvent(Component.java:4711)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)

at java.awt.EventQueue.access$500(EventQueue.java:97)

at java.awt.EventQueue$3.run(EventQueue.java:709)

at java.awt.EventQueue$3.run(EventQueue.java:703)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)

at java.awt.EventQueue$4.run(EventQueue.java:733)

at java.awt.EventQueue$4.run(EventQueue.java:731)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Access is denied













now it gave me this error 







C:\Users\rober\AppData\Local\Temp\arduino_modified_sketch_989453\StepMode.ino: In function 'void enableStepperDrivers()':

StepMode:175:28: error: expected ')' before '{' token

   if (axis1Enabled == true {

                            ^

StepMode:180:1: error: expected primary-expression before '}' token

 }

 ^

StepMode:180:1: error: expected ';' before '}' token

C:\Users\rober\AppData\Local\Temp\arduino_modified_sketch_989453\StepMode.ino: In function 'void disableStepperDrivers()':

StepMode:184:28: error: expected ')' before '{' token

   if (axis1Enabled == true {

                            ^

StepMode:189:1: error: expected primary-expression before '}' token

 }

 ^

StepMode:189:1: error: expected ';' before '}' token

Multiple libraries were found for "Wire.h"

 Used: C:\Program Files (x86)\Arduino\hardware\Arduino_STM32\STM32F1\libraries\Wire

 Not used: C:\Program Files (x86)\Arduino\hardware\Arduino_STM32\STM32F1\libraries\WireSlave

exit status 1

expected ')' before '{' token



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

On Mon, Jul 13, 2020 at 10:18 AM robert utecht <robertutecht@...> wrote:
Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F103C6/fake STM32F103C8, Serial, 72Mhz (Normal), Smallest (default)"

java.io.IOException: Access is denied

at java.io.WinNTFileSystem.createFileExclusively(Native Method)

at java.io.File.createTempFile(File.java:2024)

at processing.app.BaseNoGui.saveFile(BaseNoGui.java:886)

at processing.app.SketchFile.save(SketchFile.java:287)

at processing.app.Sketch.save(Sketch.java:138)

at processing.app.SketchController.save(SketchController.java:352)

at processing.app.Editor.handleSave2(Editor.java:1908)

at processing.app.Editor.handleSave(Editor.java:1883)

at processing.app.Editor.handleRun(Editor.java:1592)

at processing.app.Editor.handleRun(Editor.java:1587)

at processing.app.EditorToolbar.handleSelectionPressed(EditorToolbar.java:465)

at processing.app.EditorToolbar.mousePressed(EditorToolbar.java:448)

at java.awt.Component.processMouseEvent(Component.java:6536)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)

at java.awt.Component.processEvent(Component.java:6304)

at java.awt.Container.processEvent(Container.java:2239)

at java.awt.Component.dispatchEventImpl(Component.java:4889)

at java.awt.Container.dispatchEventImpl(Container.java:2297)

at java.awt.Component.dispatchEvent(Component.java:4711)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4532)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)

at java.awt.Container.dispatchEventImpl(Container.java:2283)

at java.awt.Window.dispatchEventImpl(Window.java:2746)

at java.awt.Component.dispatchEvent(Component.java:4711)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)

at java.awt.EventQueue.access$500(EventQueue.java:97)

at java.awt.EventQueue$3.run(EventQueue.java:709)

at java.awt.EventQueue$3.run(EventQueue.java:703)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)

at java.awt.EventQueue$4.run(EventQueue.java:733)

at java.awt.EventQueue$4.run(EventQueue.java:731)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Access is denied











how it gave me this error 









C:\Users\rober\AppData\Local\Temp\arduino_modified_sketch_989453\StepMode.ino: In function 'void enableStepperDrivers()':

StepMode:175:28: error: expected ')' before '{' token

   if (axis1Enabled == true {

                            ^

StepMode:180:1: error: expected primary-expression before '}' token

 }

 ^

StepMode:180:1: error: expected ';' before '}' token

C:\Users\rober\AppData\Local\Temp\arduino_modified_sketch_989453\StepMode.ino: In function 'void disableStepperDrivers()':

StepMode:184:28: error: expected ')' before '{' token

   if (axis1Enabled == true {

                            ^

StepMode:189:1: error: expected primary-expression before '}' token

 }

 ^

StepMode:189:1: error: expected ';' before '}' token

Multiple libraries were found for "Wire.h"

 Used: C:\Program Files (x86)\Arduino\hardware\Arduino_STM32\STM32F1\libraries\Wire

 Not used: C:\Program Files (x86)\Arduino\hardware\Arduino_STM32\STM32F1\libraries\WireSlave

exit status 1

expected ')' before '{' token



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

On Mon, Jul 13, 2020 at 10:06 AM Dave Schwartz <Dave.Schwartz@...> wrote:
This is incorrect. The word 'OFF' should not be present. There should be
nothing except spaces between the 'STM32Blue' and the '//'.

On 2020-07-13 10:00 a.m., robert utecht wrote:
> #define PINMAP       STM32Blue                 OFF //  OFF, Choose
> from: MiniPCB, MiniPCB2, MaxPCB, MaxPCB2, STM32Blue,             <-Req'd
>                                           //         Ramps14, MaxESP2,
> MaxESP3.  Check Constants.h for more info.
>




Re: Pin map

robert utecht
 

Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F103C6/fake STM32F103C8, Serial, 72Mhz (Normal), Smallest (default)"

java.io.IOException: Access is denied

at java.io.WinNTFileSystem.createFileExclusively(Native Method)

at java.io.File.createTempFile(File.java:2024)

at processing.app.BaseNoGui.saveFile(BaseNoGui.java:886)

at processing.app.SketchFile.save(SketchFile.java:287)

at processing.app.Sketch.save(Sketch.java:138)

at processing.app.SketchController.save(SketchController.java:352)

at processing.app.Editor.handleSave2(Editor.java:1908)

at processing.app.Editor.handleSave(Editor.java:1883)

at processing.app.Editor.handleRun(Editor.java:1592)

at processing.app.Editor.handleRun(Editor.java:1587)

at processing.app.EditorToolbar.handleSelectionPressed(EditorToolbar.java:465)

at processing.app.EditorToolbar.mousePressed(EditorToolbar.java:448)

at java.awt.Component.processMouseEvent(Component.java:6536)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)

at java.awt.Component.processEvent(Component.java:6304)

at java.awt.Container.processEvent(Container.java:2239)

at java.awt.Component.dispatchEventImpl(Component.java:4889)

at java.awt.Container.dispatchEventImpl(Container.java:2297)

at java.awt.Component.dispatchEvent(Component.java:4711)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4532)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)

at java.awt.Container.dispatchEventImpl(Container.java:2283)

at java.awt.Window.dispatchEventImpl(Window.java:2746)

at java.awt.Component.dispatchEvent(Component.java:4711)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)

at java.awt.EventQueue.access$500(EventQueue.java:97)

at java.awt.EventQueue$3.run(EventQueue.java:709)

at java.awt.EventQueue$3.run(EventQueue.java:703)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)

at java.awt.EventQueue$4.run(EventQueue.java:733)

at java.awt.EventQueue$4.run(EventQueue.java:731)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Access is denied











how it gave me this error 









C:\Users\rober\AppData\Local\Temp\arduino_modified_sketch_989453\StepMode.ino: In function 'void enableStepperDrivers()':

StepMode:175:28: error: expected ')' before '{' token

   if (axis1Enabled == true {

                            ^

StepMode:180:1: error: expected primary-expression before '}' token

 }

 ^

StepMode:180:1: error: expected ';' before '}' token

C:\Users\rober\AppData\Local\Temp\arduino_modified_sketch_989453\StepMode.ino: In function 'void disableStepperDrivers()':

StepMode:184:28: error: expected ')' before '{' token

   if (axis1Enabled == true {

                            ^

StepMode:189:1: error: expected primary-expression before '}' token

 }

 ^

StepMode:189:1: error: expected ';' before '}' token

Multiple libraries were found for "Wire.h"

 Used: C:\Program Files (x86)\Arduino\hardware\Arduino_STM32\STM32F1\libraries\Wire

 Not used: C:\Program Files (x86)\Arduino\hardware\Arduino_STM32\STM32F1\libraries\WireSlave

exit status 1

expected ')' before '{' token



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

On Mon, Jul 13, 2020 at 10:06 AM Dave Schwartz <Dave.Schwartz@...> wrote:
This is incorrect. The word 'OFF' should not be present. There should be
nothing except spaces between the 'STM32Blue' and the '//'.

On 2020-07-13 10:00 a.m., robert utecht wrote:
> #define PINMAP       STM32Blue                 OFF //  OFF, Choose
> from: MiniPCB, MiniPCB2, MaxPCB, MaxPCB2, STM32Blue,             <-Req'd
>                                           //         Ramps14, MaxESP2,
> MaxESP3.  Check Constants.h for more info.
>




Re: Pin map

Dave Schwartz
 

This is incorrect. The word 'OFF' should not be present. There should be nothing except spaces between the 'STM32Blue' and the '//'.

On 2020-07-13 10:00 a.m., robert utecht wrote:
#define PINMAP       STM32Blue                 OFF //  OFF, Choose from: MiniPCB, MiniPCB2, MaxPCB, MaxPCB2, STM32Blue,             <-Req'd
                                          //         Ramps14, MaxESP2, MaxESP3.  Check Constants.h for more info.