External Mode Connection Issue with C2000 LaunchPad and Speedgoat System
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Dear MathWorks Support Team,
I am reaching out to request your assistance with an issue we are facing during the implementation of a controller model using the C2000 Blockset. As advised by Speedgoat support, this problem appears to be related to the C2000 Blockset, and they have recommended that we consult you directly.
Project Setup Overview:
We are working with two models:
- Plant model – implemented on the Speedgoat FPGA
- Controller model – implemented on a LaunchPad development kit (https://www.speedgoat.com/products/launchpad-development-kit) (TI LaunchXL-F28379D)
The two systems communicate via analog signals using the IO334 interface.
We have successfully confirmed the following:
- The plant model is transmitting correct signals to the LaunchPad, verified using an oscilloscope via SMA connectors on the LaunchPad.
- The LaunchPad receives the input signals correctly.
- The plant model is also responding correctly when tested with a signal generator.
Issue Description:
The controller model builds, deploys, and starts successfully on the LaunchPad. However, when we attempt to use Monitor & Tune (external mode), we encounter the following error:
"External Mode Open Protocol Connect command failed: Could not connect to target application. XCP internal error: timeout expired."
We have attached relevant screenshots and the build report for your review.
Setup Details:
- The LaunchPad is connected to the PC via USB.
- It is also connected to the Speedgoat system via the SAMTEC connector.
- We have used the blocks recommended in the documentation for the LaunchPad.
We would greatly appreciate your help in identifying the cause of this issue and guiding us through any additional steps or configurations needed to enable external mode communication.
Thank you very much for your support.
Best regards,
Varun Shahi
1 comentario
Harald
el 13 de Mayo de 2025
Hi,
please note that this is a community for users that is also frequented by MathWorks staff, but it's not the Technical Support. To contact Technical Support, please go to https://www.mathworks.com/support/contact_us.html
Best wishes,
Harald
Respuestas (2)
Stefanie Schwarz
el 16 de Mayo de 2025
Hi Varun,
I assume you have tried running our basic C2000 examples with "Monitor & Tune"?
If pressing the "Build, Deploy & Start" button is successful, but "Monitor & Tune" fails, this might be a performance bottleneck, especially when using higher rates. Try reducing the number of logged signals and/or their rates. Even if your model is simple, it might be running too fast to do data streaming in the background.
You might want to have a look at the two-model-approach:
Best, Stefanie
0 comentarios
Ver también
Categorías
Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!