XCP crash Raspberry pi

9 views (last 30 days)
Sylvain
Sylvain on 8 Dec 2022
Answered: Tushar on 20 Mar 2023
I am using the tune and monitor function with the Raspberry Pi 4.
I have made some improvement to my code but since, I get the following error:
External Mode Open Protocol CheckData command failed
Caused by:
  • Multiple errors detected.
  • XCP TCP/IP error: socket receive error
  • Error detected while trying to disconnect Simulink from target application.
  • XCP error: XCP TCP/IP error: socket send error
Does anyone know how to avoid such crash? the debugger is not very helpfull,.
kind regards,
Sylvain

Answers (1)

Tushar
Tushar on 20 Mar 2023
Hi,
This could be because of you having certain firewall settings possibly blocking connection with the RPi. Due to this, the external mode stops or crashes immediately when started.
So, please have a look at you firewall settings.
Hope it helps!

Categories

Find more on Raspberry Pi Hardware in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!