2 Replies Latest reply on Mar 31, 2016 11:09 AM by fejkerr

    Arduino 101 - can't upload second sketch; could be COM5 vs COM3 enumeration change from Win10 software update

    fejkerr

      Hello all,

       

      First, is this the right place to ask Arduino 101 (Curie) questions?  I didn't see one.

       

      I set up the various software on my Windows 10 desktop system and got the first tutorial I tried to work.

       

      It's this one:

       

      https://www.arduino.cc/en/Tutorial/Genuino101CurieIMUOrientationVisualiser

       

      The USB serial port enumerated as COM5 but after some software updated on my Win10 machine, it enumerated as COM3.  I suspect that could have caused the problem I have now.

       

      The sketch I uploaded is still working ok; I have verified a few ways after changing the COM5 references to COM3.

       

      I can't seem to upload a new sketch, however.  I'll try again after rebooting my desktop.

       

      But this is what I see now:

       

      Arduino: 1.6.8 (Windows 10), Board: "Arduino/Genuino 101"

       

       

      C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\fred\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\fred\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\fred\Documents\Arduino\libraries" -fqbn=Intel:arc32:arduino_101 -vid-pid=0X8087_0X0AB6 -ide-version=10608 -build-path "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp" -warnings=all -prefs=build.warn_data_percentage=75 -verbose "C:\Users\fred\Documents\Arduino101Curie\sketch\sketch_mar24a\sketch_mar24a.ino"

      C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\fred\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\fred\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\fred\Documents\Arduino\libraries" -fqbn=Intel:arc32:arduino_101 -vid-pid=0X8087_0X0AB6 -ide-version=10608 -build-path "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp" -warnings=all -prefs=build.warn_data_percentage=75 -verbose "C:\Users\fred\Documents\Arduino101Curie\sketch\sketch_mar24a\sketch_mar24a.ino"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-g++"  -c -mARCv2EM -mav2em -mlittle-endian -g -Os -Wall -fno-reorder-functions -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-defer-pop -Wno-unused-but-set-variable -Wno-main -ffreestanding -fno-stack-protector -mno-sdata -ffunction-sections -fdata-sections -fsigned-char  -fno-rtti -fno-exceptions -D__ARDUINO_ARC__ -std=c++11 -w -x c++ -E -CC -DF_CPU=32000000L -DARDUINO=10608 -DARDUINO_ARC32_TOOLS -DARDUINO_ARCH_ARC32 -D__CPU_ARC__ -DCLOCK_SPEED=32 -DCONFIG_SOC_GPIO_32 -DCONFIG_SOC_GPIO_AON -DINFRA_MULTI_CPU_SUPPORT -DCFW_MULTI_CPU_SUPPORT -DHAS_SHARED_MEM "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/common" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/drivers" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/bootcode" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/framework/include"        "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\cores\arduino" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\variants\arduino_101" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\sketch\sketch_mar24a.ino.cpp" -o "nul"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-g++"  -c -mARCv2EM -mav2em -mlittle-endian -g -Os -Wall -fno-reorder-functions -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-defer-pop -Wno-unused-but-set-variable -Wno-main -ffreestanding -fno-stack-protector -mno-sdata -ffunction-sections -fdata-sections -fsigned-char  -fno-rtti -fno-exceptions -D__ARDUINO_ARC__ -std=c++11 -w -x c++ -E -CC -DF_CPU=32000000L -DARDUINO=10608 -DARDUINO_ARC32_TOOLS -DARDUINO_ARCH_ARC32 -D__CPU_ARC__ -DCLOCK_SPEED=32 -DCONFIG_SOC_GPIO_32 -DCONFIG_SOC_GPIO_AON -DINFRA_MULTI_CPU_SUPPORT -DCFW_MULTI_CPU_SUPPORT -DHAS_SHARED_MEM "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/common" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/drivers" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/bootcode" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/framework/include"        "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\cores\arduino" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\variants\arduino_101" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\libraries\CurieIMU\src" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\sketch\sketch_mar24a.ino.cpp" -o "nul"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-g++"  -c -mARCv2EM -mav2em -mlittle-endian -g -Os -Wall -fno-reorder-functions -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-defer-pop -Wno-unused-but-set-variable -Wno-main -ffreestanding -fno-stack-protector -mno-sdata -ffunction-sections -fdata-sections -fsigned-char  -fno-rtti -fno-exceptions -D__ARDUINO_ARC__ -std=c++11 -w -x c++ -E -CC -DF_CPU=32000000L -DARDUINO=10608 -DARDUINO_ARC32_TOOLS -DARDUINO_ARCH_ARC32 -D__CPU_ARC__ -DCLOCK_SPEED=32 -DCONFIG_SOC_GPIO_32 -DCONFIG_SOC_GPIO_AON -DINFRA_MULTI_CPU_SUPPORT -DCFW_MULTI_CPU_SUPPORT -DHAS_SHARED_MEM "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/common" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/drivers" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/bootcode" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/framework/include"        "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\cores\arduino" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\variants\arduino_101" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\libraries\CurieIMU\src" "-IC:\Users\fred\Documents\Arduino\libraries\Madgwick\src" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\sketch\sketch_mar24a.ino.cpp" -o "nul"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-g++"  -c -mARCv2EM -mav2em -mlittle-endian -g -Os -Wall -fno-reorder-functions -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-defer-pop -Wno-unused-but-set-variable -Wno-main -ffreestanding -fno-stack-protector -mno-sdata -ffunction-sections -fdata-sections -fsigned-char  -fno-rtti -fno-exceptions -D__ARDUINO_ARC__ -std=c++11 -w -x c++ -E -CC -DF_CPU=32000000L -DARDUINO=10608 -DARDUINO_ARC32_TOOLS -DARDUINO_ARCH_ARC32 -D__CPU_ARC__ -DCLOCK_SPEED=32 -DCONFIG_SOC_GPIO_32 -DCONFIG_SOC_GPIO_AON -DINFRA_MULTI_CPU_SUPPORT -DCFW_MULTI_CPU_SUPPORT -DHAS_SHARED_MEM "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/common" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/drivers" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/bootcode" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/framework/include"        "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\cores\arduino" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\variants\arduino_101" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\libraries\CurieIMU\src" "-IC:\Users\fred\Documents\Arduino\libraries\Madgwick\src" "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\libraries\CurieIMU\src\BMI160.cpp" -o "nul"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-g++"  -c -mARCv2EM -mav2em -mlittle-endian -g -Os -Wall -fno-reorder-functions -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-defer-pop -Wno-unused-but-set-variable -Wno-main -ffreestanding -fno-stack-protector -mno-sdata -ffunction-sections -fdata-sections -fsigned-char  -fno-rtti -fno-exceptions -D__ARDUINO_ARC__ -std=c++11 -w -x c++ -E -CC -DF_CPU=32000000L -DARDUINO=10608 -DARDUINO_ARC32_TOOLS -DARDUINO_ARCH_ARC32 -D__CPU_ARC__ -DCLOCK_SPEED=32 -DCONFIG_SOC_GPIO_32 -DCONFIG_SOC_GPIO_AON -DINFRA_MULTI_CPU_SUPPORT -DCFW_MULTI_CPU_SUPPORT -DHAS_SHARED_MEM "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/common" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/drivers" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/bootcode" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/framework/include"        "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\cores\arduino" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\variants\arduino_101" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\libraries\CurieIMU\src" "-IC:\Users\fred\Documents\Arduino\libraries\Madgwick\src" "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\libraries\CurieIMU\src\CurieIMU.cpp" -o "nul"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-g++"  -c -mARCv2EM -mav2em -mlittle-endian -g -Os -Wall -fno-reorder-functions -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-defer-pop -Wno-unused-but-set-variable -Wno-main -ffreestanding -fno-stack-protector -mno-sdata -ffunction-sections -fdata-sections -fsigned-char  -fno-rtti -fno-exceptions -D__ARDUINO_ARC__ -std=c++11 -w -x c++ -E -CC -DF_CPU=32000000L -DARDUINO=10608 -DARDUINO_ARC32_TOOLS -DARDUINO_ARCH_ARC32 -D__CPU_ARC__ -DCLOCK_SPEED=32 -DCONFIG_SOC_GPIO_32 -DCONFIG_SOC_GPIO_AON -DINFRA_MULTI_CPU_SUPPORT -DCFW_MULTI_CPU_SUPPORT -DHAS_SHARED_MEM "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/common" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/drivers" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/bootcode" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/framework/include"        "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\cores\arduino" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\variants\arduino_101" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\libraries\CurieIMU\src" "-IC:\Users\fred\Documents\Arduino\libraries\Madgwick\src" "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\libraries\CurieIMU\src\internal\ss_spi.c" -o "nul"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-g++"  -c -mARCv2EM -mav2em -mlittle-endian -g -Os -Wall -fno-reorder-functions -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-defer-pop -Wno-unused-but-set-variable -Wno-main -ffreestanding -fno-stack-protector -mno-sdata -ffunction-sections -fdata-sections -fsigned-char  -fno-rtti -fno-exceptions -D__ARDUINO_ARC__ -std=c++11 -w -x c++ -E -CC -DF_CPU=32000000L -DARDUINO=10608 -DARDUINO_ARC32_TOOLS -DARDUINO_ARCH_ARC32 -D__CPU_ARC__ -DCLOCK_SPEED=32 -DCONFIG_SOC_GPIO_32 -DCONFIG_SOC_GPIO_AON -DINFRA_MULTI_CPU_SUPPORT -DCFW_MULTI_CPU_SUPPORT -DHAS_SHARED_MEM "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/common" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/drivers" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/bootcode" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/framework/include"        "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\cores\arduino" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\variants\arduino_101" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\libraries\CurieIMU\src" "-IC:\Users\fred\Documents\Arduino\libraries\Madgwick\src" "C:\Users\fred\Documents\Arduino\libraries\Madgwick\src\MadgwickAHRS.cpp" -o "nul"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-g++"  -c -mARCv2EM -mav2em -mlittle-endian -g -Os -Wall -fno-reorder-functions -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-defer-pop -Wno-unused-but-set-variable -Wno-main -ffreestanding -fno-stack-protector -mno-sdata -ffunction-sections -fdata-sections -fsigned-char  -fno-rtti -fno-exceptions -D__ARDUINO_ARC__ -std=c++11 -w -x c++ -E -CC -DF_CPU=32000000L -DARDUINO=10608 -DARDUINO_ARC32_TOOLS -DARDUINO_ARCH_ARC32 -D__CPU_ARC__ -DCLOCK_SPEED=32 -DCONFIG_SOC_GPIO_32 -DCONFIG_SOC_GPIO_AON -DINFRA_MULTI_CPU_SUPPORT -DCFW_MULTI_CPU_SUPPORT -DHAS_SHARED_MEM "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/common" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/drivers" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/bootcode" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/framework/include"        "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\cores\arduino" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\variants\arduino_101" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\libraries\CurieIMU\src" "-IC:\Users\fred\Documents\Arduino\libraries\Madgwick\src" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\sketch\sketch_mar24a.ino.cpp" -o "nul"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-g++"  -c -mARCv2EM -mav2em -mlittle-endian -g -Os -Wall -fno-reorder-functions -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-defer-pop -Wno-unused-but-set-variable -Wno-main -ffreestanding -fno-stack-protector -mno-sdata -ffunction-sections -fdata-sections -fsigned-char  -fno-rtti -fno-exceptions -D__ARDUINO_ARC__ -std=c++11 -w -x c++ -E -CC -DF_CPU=32000000L -DARDUINO=10608 -DARDUINO_ARC32_TOOLS -DARDUINO_ARCH_ARC32 -D__CPU_ARC__ -DCLOCK_SPEED=32 -DCONFIG_SOC_GPIO_32 -DCONFIG_SOC_GPIO_AON -DINFRA_MULTI_CPU_SUPPORT -DCFW_MULTI_CPU_SUPPORT -DHAS_SHARED_MEM "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/common" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/drivers" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/bootcode" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/framework/include"        "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\cores\arduino" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\variants\arduino_101" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\libraries\CurieIMU\src" "-IC:\Users\fred\Documents\Arduino\libraries\Madgwick\src" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\sketch\sketch_mar24a.ino.cpp" -o "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.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\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-g++" -c -mARCv2EM -mav2em -mlittle-endian -g -Os -Wall -fno-reorder-functions -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-defer-pop -Wno-unused-but-set-variable -Wno-main -ffreestanding -fno-stack-protector -mno-sdata -ffunction-sections -fdata-sections -fsigned-char -MMD -fno-rtti -fno-exceptions -D__ARDUINO_ARC__ -std=c++11 -DF_CPU=32000000L -DARDUINO=10608 -DARDUINO_ARC32_TOOLS -DARDUINO_ARCH_ARC32 -D__CPU_ARC__ -DCLOCK_SPEED=32 -DCONFIG_SOC_GPIO_32 -DCONFIG_SOC_GPIO_AON -DINFRA_MULTI_CPU_SUPPORT -DCFW_MULTI_CPU_SUPPORT -DHAS_SHARED_MEM "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/common" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/drivers" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/bootcode" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\system/libarc32_arduino101/framework/include"  "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\cores\arduino" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\variants\arduino_101" "-IC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\libraries\CurieIMU\src" "-IC:\Users\fred\Documents\Arduino\libraries\Madgwick\src" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\sketch\sketch_mar24a.ino.cpp" -o "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\sketch\sketch_mar24a.ino.cpp.o"

      Using previously compiled file: C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\libraries\CurieIMU\BMI160.cpp.o

      Using previously compiled file: C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\libraries\CurieIMU\CurieIMU.cpp.o

      Using previously compiled file: C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\libraries\CurieIMU\internal\ss_spi.c.o

      Using previously compiled file: C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\libraries\Madgwick\MadgwickAHRS.cpp.o

      Using previously compiled file: C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\variant.cpp.o

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

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

      Using previously compiled file: C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\i2c.c.o

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

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

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

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

      Using previously compiled file: C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\CDCSerialClass.cpp.o

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

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

      Using previously compiled file: C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\RingBuffer.cpp.o

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

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

      Using previously compiled file: C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\UARTClass.cpp.o

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

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

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

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

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

      Using previously compiled file: C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\stdlib_noniso.cpp.o

      Using previously compiled file: C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\wiring_pulse.cpp.o

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\WInterrupts.c.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\hooks.c.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\i2c.c.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\wiring.c.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\wiring_analog.c.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\wiring_digital.c.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\wiring_shift.c.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\CDCSerialClass.cpp.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\IPAddress.cpp.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\Print.cpp.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\RingBuffer.cpp.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\Stream.cpp.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\Tone.cpp.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\UARTClass.cpp.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\WMath.cpp.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\WString.cpp.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\abi.cpp.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\main.cpp.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\new.cpp.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\stdlib_noniso.cpp.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-ar" rcs  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\core.a" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\wiring_pulse.cpp.o"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-gcc" -nostartfiles -nodefaultlibs -nostdlib -static -Wl,-X -Wl,-N -Wl,-mARCv2EM -Wl,-marcelf -Wl,--gc-sections "-TC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\variants\arduino_101/linker_scripts/flash.ld" "-Wl,-Map,C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp/sketch_mar24a.ino.map"  -o "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp/sketch_mar24a.ino.elf" "-LC:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp" "-LC:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\variants\arduino_101" -Wl,--whole-archive "-larc32drv_arduino101" -Wl,--no-whole-archive -Wl,--start-group "-larc32drv_arduino101" -lc -lm -lgcc "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\sketch\sketch_mar24a.ino.cpp.o" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\libraries\CurieIMU\BMI160.cpp.o" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\libraries\CurieIMU\CurieIMU.cpp.o" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\libraries\CurieIMU\internal\ss_spi.c.o" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\libraries\Madgwick\MadgwickAHRS.cpp.o" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp\core\variant.cpp.o" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp/core\core.a"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-objcopy" -S -O binary -R .note -R .comment -R COMMON -R .eh_frame  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp/sketch_mar24a.ino.elf" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp/sketch_mar24a.ino.bin"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-strip" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp/sketch_mar24a.ino.elf"

      "C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.4+1.0/bin/arc-elf32-objcopy" -S -O ihex -R .note -R .comment -R COMMON -R .eh_frame  "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp/sketch_mar24a.ino.elf" "C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp/sketch_mar24a.ino.hex"

      Using library CurieIMU at version 1.0 in folder: C:\Users\fred\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.5\libraries\CurieIMU

      Using library Madgwick at version 1.1 in folder: C:\Users\fred\Documents\Arduino\libraries\Madgwick

       

       

      Sketch uses 48,054 bytes (24%) of program storage space. Maximum is 196,608 bytes.

      Forcing reset using 1200bps open/close on port COM3

      C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\1.6.4+1.18/arduino101load/arduino101load C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\1.6.4+1.18/x86/bin C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp/sketch_mar24a.ino.bin COM3 verbose

      Starting download script...

      Args to shell: [C:\Users\fred\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\1.6.4+1.18/x86/bin C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp/sketch_mar24a.ino.bin COM3 verbose]

      Serial Port: COM3

      BIN FILE C:\Users\fred\AppData\Local\Temp\build92b3094ad731ac8b4bfe1ac0175cb360.tmp/sketch_mar24a.ino.bin

      Waiting for device...

      Waiting for device...

      Cannot open DFU device 8087:0aba

      Waiting for device...

      Cannot open DFU device 8087:0aba

      Waiting for device...

      Cannot open DFU device 8087:0aba

      Waiting for device...

      Cannot open DFU device 8087:0aba

      Flashing is taking longer than expected

      Try pressing MASTER_RESET button

      Waiting for device...

      Waiting for device...

      Waiting for device...

      Waiting for device...

      Waiting for device...

      ERROR: Device is not responding.

      Device is not responding, check the right serial port is selected or RESET the board right before exporting

       

      End of verbose paste!  I'll stop here and try some more things.