C:\<my path>\AppData\Local\VisualGDB\EmbeddedDebugPackages\com.sysprogs.arm.openocd\bin\openocd.exe -c "gdb_port 53598" -c "telnet_port 53596" -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c init -c "reset init" -c "echo VisualGDB_OpenOCD_Ready" Open On-Chip Debugger 0.1...
I have now reached a point where the device appears correctly in the device manager. However I am now getting a whole new error. When I try to start remote debugging I get init mode failed (unable to connect to the target) When I click ‘view gdb stub log’ I get the attched log d...
(API v2) VID:PID 0483:3748 Info : Target voltage: 1.762846 Error: init mode failed (unable to connect to the target) in procedure 'program' ** OpenOCD init failed ** shutdown command invoked *** [upload] Error 1 === [FAILED] Took 18.31 seconds === Environment Status Duration ---...
Connect Under Reset InitTarget(): PCode returned with error code -1 Connection failed.I'm able to flash to the board with openocd using the same JLink EDU (tried both classic and mini). I can also connect to the target using JLinkExe. ...
http://openocd.org/doc/doxygen/bugs.html Info:DEPRECATEDtargeteventtrace-config;useTPIUevents{pre,post}-{enable,disable}Info:Listeningon port6666fortcl connections Info:Listeningon port4444fortelnet connections Error:unable to open CMSIS-DAPdevice0x28e9:0x58fError:unable to find a matching CMSIS-DA...
Error_Handler () at /home/vijay/workspace/1_myProjects/KatFC/flightControl/src/app/main.c:1544 1544 while (1) Program stopped, probably due to a reset and/or halt issued by debugger target halted due to debug-request, current mode: Thread...
(Software core reset) Info : Set GDB target to 'esp32.cpu0' Info : [esp32.cpu1] Target halted, PC=0x40000400, debug_reason=00000000 Info : [esp32.cpu1] Reset cause (14) - (CPU1 reset by CPU0) Info : accepting 'gdb' connection on tcp/3333 Error: attempted 'gdb' connection ...
{"text":"target remote :3333"}, {"text":"set remote hardware-watchpoint-limit 2"}, {"text":"monitor reset halt"}, {"text":"flushregs"}, {"text":"thb app_main"}, ], } ] } and the tasks.json as: { "version": "2.0.0", ...
1: (735) Starting: "/opt/xPacks/openocd/latest/bin/openocd" -f /opt/xPacks/openocd/latest/scripts/interface/stlink.cfg -c "transport select hla_swd" -f /opt/xPacks/openocd/latest/scripts/target/stm32f4x.cfg -c init -c "reset init" ...
-iex"target remote tcp:localhost:2331" -iex"load \"${CMAKE_BINARY_DIR}/${PROJECT_NAME}.elf.elf\"" -iex"set mem inaccessible-by-default off" -iex"break main" -iex"mon reset" -iex"continue" -iex"bt" ) Note:thearm-none-eabi-gdb and JLinkGDBServerCLboth are in...