I'm very new to Z-Uno and Arduino and have run into an issue uploading a sketch.
I tested the Z-Uno and uploaded a sketch using a desktop at work, but now when I try to use my laptop and do the same thing I get an error when it gets to the upload process.
Here is the log from the compile, what have I done wrong please?
Thanks
Richard
--------------log----------------------
Code: Select all
Arduino: 1.8.9 (Windows 10), Board: "Z-Wave>ME Z-Uno, Australia & New Zealand, Brazil, S0, Enabled, Disabled, Disabled"
************* Building Arduino Sketch *************
C:\Users\Admin\AppData\Local\Temp\arduino_build_949994/zuno_motion_trigger_8.ino
***************************************************
--- USING a list of libraries from:
C:\Users\Admin\AppData\Local\Arduino15\packages\Z-Uno\hardware\zw8051\2.1.4\libraries
C:\Users\Admin\Documents\Arduino\libraries
*** Collecting prototypes...
Preprocessing file: Custom.c with SDCPP...
Preprocessing file: Print.cpp with SDCPP...
Compiling Print_sdcpp_.cpp ...
Preprocessing file: Stream.cpp with SDCPP...
Compiling Stream_sdcpp_.cpp ...
Preprocessing file: HardwareSerial.cpp with SDCPP...
Compiling HardwareSerial_sdcpp_.cpp ...
Preprocessing file: HLCore.cpp with SDCPP...
Compiling HLCore_sdcpp_.cpp ...
Preprocessing file: zuno_motion_trigger_8.cpp with SDCPP...
Compiling zuno_motion_trigger_8_sdcpp_.cpp ...
Preprocessing file: Print.cpp with SDCPP...
Compiling Print_sdcpp_.cpp ...
Preprocessing file: Stream.cpp with SDCPP...
Compiling Stream_sdcpp_.cpp ...
Preprocessing file: HardwareSerial.cpp with SDCPP...
Compiling HardwareSerial_sdcpp_.cpp ...
Preprocessing file: HLCore.cpp with SDCPP...
Compiling HLCore_sdcpp_.cpp ...
Preprocessing file: zuno_motion_trigger_8.cpp with SDCPP...
Compiling zuno_motion_trigger_8_sdcpp_.cpp ...Compiling file "LLCore_arduino.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\Admin\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.70/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\Admin\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.70/zuno_toolchain/sdcc/\bin\..\include" "LLCore_arduino.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "LLCore_arduino.rel" "LLCore_arduino".asm
Compiling file "Print_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\Admin\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.70/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\Admin\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.70/zuno_toolchain/sdcc/\bin\..\include" "Print_ucxx.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "Print_ucxx.rel" "Print_ucxx".asm
Compiling file "Stream_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\Admin\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.70/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\Admin\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.70/zuno_toolchain/sdcc/\bin\..\include" "Stream_ucxx.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "Stream_ucxx.rel" "Stream_ucxx".asm
Compiling file "HardwareSerial_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\Admin\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.70/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\Admin\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.70/zuno_toolchain/sdcc/\bin\..\include" "HardwareSerial_ucxx.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "HardwareSerial_ucxx.rel" "HardwareSerial_ucxx".asm
Compiling file "HLCore_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\Admin\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.70/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\Admin\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.70/zuno_toolchain/sdcc/\bin\..\include" "HLCore_ucxx.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "HLCore_ucxx.rel" "HLCore_ucxx".asm
Compiling file "zuno_motion_trigger_8_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\Admin\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.70/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\Admin\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.70/zuno_toolchain/sdcc/\bin\..\include" "zuno_motion_trigger_8_ucxx.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "zuno_motion_trigger_8_ucxx.rel" "zuno_motion_trigger_8_ucxx".asm
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\Admin\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.70/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\Admin\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.70/zuno_toolchain/sdcc/\bin\..\include" "main.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "main.rel" "main".asm
sdcc: Calling linker...
sdcc: sdld.exe -nf "main.lk"
Making firmware file: C:\Users\Admin\AppData\Local\Temp\arduino_build_949994/zuno_motion_trigger_8.ino-0214.hex ...packihx: read 93 lines, wrote 167: OK.
Fixing ISR table in C:\Users\Admin\AppData\Local\Temp\arduino_build_949994/zuno_motion_trigger_8.ino-0214.hex ...Making binary firmware file C:\Users\Admin\AppData\Local\Temp\arduino_build_949994/zuno_motion_trigger_8.ino-0214.bin. Using in Z-Way for wireless update procedure.[Done]
Elapsed:9.54600000381 s
Sketch uses 2472 bytes (7%) of program storage space. Maximum is 32256 bytes.
Global variables use 179 bytes of dynamic memory.
___REMOVE___\zuno_toolchain\compiler.exe prog C:\Users\Admin\AppData\Local\Temp\arduino_build_949994/zuno_motion_trigger_8.ino -d COM3 -fr ANZ --param sec=1 --param mcmd=1 --param logging=0 -n off
java.io.IOException: Cannot run program "___REMOVE___\zuno_toolchain\compiler.exe": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)
at cc.arduino.packages.uploaders.SerialUploader.runCommand(SerialUploader.java:383)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:197)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
at processing.app.SketchController.upload(SketchController.java:732)
at processing.app.SketchController.exportApplet(SketchController.java:703)
at processing.app.Editor$UploadHandler.run(Editor.java:2070)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 9 more
An error occurred while uploading the sketch
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.