TriBoard TC397 v2.0 not connecting
25 views (last 30 days)
Show older comments
Hello,
I'm currently trying to use the "Monitor & Tune" option in simulink, however it stops giving the following error message:
"External Mode Open Protocol Connect command failed
Could not connect to target application: XCP internal error: timeout expired, in response to XCP CONNECT command"
The serial port selected is COM8 which is the same port that appears in device manager.
"Build & Run" tool is working without issues, and serial communication is definetively possible, as I checked with custom code(which didn't work very well with code generation but proved that serial communication between host and board is possible).
Does anybody know if it is somehow possible to get data generated on the aurix to the host computer using serial communication and without the use of custom code?
0 Comments
Answers (1)
Saurabh
on 22 Nov 2024 at 8:55
The error indicates an issue with the connection to the board. To solve this issue check the COM Port used to communicate with the board. If an Auxiliary port(COM3) is being used, try connecting to a UART port(COM4) and try "monitor and tune" again.
Ensure the COM port set at 'Configuration Parameters > Hardware Implementation > Target hardware resources > External mode' is the same as the COM port of the serial interface.
To ensure other aspects of the board and MATLAB are setup properly, double check the following:
Ensure MATLAB Code, Simulink Coder, Embedded Coder are installed properly, Ensure relevant support packages
are installed including required 3rd party software. Perform Pending updates on Support Packages. Check that the model in consideration does not use blocks unsupported for code generation or for deployment in the specified target.
I hope this helps.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!