This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS320F28335
While facing difficuties when running my Simulink own model on external mode (on my TI F28335), I decided to try the basic example from Mathworks ( de.mathworks.com/.../parameter-tuning-and-signal-logging-with-serial-external-mode.html ) and concluded that not even that works.I am receiving the same errors. My error message:
Error occurred while executing External Mode MEX-file 'ext_comm':Failed to connect to the target. A time-out occurred while waiting for the connection response from the target.a) The target is not switched on.b) The target is not connected to your host machine.c) The application for the model is not running on the target. You might have clicked the Stop button. If the Run button is not dimmed, click it. Otherwise, click the Build button, which downloads and runs your application on the target.
So:I) Code building works straight. The error happens just when trying to run on external mode that example on the DSP, at the end.
II) I tryied other computers, same error.
III) I tried other versions of Matlab (2015, 2017, 2018), none of them works. same error.
IV) I tried other DSP from the same model, same stuff.
V) The Test Target Communication works well on Code composer Studio, and it even can flash TI examples to the DSP (flashing leds). So the Delfino is working and the cable is good.
VI) I tried to use the CCS hardware configuration file on Simulink, no change.
VII) I checked the COM, its right. I even slowed down the Oscillator clock, no improvement. The parameters are equal to the "Device Manager" from Windows config.
Am I doing something stupid? What any other possible reason can exist for Matlab do not access the F28335?I tried that c28x_serial_ext example because it was suposed to be easy, but not even that works.
Thanks for the support,Ruben
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
Here are the suggestions I got from my development team:
After these settings the first thing to test is the SCI operation using a tool like Putty just to ensure the Tx and Rx are intact and then move to external mode.
Also ensure the CCS is not currently running and is closed.
Brian McKay | Technical Marketing | www.mathworks.com
In reply to Brian McKay:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.