Unable to connect to the 'TI Delfino F2833x (boot from flash)' target..

25 views (last 30 days)
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

Accepted Answer

Venkatesh Chilapur
Venkatesh Chilapur on 17 Oct 2018
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.
  10 Comments
Venkatesh Chilapur
Venkatesh Chilapur on 27 Dec 2018
How about other troubleshooting steps?
No external mode, use SCI-A transmit block and see if you can recieve the data in host using a tool like putty. Ensure no other application is already using this COM port.
Also ensure to check 'option Load VCP' for Auxiliary port.
Neelesh Yadav
Neelesh Yadav on 27 Dec 2018
Sir,
I'm not getting it. Controller is working fine in normal mode. Can you give solution for this?

Sign in to comment.

More Answers (3)

Venkatesh Chilapur
Venkatesh Chilapur on 3 Dec 2018
Do you see the COM port listed under device manager? Have you specified the same COM port for external mode in hardware config parameters? Could you provide snaphots for the same?
Also ensure you are not using this serial COM port from within your application. Try sending the serial data from a simple application model over USB serial connection and collect data in Putty and see if this link is working.
  5 Comments
Shafquat
Shafquat on 15 Jan 2023
hello, please can you share a pic where to connect a jumper on J9? because its very complex and where to connect jumper to other connection. I have also attached an image for J9 connector. Thanx.

Sign in to comment.


Venkatesh Chilapur
Venkatesh Chilapur on 3 Dec 2018
Please refer this example:
https://in.mathworks.com/help/supportpkg/texasinstrumentsc2000/examples/adc-pwm-synchronization-via-adc-interrupt.html
  8 Comments
Charles Gagné-Carrier
Charles Gagné-Carrier on 10 Dec 2018
It was not a PLL, but I had a similar error while I was programming my project. (memory problem)
This solution was just a guess !

Sign in to comment.


Dhamodharan
Dhamodharan on 17 Jan 2020
HI,
check this attachment it may help you.

Community Treasure Hunt

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

Start Hunting!