Tim@Visual Micro wrote on Mar 4
th, 2016 at 5:59pm:
Hi,
Thanks for the post. Are you saying that after upgrading the firmware debugging now works correctly in visual studio?
Unfortunately not. The full Output window is produced below, but the last part reads:
Upload failed
Open On-Chip Debugger 0.9.0-gd4b7679 (2015-06-10-22:24)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html debug_level: 2
Runtime Error: iants/ARDUIN~1/OPENOC~1/ARDUIN~1.CFG:21: Can't find interface/cmsis-dap.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 60
at file riants/ARDUIN~1/OPENOC~1/ARDUIN~1.CFG", line 21
A similar problem is occurring with Arduino.cc 1.6.7, described at
https://forum.arduino.cc/index.php?topic=383688.0 ####### Output window ###############
Compiling 'GDB02' for 'Arduino/Genuino Zero (Programming Port)'
Build folder:
Summary: Header=1 Prototypes=3 Imports=0
Additional Defines:
Architecture Tools: .3-2014q1/bin/
Sketchbook: file:\\\C:\Users\me\Documents\Arduino
Sketch Include Paths
Include Path 'C:\Users\me\Documents\Visual Studio 2015\Projects\GDB02\GDB02'
Core Include Paths
Include Path arduino'
Include Path ts\arduino_zero'
8.3-2014q1\bin\arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10607 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d -DUSBCON -DUSB_MANUFACTURER="\"Arduino LLC\"" -DUSB_PRODUCT="\"Arduino Zero\"" CMSIS/Include/" Device/ATMEL/" s\arduino" ants\arduino_zero" cpp" -o "nul"
Build Core Paths: rduino
Using previously compiled file: pp.o
8.3-2014q1/bin/arm-none-eabi-gcc" "-LC:\Users\me\AppData\Local\V.Micro\Arduino\Builds\GDB02\arduino_zero_edbg" -Os -Wl,--gc-sections -save-temps ants\arduino_zero/linker_scripts/gcc/flash_with_bootloader.ld" bg/GDB02.ino.map" --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m0plus -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -o ino.elf" cpp.o" -Wl,--start-group -lm " -Wl,--end-group
8.3-2014q1/bin/arm-none-eabi-objcopy" -O binary ino.elf" ino.bin"
Binary sketch size: 8,156 bytes (used 3% of a 262,144 byte maximum) (8.03 secs)
Uploading to I/O board using 'COM17'
Uploader started for board Arduino/Genuino Zero (Programming Port)
Upload method will be: bootloader
Uploading via Bootloader
\bin\openocd.exe -d2 -s o/share/openocd/scripts/" -f iants/ARDUIN~1/OPENOC~1/ARDUIN~1.CFG -c "telnet_port disabled; program .ino.bin}} verify reset 0x00002000; shutdown"
Upload failed
Open On-Chip Debugger 0.9.0-gd4b7679 (2015-06-10-22:24)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html debug_level: 2
Runtime Error: iants/ARDUIN~1/OPENOC~1/ARDUIN~1.CFG:21: Can't find interface/cmsis-dap.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 60
at file riants/ARDUIN~1/OPENOC~1/ARDUIN~1.CFG", line 21