Closed Microsparky closed 4 years ago
pyocd gdbserver works as expected and doesn't return to the prompt
> pyocd gdbserver
0001430:INFO:board:Target type is stm32f303retx
0001448:INFO:dap:DP IDR = 0x2ba01477 (v1 rev2)
0001464:INFO:ap:AHB-AP#0 IDR = 0x24770011 (AHB-AP var1 rev2)
0001497:INFO:rom_table:AHB-AP#0 Class 0x1 ROM table #0 @ 0xe00ff000 (designer=020 part=446)
0001514:INFO:rom_table:[0]<e000e000:SCS-M4 class=14 designer=43b part=00c>
0001526:INFO:rom_table:[1]<e0001000:DWT class=14 designer=43b part=002>
0001536:INFO:rom_table:[2]<e0002000:FPB class=14 designer=43b part=003>
0001547:INFO:rom_table:[3]<e0000000:ITM class=14 designer=43b part=001>
0001559:INFO:rom_table:[4]<e0040000:TPIU-M4 class=9 designer=43b part=9a1 devtype=11 archid=0000 devid=ca1:0:0>
0001569:INFO:rom_table:[5]<e0041000:ETM-M4 class=9 designer=43b part=925 devtype=13 archid=0000 devid=0:0:0>
0001572:INFO:cortex_m:CPU core #0 is Cortex-M4 r0p1
0001589:INFO:cortex_m:FPU present: FPv4-SP-D16-M
0001599:INFO:dwt:4 hardware watchpoints
0001618:INFO:fpb:6 hardware breakpoints, 4 literal comparators
0001671:INFO:server:Semihost server started on port 4444 (core 0)
0001680:INFO:gdbserver:GDB server started on port 3333 (core 0)
Hi @Microsparky , this is a known bug that's fixed on the master
branch. Version 0.28.3 with the fix will be released shortly.
Closing as a duplicate of #990.
Thanks @flit I will try install directly from the source. Sorry I didn't find the other issue
No problem! The other issue wasn't particularly clear since it referenced Eclipse in the title.
Hello,
I am trying to set up a development environment using VS code, cortex-debug, arm-none-eabi and pyocd.
When I start debugging with cortex-debug I get the following output:
VS Code popup:
Debug Console:
Output:
I ran
netstat -a
and found no open port 50000 so I figured pyocd-gdbserver had not started the server, I tried to run the same command cortex-debug was using-d debug
to get more information. I get the output below then after 4 or 5 seconds the prompt returns.I don't know where to go from here, did pyocd-gdbserver crash? What can I try?