Skip to main content

Site Navigation

Your Account

Choose Language

G92 g-code zero commands do not act as expected

When I manually set the position of my boxyz to where I desire for zero (in my case near the upper left when looking down). And then I enter the G92 gcode commands to set that as X and Y zero (as per the cnc milling guide), the boxyz head actually physically moves/REpositions.

I did not expect it to move. I expected it to logically "set" the CURRENT physical position of the head to what I consider to be "ZERO" for the current project.

For example, when I enter this gcode command (on the manual control tab) G92 Y0

The boxyz head moves to the far right.

When I enter G92 X0 the head moves to the front.

Am I doing something wrong?

Answered! View the answer I have this problem too

Is this a good question?

Score 3
Add a comment

4 Answers

Chosen Solution

It should definitely not move when you enter the G92 Command. I was told some of the very first machines had a firmware glitch with G92 commands that was fixed when discovered. It's likely you either have this or just a random firmware glitch. In both cases it's really easy to solve. You can get and install the latest de-bugged firmware through instructions here:

Updating Your Firmware

You'll also want to freshen up your EEPROM settings, this is even easier. You can find the EEPROM settings here:

Files

- To update your EEPROM settings: When connected to the machine (you have to be connected through the interface at this point), select the "Config" drop down in the top bar of the interface. Choose "Firmware EEPROM configuration". In that new window that opens at the bottom you'll see a "Import EEPROM data" or something the like. Choose the new EEPROM files you have downloaded from the above link. Then click OK at the bottom. Close it and you're done. Let me know if you still see any remaining issues with the G92 command after doing these steps

HIDDEN ACCESS Image

Guide

Files

Difficulty:

Moderate

Troubleshooting and Problem Solving Image

Guide

Updating Your Firmware

Difficulty:

Very easy

10 minutes

Was this answer helpful?

Score 1

Comments:

Enter G92 and BoXZY stays stationary. G92 X0 Y0 Z0 and BoXZY moves to extreme limits on all 3 axes.

See my firmware efforts below!

by

I am running Arduino 1.6.7 on Win10Pro and I loaded BoXZY_update_12-21-15.ino (which loaded all the other files).

I set the Tools menu settings (Board, Processor & Programmer).

I set the comm port.

I uploaded.

It uploaded successfully.

However, there were some compiler errors (below).

Are these expected?

In file included from sketch\ui.h:192:0,

from sketch\Repetier.h:274,

from C:\Users\Public\Documents\12-21 Firmware\BoXZY_update_12-21-15\BoXZY_update_12-21-15.ino:127:

sketch\uilang.h:1096:34: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]

#define UI_TEXT_EXTR0_SELECT "%X0 V"STR_auml"lj Extr. 1"

^

...there were many more similar to this...

Sketch uses 56,126 bytes (22%) of program storage space. Maximum is 253,952 bytes.

Global variables use 4,809 bytes (58%) of dynamic memory, leaving 3,383 bytes for local variables. Maximum is 8,192 bytes.

by

I should note that even though I had several compiler errors, the G92 gcode commands now work as expected.

Here is how I tested:

I set boxzy head where I desired zero to be.

I then informed the boxyz/arduino via manual entry of this gcode command:

G92 X0 Y0 Z0

Then I manually/randomly moved the X,Y & Z of the boxyz head via the boxyz interface arrows.

Then I sent a manual gcode G1 command to move all 3 axis back to my desired zero position:

G1 X0 Y0 Z0

And it worked perfectly. I will "accept" the answer on this one, once you can tell me if compiler errors are "normal."

Here is the complete list of errors:

http://michaeldockery.me/files/12-21firm...

by

The BoXZY team is aware of the errors, according to them they do not relate to any current machine functions. They are working to resolve them for future enhancements.

by

OK. Thank you. I will accept/close this one.

by

Add a comment

I had this problem too - after days of Boxzy working normally, suddenly "G92 Z0" sends my Z-axis zipping up to try and hit the milling head at full speed. Glad I had my hand on the e-stop, because it got about 2/3rds of the way through my MDF board.

I will try these fixes this weekend.

Was this answer helpful?

Score 1
Add a comment

I tried updating the firmware, but keep getting errors at the upload point. I have since installed Arduino 1.6.8, but 2 tries still produce errors. Do I need to update the firmware for this version anyway?

These are the messages:-

Arduino: 1.6.8 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\Peter\Documents\Arduino\libraries" -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10608 -build-path "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Peter\Downloads\Compressed\12-21 Firmware\BoXZY_update_12-21-15\BoXZY_update_12-21-15.ino"

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\Peter\Documents\Arduino\libraries" -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10608 -build-path "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Peter\Downloads\Compressed\12-21 Firmware\BoXZY_update_12-21-15\BoXZY_update_12-21-15.ino"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\BoXZY_update_12-21-15.ino.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\BoXZY_update_12-21-15.ino.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src\SPI.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\BoXZYLaser.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\BoXZY_update_12-21-15.ino.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\Commands.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\Communication.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\Eeprom.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\Extruder.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\HAL.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\Printer.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\SDCard.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\SdFat.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\gcode.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\motion.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\ui.cpp" -o "nul"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\BoXZY_update_12-21-15.ino.cpp" -o "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"

"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c -f - --c-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\BoXZYLaser.cpp.o

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g" -c -g -Os -w -std=gnu11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\BoXZY_update_12-21-15.ino.cpp" -o "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\BoXZY_update_12-21-15.ino.cpp.o"

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\Commands.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\Communication.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\Eeprom.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\Extruder.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\HAL.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\Printer.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\SDCard.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\SdFat.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\gcode.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\motion.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\ui.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\libraries\SPI\SPI.cpp.o

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -x assembler-with-cpp -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.S" -o "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\wiring_pulse.S.o"

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\WInterrupts.c.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\hooks.c.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\wiring.c.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\wiring_analog.c.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\wiring_digital.c.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\wiring_pulse.c.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\wiring_shift.c.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\CDC.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\HardwareSerial.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\HardwareSerial0.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\HardwareSerial1.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\HardwareSerial2.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\HardwareSerial3.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\IPAddress.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\PluggableUSB.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\Print.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\Stream.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\Tone.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\USBCore.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\WMath.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\WString.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\abi.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\main.cpp.o

Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\new.cpp.o

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\wiring_pulse.S.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\WInterrupts.c.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\hooks.c.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\wiring.c.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\wiring_analog.c.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\wiring_digital.c.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\wiring_pulse.c.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\wiring_shift.c.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\CDC.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\HardwareSerial.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\HardwareSerial0.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\HardwareSerial1.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\HardwareSerial2.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\HardwareSerial3.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\IPAddress.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\PluggableUSB.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\Print.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\Stream.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\Tone.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\USBCore.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\WMath.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\WString.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\abi.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\main.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\core.a" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\core\new.cpp.o"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -Wl,--gc-sections,--relax -mmcu=atmega2560 -o "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp/BoXZY_update_12-21-15.ino.elf" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\BoXZYLaser.cpp.o" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\BoXZY_update_12-21-15.ino.cpp.o" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\Commands.cpp.o" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\Communication.cpp.o" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\Eeprom.cpp.o" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\Extruder.cpp.o" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\HAL.cpp.o" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\Printer.cpp.o" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\SDCard.cpp.o" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\SdFat.cpp.o" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\gcode.cpp.o" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\motion.cpp.o" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\sketch\ui.cpp.o" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp\libraries\SPI\SPI.cpp.o" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp/core\core.a" "-LC:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp" -lm

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp/BoXZY_update_12-21-15.ino.elf" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp/BoXZY_update_12-21-15.ino.eep"

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp/BoXZY_update_12-21-15.ino.elf" "C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp/BoXZY_update_12-21-15.ino.hex"

Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI

Sketch uses 56,126 bytes (22%) of program storage space. Maximum is 253,952 bytes.

Global variables use 4,809 bytes (58%) of dynamic memory, leaving 3,383 bytes for local variables. Maximum is 8,192 bytes.

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM3 -b115200 -D -Uflash:w:C:\Users\Peter\AppData\Local\Temp\build7edf1fbdf1a565a01a98ea3a202f4cb2.tmp/BoXZY_update_12-21-15.ino.hex:i

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58

Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM3

Using Programmer : wiring

Overriding Baud Rate : 115200

avrdude: ser_open(): can't open device "\\.\COM3": Access is denied.

avrdude: ser_drain(): read error: The handle is invalid.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troublesh... for suggestions.

Any help appreciated.

Was this answer helpful?

Score 0

Comments:

Check your "programmer" under the tools tab and make sure it matches the instructions. Also, it denied access to the COM port. Make sure your interface is disconnected and closed. With the interface closed remove the USB from the computer and then reinsert it. If it happens again, could you add a screen shot exactly as it shows up after it finished? Updating your firmware will only help if you have a first or early second batch machine. Otherwise this should be the firmware you already have.

by

Add a comment

Done everything as asked, but still no joy, unless I am word blind, or something? :o(

Is there a way to interrogate Arduino to get the currently installed firmware version?

Screen dumps below.

Block Image

Block Image

Was this answer helpful?

Score 0

Comments:

Also just noted that when I start BoXZY Interface, the "Config/Firmware EEPROM Configuration", is ghosted out. Does this suggest anything?

by

It's ghosted out when you're connected to the machine and able to use it? It seems like your computer may not be giving you full access to your com port for some reason. Is there something else on your computer using this COM port? Can you provide a screen shot of the device manager window under "Ports (com & lpt)"? Here's a link of a video that shows how to access it:

https://www.youtube.com/watch?v=IHBLdTlS...

by

It is ghosted when not connected, BoXZY is not running and also with USB removed.

Screen Dump added of Device Manager.

by

Ok, it should be ghosted out when you are not connected and/or the USB is removed. Are you able to access with the USB plugged in and when you are connected in the interface?

by

'fraid not! Nor with BoXZY running. Always seems ghosted no matter what!

by

Show 6 more comments

Add a comment

Add your answer

BoXYZDocZY will be eternally grateful.
View Statistics:

Past 24 Hours: 0

Past 7 Days: 0

Past 30 Days: 2

All Time: 198