Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32F796NI Mbed debuging error #1491

Closed
JoanOG opened this issue Nov 18, 2021 · 1 comment
Closed

STM32F796NI Mbed debuging error #1491

JoanOG opened this issue Nov 18, 2021 · 1 comment

Comments

@JoanOG
Copy link

JoanOG commented Nov 18, 2021

When I try to debug with the mbed studio I get the following error:

0001859:INFO:rom_table: [2]
0001860:INFO:rom_table: [3]
0001861:INFO:rom_table: [1]
0001863:INFO:rom_table:[1]
0001864:INFO:dwt:4 hardware watchpoints
0001868:INFO:fpb:8 hardware breakpoints, 1 literal comparators
0001876:CRITICAL:main:No cores were discovered!
Traceback (most recent call last):
File "c:\Users\JGonza12\AppData\Local\Mbed Studio\mbed-studio-tools\python\lib\site-packages\pyocd_main_.py", line 402, in run
self.COMMANDSself._args.cmd
File "c:\Users\JGonza12\AppData\Local\Mbed Studio\mbed-studio-tools\python\lib\site-packages\pyocd_main
.py", line 746, in do_gdbserver
with session:
File "c:\Users\JGonza12\AppData\Local\Mbed Studio\mbed-studio-tools\python\lib\site-packages\pyocd\core\session.py", line 339, in enter
self.open()
File "c:\Users\JGonza12\AppData\Local\Mbed Studio\mbed-studio-tools\python\lib\site-packages\pyocd\core\session.py", line 457, in open
self._board.init()
File "c:\Users\JGonza12\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\JGonza12\AppData\Local\Mbed Studio\mbed-studio-tools\python\lib\site-packages\pyocd\core\soc_target.py", line 117, in init
seq.invoke()
File "c:\Users\JGonza12\AppData\Local\Mbed Studio\mbed-studio-tools\python\lib\site-packages\pyocd\utility\sequencer.py", line 208, in invoke
resultSequence = call()
File "c:\Users\JGonza12\AppData\Local\Mbed Studio\mbed-studio-tools\python\lib\site-packages\pyocd\coresight\coresight_target.py", line 214, 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"

Any idea?

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 18, 2021

please ask on the forum rather than docs (not related to the documentation).

Does pyocd work if you execute it directly? what version of pyocd or mbed studio is installed

@0xc0170 0xc0170 closed this as completed Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants