Problems with external mode with TI F2808

Hi
I am using a TMS320F2808 controlCARD and I have been able to download a model using the TI support package for C2000. I modified the model to monitor an ADC channel using a scope or a display. In both cases I am getting the following error when running monitor & tune:
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.
My hardware setting are:
Desired CPU Clock in MHZ: 100
Oscillator clock ()OSCLK) frequency in MHz: 20
I have set the SCI_A at 2 Mbps (2 097 152 bps)
I am using XCP on serial on COM 6 which is the only available option.
I appreciate any help.

 Accepted Answer

Hi I have solved the problem. It comes in two steps: software and hardware. The issue with the software is that the support package uses a board configuration file which specifies the use of xds100 v1, whereas TI f280xx control card uses xds100 v2. The solution is to create a new target configuration file in CCS and load it in the hardware settings menu. Regarding the hardware the problem is due to a miss configuration. MathWorks has reported this but it is not too specific in the following link https://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/ug/set-up-the-hardware-target.html? The first issue is with J9 which is usually not placed in the docking station so you have to solder it by yourself. The second issue, which is more confusing, is with SW1. The f280xx board does not have this switch. Instead it has a 0 Ohm resistor designated as R18. The solution in to desolder this resistor. After doing this my system was able to run external mode successfully.

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Release

R2021b

Asked:

on 26 May 2022

Answered:

on 4 Jun 2022

Community Treasure Hunt

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

Start Hunting!