Communication Issue with Spectrum Digital C2000 XDS510LC JTAG
5 ビュー (過去 30 日間)
古いコメントを表示
Puneeth Kumar Srikanta Murthy
2017 年 3 月 31 日
コメント済み: Ni Rui Cheng
2020 年 12 月 22 日
I am using Matalb 2016b and CCSv5.5 to generate embedded code for TI DSP processor.
I get the following error when I select the option to Build, Load and run the code from Simulink,
*** Starting debug session...
*** Debug Session Name: Blackhawk USB2000 Controller_0/C28xx
*** Board Name: Blackhawk USB2000 Controller_0
*** CPU Name: C28xx
*** Connecting to target...
SEVERE: C28xx: Error connecting to the target: (Error -118 @ 0x0) The hardware or software support only limited values of port addresses. (Emulation package 5.0.471.0)
SEVERE: emulation failure occurred
SEVERE: Error connecting to the target: emulation failure occurred
SEVERE: Cannot perform operation, target is not connected.
SEVERE: Error reseting target: Cannot perform operation, target is not connected.
Same configuration I can run the code by using the .out file in CCSv5.5 . The code builds without any issues. Only when I select build, load and run, the communication does not happen.
When I do
instrfind
nothing comes up. I assume matlab is not recognizing the emulator at all.
I did checkEnvSetup
>> checkEnvSetup('ccsv5','f2812','check')
1. CCSv5 (Code Composer Studio)
Your version : 5.5.0
Required version: 5.0 or later
Required for : Code Generation
TI_DIR="C:\ti\ccsv5"
2. CGT (Texas Instruments C2000 Code Generation Tools)
Your version : 6.2.0
Required version: 5.2.1 to 6.0.2
Required for : Code generation
C2000_CGT_INSTALLDIR="C:\ti\ccsv5\tools\compiler\c2000_6.2.0"
3. DSP/BIOS (Real Time Operating System)
Your version : 6.35.04.50
Required version: 5.33.05 to 5.41.11.38
Required for : Code generation
CCSV5_DSPBIOS_INSTALLDIR="C:\ti\bios_6_35_04_50"
4. XDC Tools (eXpress DSP Components)
Your version : 3.25.03.72
Required version: 3.16.02.32 or later
Required for : Code generation
5. Flash Tools (TMS320C2812 Flash APIs)
Your version : 2.10
Required version: 2.10
Required for : Flash Programming
FLASH_2812_API_INSTALLDIR="C:\tidcs\c28\Flash28_API\Flash2812_API_V210"
Please let me know if anything is wrong or how I can establish communication with C2000 XDS510 cable.
Thanks, Puneeth
0 件のコメント
採用された回答
Antonin
2017 年 4 月 3 日
Hi Puneeth,
By default, our models using the F2812 controller are configured to use a Blackhawk JTAG emulator. Here is how you can change the model to use your XDS510 JTAG: Open the configuration parameters of the model (Ctrl + E on the model), go to "Hardware Implementation", make sure you have selected the correct TI board, go to "Target Hardware Resources" > "Build options" > in the "CCS hardware configuration file" edit box, point to the ccxml file that you have created in CCS using the "Target Configurations" tool (in CCS go to "view" > "Target Configurations").
Usually, CCS target configurations are saved in your Windows user folder. On my machine: C:\Users\*username*\ti\CCSTargetConfigurations
Copy the full path to the ccxml file that matches your board and JTAG in the "CCS hardware configuration file" edit box. Click "ok" to apply these changes in the configuration parameters of the model. This should fix the problem.
Make sure to do this step every time you create a new model.
I hope it helps,
Cheers,
Antonin.
2 件のコメント
Ni Rui Cheng
2020 年 12 月 22 日
Hi Antonin,
I also have the same problem. Then, I have also tried your solution. but the error is like below. How could I change the communication from serial port to USB JTAG?
Failed to open serial port COM2. Possible causes are:
a) The target is not powered on.
b) The specified port number is not correct.
c) The specified bit rate is not supported by the host machine.
d) The specified port is occupied by another application.
e) The previous connection was not closed correctly. If this is the case, you may need to re-start MATLAB.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!