MATLAB: Unable to connect to the ‘TI Delfino F2833x (boot from flash)’ target..

c2000f28335

Hi,
i'm developping a Simulink schematic to drive MOSFETs with a f28335 DSP(Clock 150Mhz). I'm using 4 ADC input ports (Inputs) and drives 4 ePWM (2 times active high complementary A&B).
I don't have any issue with the DSP itself, but when I build the code on it, the DSP 'disconnect' from the computer, so I can't read the scope in my schematics. The code continue to run normally on the DSP, but I don't have access to the scopes, which is not usefull.
Here's the error i have:
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. Possible reasons for the time-out: 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. Component:Simulink | Category:Block diagram error Unable to connect to the 'TI Delfino F2833x (boot from flash)' target for 'PID_Twist_DSP_f28335slx'.
With the f28069 DSP (Clock 90Mhz) , i don't have this issue.
Does anyone have any idea where this is coming from ?
Thanks

Best Answer

Please check the following:
1. If you are working with docking station, the position of SW1 is the key. As per the control card info sheet: The position should be OFF. OFF –SW1 in the “OFF” position allows GPIO-28 to be used as a GPIO. Serial communication is still possible, however an external transceiver is needed such as the FTDI – FT2232D chip. This is primarily used for communicating over the USB to serial bridge included in the onboard XDS100 JTAG emulation on many C2000 development boards.
2. And, the J9 connector on the docking station should be closed, i.e a jumper must be put in the place.
3. The GPIO pins are 28 and 29 for SCI Rx and Tx respectively on the control card.
4. 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.
Related Question