TriBoard TC397 v2.0 not connecting

30 ビュー (過去 30 日間)
Massimo
Massimo 2024 年 11 月 22 日 8:31
コメント済み: Massimo 約11時間 前
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?
  1 件のコメント
Massimo
Massimo 約11時間 前
Solved it: it was caused by the bad compilation of some files in the iLLD i think, forced recompilation and then everything worked as intended.

サインインしてコメントする。

回答 (1 件)

Saurabh
Saurabh 2024 年 11 月 22 日 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.
  1 件のコメント
Massimo
Massimo 2024 年 11 月 22 日 9:50
The only COM port available is described in device manager as "Infineon DAS JDS COM (COM4)", I don't know if it automatically installs the wrong drivers or if it's correct as is.
Communication using serial shell code samples from the AURIX developer studio works without perfectly so I don't think it's a board problem.
Could it be a compatibility issue? I didn't install the exact version for every required software:
Hightec compiler 4.9.3.0 instead of 4.9.4.1
Infineon DAS 8.1 instead of 8.0.5
That said, I am perfectly able to flash the generated code from a simulink project to the board without any problems, so I don't think that is the issue.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEmbedded Coder Supported Hardware についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by