Why am I receiving "XCP internal error: Invalid length for protocol frame" when using external mode?
Show older comments
I am trying to run a Simulink model in external mode on a hardware board. I am logging around 10 signals.
I have tried an example model provided by MathWorks, and the example works fine, but when I try to use my model, I get the following error:
Error:External Mode Open Protocol CheckData command failed
Caused by:
Multiple errors detected.
XCP error: XCP internal error: Invalid length for protocol frame.
Error detected while trying to disconnect Simulink from target application.
XCP error: XCP internal error: Invalid length for protocol frame.
Why am I getting this error, and how do I fix it?
Accepted Answer
More Answers (0)
Categories
Find more on STMicroelectronics Discovery Boards in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!