walmis / blackmagic-espidf

Blackmagic Wireless SWD Debug probe hosted on esp-idf SDK (for ESP8266) with UART on Telnet port and HTTP using xterm.js
251 stars 48 forks source link

Problem starting debugging in CubeIde #14

Open Alex-IC opened 6 months ago

Alex-IC commented 6 months ago

Problem starting debugging in CubeIde(Version: 1.14.0 Build: 19471_20231121_1200 (UTC)) I successfully compiled and uploaded the latest version of blackmagic-espidf, but when entering debug mode I get an error "Could not verify ST device! Please verify that the latest version of the GDB-server is used for the connection."

[Websocket] Connection established
I (150958) GDB_client: Started task 53 this:0x40109854 tlsp:0x3fffb69c mowner:0
I (150961) gdb_main_loop: cur_target=0 last_target=0x401090c8

I (150963) GDB: Scanning SWD
I (150963) gdb_target_destroy_callback: gdb_target_destroy_callback 0x401090c8 cur_target=0 last_target=0x401090c8

W (150965) BMP:W: scan_multidrop: false 
I (150966) BMP:I: DP DPIDR 0x1ba01477 (v1 rev0) designer 0x43b partno 0xba 
I (151171) BMP:I: RESET_SEQ failed 
I (151172) BMP:I: AP   0: IDR=14770011 CFG=00000000 BASE=e00ff003 CSW=23000040
I (151173) BMP:I:  (AHB-AP var1 rev1) 
I (151174) BMP:I: Halt via DHCSR: success 01030003 after 0ms 
I (151176) BMP:I: ROM: Table BASE=0xe00ff000 SYSMEM=0x00000001, Manufacturer  20 Partno 410 
I (151178) BMP:I: 0 0xe000e000: Generic IP component - Cortex-M3 SCS (System Control Space) (PIDR = 0x00000004001bb000  DEVTYPE = 0x00 ARCHID = 0x0000) 
I (151180) BMP:I: -> cortexm_probe 
I (151181) BMP:I: CPUID 0x411fc231 (M3 var 1 rev 1) 
I (151186) BMP:I: 1 0xe0001000: Generic IP component - Cortex-M3 DWT (Data Watchpoint and Trace) (PIDR = 0x00000004001bb002  DEVTYPE = 0x00 ARCHID = 0x0000) 
I (151188) BMP:I: 2 0xe0002000: Generic IP component - Cortex-M3 FBP (Flash Patch and Breakpoint) (PIDR = 0x00000004000bb003  DEVTYPE = 0x00 ARCHID = 0x0000) 
I (151191) BMP:I: 3 0xe0000000: Generic IP component - Cortex-M3 ITM (Instrumentation Trace Module) (PIDR = 0x00000004001bb001  DEVTYPE = 0x00 ARCHID = 0x0000) 
I (151193) BMP:I: 4 0xe0040000: Debug component - Cortex-M3 TPIU (Trace Port Interface Unit) (PIDR = 0x00000004001bb923  DEVTYPE = 0x11 ARCHID = 0x0000) 
I (151199) BMP:I: 5 0xe0041000: Debug component - Cortex-M3 ETM (Embedded Trace) (PIDR = 0x00000004101bb924  DEVTYPE = 0x13 ARCHID = 0x0000) 
I (151201) BMP:I: ROM: Table END 
I (151203) GDB: Found 1
I (151214) GDB: *** Unsupported packet: vMustReplyEmpty 
I (151267) GDB: *** Unsupported packet: qTStatus 
W (151271) ?: halted 4
I (151287) GDB: *** Unsupported packet: qOffsets 
I (151309) GDB: *** Unsupported packet: qSymbol:: 
I (151319) CMD: ReadAPEx 0x0 0xF8
I (151329) GDB_client: destroy 53
I (151331) GDB_client: delete 0x40109854
Eryk-Mozdzen commented 4 weeks ago

Same error dialog is also on STM32CubeIDE Version: 1.16.0 Build: 21983_20240628_1741 (UTC)