lolo1475
(Laurent LARDEUR)
July 31, 2020, 3:18am
1
Hello
I use the STM32L476 board witch Mbed Studio. I search the debug my program but i have a message error Following:
“pyocd.core.exceptions.TargetSupportError: Target type ‘stm32l476rg’ not recognized. Use ‘pyocd list --targets’ to see currently available target types. See https://github.com/mbedmicro/pyOCD/blob/master/docs/target_support.md for how to install additional target support.
Could not complete debug: Request reset failed with message: PyOCD failed to reset the target, please check the logs for more information”
What can I do?
Thanks in advance for your answer
Lolo1475
gerriko
(Gerriko IO)
August 8, 2020, 10:56am
2
I just tried to debug a Nucleo-L152RE using MBED Studio and received a similar message about PyOCD.
Checking the MBED hardware documentation for the L152RE informs me that there three different interfaces supported on USB (and that you can debug)
I’ll see what I can learn about PyOCD… and a quick search online gives me a good starting point: Debugging with pyOCD! | Mbed
hudakz
(Zoltan Hudak)
August 8, 2020, 11:52am
3
Hello,
Unfortunately, not all Mbed enabled boards are supported by PyOCD yet. For more info read here .
Best regards, Zoltan
1 Like
gerriko
(Gerriko IO)
August 8, 2020, 2:20pm
4
Zoltan, thanks for that link. That’s really helpful.
Rgds
Colin
hudakz
(Zoltan Hudak)
August 16, 2020, 9:37am
5
Hello,
You can consider debugging with OpenOCD which supports more targets at the moment than pyOCD. If you cross-compile on Linux then see for example Building and debugging offline with QtCreator .
Best regards, Zoltan
2 Likes