"External Mode Open Protocol CheckData command failed" Error

조회 수: 77 (최근 30일)
Samuel Osei Fobi
Samuel Osei Fobi 2022년 7월 18일
댓글: AJAY KUMAR SATALAGAON 2025년 1월 30일 4:11
I am trying to implement a PI controller with an STM32F401RE Nucleo board. I am tryping to run the model in external mode but I get this error:
External Mode Open Protocol CheckData command failed
Caused by:
  • Multiple errors detected.
  • XCP internal error: timeout expired, in response to XCP SYNCH command
  • Error detected while trying to disconnect Simulink from target application.
  • XCP error: XCP internal error: No server connected
The model compiles without any error, builds and connects with the board. This error comes up only when it is tryping to run on the target. The time stamp reads 0.00 for a few seconds and then this error pops up.
  댓글 수: 4
ROBbb
ROBbb 2023년 7월 27일
I have the same problem... please help us!!
Luuk Paul
Luuk Paul 2023년 9월 8일
try going to hardware settings/target hardware resources/external mode and switch the communication interface to tcp/ip. worked for me

댓글을 달려면 로그인하십시오.

답변 (2개)

Narvik
Narvik 2023년 10월 27일
Hi Samuel Osei Fobi,
I understand that you are facing an issue while trying to run your PI controller model in external mode. The error “External Mode Open Protocol CheckData command failed” might occur when the connection to STM32F401RE Nucleo board is blocked.
It is possible that certain firewall settings on your system are blocking the connection, causing the external mode to stop or crash immediately upon starting. To resolve this issue, please review your firewall settings and ensure that they allow the necessary connections for the external mode to operate properly.
Hope this helps!
  댓글 수: 2
Hassan
Hassan 2024년 4월 11일
can you explain it more?
AJAY KUMAR SATALAGAON
AJAY KUMAR SATALAGAON 2025년 1월 30일 4:11
Thanks for your answer. I switched off firewall and network setting in the PC and then tried to run the Moniter and tune mode with F28379D micro-controller. The error dispapperared.

댓글을 달려면 로그인하십시오.


René
René 2024년 9월 18일
Hola, lo que me funciono fue cambiar "fundamental sample time" in solver, regresarlo a "Auto"

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by