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 CenterFile Exchange에서 Embedded 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