-
-
Notifications
You must be signed in to change notification settings - Fork 133
Description
When debugging a program using OpenOCD, if there are configuration errors or other issues, OpenOCD may terminate before reaching the expected output of Started by GNU MCU Eclipse
In such cases, Eclipse waits for OpenOCD until a timeout occurs and then displays an error message. This behavior is normal under typical conditions, but in my situation, it prevents effective troubleshooting.
The error messages generated during my engineering work are as follows: These messages contain crucial information necessary for diagnosing and resolving the encountered issues. Unfortunately, Eclipse does not surface these error messages, hindering effective troubleshooting and analysis.
Info : libusb_open() failed with LIBUSB_ERROR_NOT_FOUND
Info : no device found, trying D2xx driver
Info : D2xx device count: 2
Info : Connecting to "(null)" using D2xx mode...
Info : clock speed 1000 kHz
Info : JTAG tap: riscv.cpu tap/device found: 0x10900a6d (mfg: 0x536 (Nuclei System Technology Co Ltd), part: 0x0900, ver: 0x1)
Info : coreid=0, nuclei debug map reg 00: 0x18010038, 16: 0x18010040, 32: 0x18010108
Info : [riscv.cpu] datacount=4 progbufsize=8
Info : [riscv.cpu] Vector support with vlenb=16
Info : [riscv.cpu] Examined RISC-V core
Info : [riscv.cpu] XLEN=32, misa=0x4014952f
[riscv.cpu] Target successfully examined.
Info : [riscv.cpu] Examination succeed
Info : [riscv.cpu] starting gdb server on 3333
Info : Listening on port 3333 for gdb connections
riscv.cpu halted due to undefined.
Info : Valid NUSPI on device Nuclei SoC SPI Flash at address 0x20000000 with spictrl regbase at 0x10013000
Info : SPI controller version 0x00000000
I would like Eclipse to capture and display these error messages from OpenOCD to assist in diagnosing the problem. Is there a way to enable this functionality, or are there plans to implement such a feature?"