Filter löschen
Filter löschen

"External Mode Open Protocol CheckData command failed" Error

59 Ansichten (letzte 30 Tage)
Samuel Osei Fobi
Samuel Osei Fobi am 18 Jul. 2022
Kommentiert: Hassan am 11 Apr. 2024
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 Kommentare
ROBbb
ROBbb am 27 Jul. 2023
I have the same problem... please help us!!
Luuk Paul
Luuk Paul am 8 Sep. 2023
try going to hardware settings/target hardware resources/external mode and switch the communication interface to tcp/ip. worked for me

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Narvik
Narvik am 27 Okt. 2023
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!

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by