I’m using Mbed Studio: 1.3.1 with NUCLEO-F746ZG (STM32F746). The program is able to run on the board without errors, but the debug function gives this error log below. Any idea on how to fix this issue?
0000671:INFO:rom_table: [1]
0000673:INFO:rom_table: [2]
0000676:INFO:rom_table: [3]
0000677:INFO:rom_table: [1]
0000679:INFO:rom_table:[1]
0000681:INFO:dwt:4 hardware watchpoints
0000687:INFO:fpb:8 hardware breakpoints, 1 literal comparators
0000709:CRITICAL:main:No cores were discovered!
Traceback (most recent call last):
File “c:\Users\MikoNore\AppData\Local\Mbed Studio\mbed-studio-tools\python\lib\site-packages\pyocd_main_.py”, line 362, in run
self.COMMANDSself._args.cmd
File "c:\Users\MikoNore\AppData\Local\Mbed Studio\mbed-studio-tools\python\lib\site-packages\pyocd_main.py", line 680, in do_gdbserver
with session:
File “c:\Users\MikoNore\AppData\Local\Mbed Studio\mbed-studio-tools\python\lib\site-packages\pyocd\core\session.py”, line 302, in enter
self.open()
File “c:\Users\MikoNore\AppData\Local\Mbed Studio\mbed-studio-tools\python\lib\site-packages\pyocd\core\session.py”, line 420, in open
self._board.init()
File “c:\Users\MikoNore\AppData\Local\Mbed Studio\mbed-studio-tools\python\lib\site-packages\pyocd\board\board.py”, line 85, in init
self.target.init()
File “c:\Users\MikoNore\AppData\Local\Mbed Studio\mbed-studio-tools\python\lib\site-packages\pyocd\core\coresight_target.py”, line 160, in init
seq.invoke()
File “c:\Users\MikoNore\AppData\Local\Mbed Studio\mbed-studio-tools\python\lib\site-packages\pyocd\utility\sequencer.py”, line 208, in invoke
resultSequence = call()
File “c:\Users\MikoNore\AppData\Local\Mbed Studio\mbed-studio-tools\python\lib\site-packages\pyocd\core\coresight_target.py”, line 299, in check_for_cores
raise exceptions.DebugError(“No cores were discovered!”)
pyocd.core.exceptions.DebugError: No cores were discovered!
“GDB server stopped unexpectedly with exit code 1”
Thanks