Error:External Mode Open Protocol Connect command failed

Hi, I'm currently working with a NUCLEO-H7A3ZI and Matlab Simulink. I have installed the "Embedded Coder Support Package for STMicroelectronics STM32 Processors" and alredy created a small test model. When I click "Build Deploy & Start", everything works fine, but i can't use the "Monitor & Tune" Mode :
Error:External Mode Open Protocol Connect command failed
Caused by:
Could not connect to target application: XCP internal error: timeout expired, in response to XCP CONNECT command
I also tried to "Build, Deploy & Start" and then clicking the connect button in the step by step commands section of "Monitor & Tune". This time i got :
Error:External Mode Open Protocol Connect command failed
Caused by:
DWARF Parser internal error: Parser::describeSymbol xcpDummyDoubleVariable is not a global variable
I verified the com port in Connectivity Under Hardware Settings. The one i used correspond to STMicroelectronics STLink Virtual Com Port in my device manager (I also check the baudrate to be equal beetwin com port and cubemx .ioc's file).
For information, I'm using MATLAB R2024b, STM32CubeMX 6.4.0

Answers (0)

Products

Release

R2024b

Asked:

about 10 hours ago

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!