Exception in thread gdb-server-core0:

Trying to get my first program to debug on mbed studio.

Program is mbed-os-example-blinky
Target NUCLEO-G474RE

Errors:-
Exception in thread gdb-server-core0:

Log:

File “c:\programdata\mbed studio\mbed-studio-tools\python\lib\site-packages\pyocd\probe\stlink_probe.py”, line 242, in write_memory
self._link.write_mem32(addr, conversion.u32le_list_to_byte_list([data]), self._apsel)
File “c:\programdata\mbed studio\mbed-studio-tools\python\lib\site-packages\pyocd\probe\stlink\stlink.py”, line 391, in write_mem32
self._write_mem(addr, data, Commands.JTAG_WRITEMEM_32BIT, self.MAXIMUM_TRANSFER_SIZE, apsel)
File “c:\programdata\mbed studio\mbed-studio-tools\python\lib\site-packages\pyocd\probe\stlink\stlink.py”, line 381, in _write_mem
raise self._ERROR_CLASSESstatus
pyocd.core.exceptions.TransferTimeoutError: STLink error (20): DP wait

\Users\PDH\Mbed Programs\mbed-os-example-blinky\BUILD\NUCLEO_G474RE\ARMC6\mbed-os-example-blinky.elf: No such file or directory.
warning: No executable has been specified and target does not support
determining executable automatically. Try using the “file” command.
warning: Remote failure reply: E01

Comments it compiles and builds and runs.

I just can’t get debug to work.

Peter G4DCP