I am using VS2019 and vMicro 1.2021.0106. When I try to debug my project with a Black Magic Probe I get an error. I can't find any OCD log. Upload and manually attach debugger are working fine with the BMP. ------------------------------------------------ ----Micro Build Compiling 'moisture_balance' for 'Arduino MKRZERO' Build Folder: e/mkrzero/Debug" Program size: 187 296 bytes (used 71% of a 262 144 byte maximum) (10.30 secs) Minimum Memory Usage: 7228 bytes (22% of a 32768 byte maximum) Uploading 'moisture_balance' to 'Arduino MKRZERO' using 'Black Magic (vMicro)' Uploader started for board Arduino MKRZERO Uploader will use programmer name: vmbmp one-eabi-gcc\7-2017q4\bin\arm-none-eabi-gdb.exe -nx -b 230400 -batch -ex "set confirm off" -ex "target extended-remote \\.\COM10" -ex "monitor swdp_scan" -ex "attach 1" -ex "load" -ex "compare-sections" -ex "kill" o\Debug/moisture_balance.ino.elf" -ex "kill" Target voltage: 3.3V Available Targets: No. Att Driver 1 Atmel SAMD21G18A (rev D) M0+ 0x00020444 in digitalRead (ulPin=1 '\001') at md\1.8.11\cores\arduino\wiring_digital.c:106 106 { Loading section .text, size 0x2d7e0 lma 0x2000 The program is not being run. Loading section .ramfunc, size 0x78 lma 0x2f7e0 The upload process has finished. Loading section .ARM.exidx, size 0x8 lma 0x2f858 Loading section .data, size 0x3c0 lma 0x2f860 Start address 0x1f31c, load size 187424 Transfer rate: 32 KB/sec, 961 bytes/write. Section .text, range 0x2000 -- 0x2f7e0: matched. Section .ramfunc, range 0x2f7e0 -- 0x2f858: matched. Section .ARM.exidx, range 0x2f858 -- 0x2f860: matched. Section .data, range 0x2f860 -- 0x2fc20: matched. # MI Debugger Properties { "serverLaunchTimeout": 5000, "filterStdout": false, "filterStderr": true, "targetArchitecture": "arm", "stopAtEntry": false, "externalConsole": false, "MIMode": "gdb", "MIDebuggerServerAddress": "localhost:3333", "cwd": \\mkrzero\\Debug", "MIDebuggerPath": ols\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-gdb.exe", "MIDebuggerArgs": "-nh -b 115200 -ex \"target extended-remote \\\\.\\COM10\" -ex \"monitor swdp_scan\" -ex \"attach 1\"", "debugServerPath": ols\\openocd\\0.10.0-arduino7\\bin/openocd.exe", "debugServerArgs": "-d2 -s ools\\openocd\\0.10.0-arduino7/share/openocd/scripts/\" -f ardware\\samd\\1.8.11/variants/mkrzero/openocd_scripts/arduino_zero.cfg\" -c \"init; reset halt\"", "program": o/Debug/moisture_balance.ino.elf", "logging": { "moduleLoad": false, "trace": false, "engineLogging": false, "programOutput": false, "exceptions": false, "traceResponse": false }, "visualizerFile": \\mkrzero\\Debug\\debugger_tmp.natvis", "showDisplayString": true } ----Debug Starting: ocd\0.10.0-arduino7\bin/openocd.exe" -d2 -s ocd\0.10.0-arduino7/share/openocd/scripts/" -f amd\1.8.11/variants/mkrzero/openocd_scripts/arduino_zero.cfg" -c "init; reset halt" Starting: none-eabi-gcc\7-2017q4/bin/arm-none-eabi-gdb.exe" --interpreter=mi -nh -b 115200 -ex "target extended-remote \\.\COM10" -ex "monitor swdp_scan" -ex "attach 1" ocd\0.10.0-arduino7\bin/openocd.exe" exited with code 1 (0x1). ------------------------------------------------------ Thanks in advance Sorry for my pour English.
|