Facing the issue XCP internal error: timeout expired

40 views (last 30 days)
Pratiksha
Pratiksha on 14 Nov 2024 at 11:07
Commented: Aditya Padmanabha on 19 Nov 2024 at 6:52
Top model targets built: Model Action Rebuild Reason ===================================================================== blinky Code generated and compiled. Incremental checksum changed. 1 of 1 models built (0 models already up to date) Build duration: 0h 1m 31.43s
Selected serial baud value (9600) can introduce a significant delay in target response when transmission bandwidth is saturated. Consider using a higher baud value.
Ungroup 2 similar
Component:Simulink | Category:Model warning
action: EXT_INIT Creating Target Handler (XCP on Serial)... Build directory: C:\files\TI-Simulink\blinky_ert_rtw Serial Port Name: COM4 Baud Rate: 9600 action: EXT_CONNECT Connecting to the target...
External Mode Open Protocol Connect command failed
Caused by:
  • Could not connect to target application: XCP internal error: timeout expired, in response to XCP CONNECT command
Component:Simulink | Category:Model error
Unable to connect to the 'TI F28P65x' target for 'blinky'.
------------------------------------------------
I'm using F28P65x board from Texas Instruments and im trying to build a program. However, I'm facing the above mentioned timeout error. I have tried different osckclock frequencies and baud rates but getting same results. Please guide me on this.
  2 Comments
Aditya Padmanabha
Aditya Padmanabha on 19 Nov 2024 at 6:52
The baudrate of 9600 is very low. Can you check and increase the baudrate to 115200 atleast and try monitor & tune? Also it would be good to verify if the serial communication is working by trying out this example https://www.mathworks.com/help/ti-c2000/ug/serial-communication-example.html. That atleast helps to narrow down the problem.
Thanks,
Aditya

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!