Why the External Model of c28x_serial_ext.slx doesn't work?

3 ビュー (過去 30 日間)
shiming liu
shiming liu 2016 年 3 月 29 日
回答済み: Ahmet yüksel 2018 年 2 月 7 日
Hello, every one.
I'm tring test c28x_serial_ext.slx exmple with my F28335 eZdsp board, with MATLAB 2015a. But I get the error message :
Unable to connect to the 'TI Delfino F2833x' target for 'test3_serial_ext'.
The only difference between my test3_serial_ext model and the exmple c28x_serial_ext.slx provided in MATLAB 2015a is that in the "Target Hardware Resources->External mode" setting,I used COMPort COM3 instead of the default value COM10.
COM3 is a USB-SERIAL CH340 com port in my host computer. I'm wondering that Simulink even doesn't download the test3_serial_ext.out to my eZdsp board:
I first download a standalone executable model to eZdsp which blink the DS2 LED in the board.
While during I run the test3_serial_ext model under external mode, the LED never stopped. Does that mean simulink not download the test3_serial_ext.out to the eZdsp board and run it?
Any one can tell me why I can't run my test3_serial_ext in external mode ?
Thanks.
  2 件のコメント
shiming liu
shiming liu 2016 年 3 月 30 日
In the Diagnostic Viewer, I found an message:
* Connecting to target... SEVERE: C28xx: Error connecting to the target: (Error -600 @ 0x0) A required dynamic library could not be located. The library isn't on the search path. (Emulation package 5.1.73.0)
But it didn't tell which library, so I don't know how to fix it :(
Walter Roberson
Walter Roberson 2016 年 3 月 30 日
You may need to use Dependency Walker

サインインしてコメントする。

採用された回答

Sumith Sekharan
Sumith Sekharan 2016 年 4 月 4 日
Hi Shiming Liu,
By default example model is configured for F28335 control card with XDS 100 debug interface. If you are using the eZDSP board, select the "$(TARGET_ROOT)/CCS_Config/f28335_eZdsp.ccxml" as the CCS configuration file (Hardware Implementation-> Target Hardware Resources-> Build options -> CCS hardware configuration <file:)>.
If this does not fix the issue please try to connect to your hardware using CCS.
Hope this helps. Thanks, Sumith
  1 件のコメント
shiming liu
shiming liu 2016 年 4 月 4 日
Great! the problem solved!
BTW, too many traps for beginers:(

サインインしてコメントする。

その他の回答 (9 件)

Ahmet yüksel
Ahmet yüksel 2018 年 2 月 6 日
How to connect ezdsp f28335 external mode? Which changed you properly switches on board

Ahmet yüksel
Ahmet yüksel 2018 年 2 月 6 日
How to connect ezdsp f28335 external mode? Which changed you properly switches on board

Venkatesh Chilapur
Venkatesh Chilapur 2018 年 2 月 7 日
For F28335 eZdsp board, the USB JTAG emulation does not support serial operation. Hence, along with USB that is used to download the program, user also needs to connect a serial cable from the DB9 connector on the board for SCI-A to the PC COM port to run the external mode. The PC COM port# is COM1.
I could run the external mode on this board by doing this connection. The default settings for SW2 switch were in place.
  1 件のコメント
Ahmet yüksel
Ahmet yüksel 2018 年 2 月 7 日
What is program name downloaded?

サインインしてコメントする。


Venkatesh Chilapur
Venkatesh Chilapur 2018 年 2 月 7 日
program name: 'c28x_serial_ext'
Please ensure you have a 'DB9 Male to DB9 Female 9C Serial Straight Thru Cable' for serial connection in case of F28335 eZdsp board.
And SW2 switch position are in default state.
  1 件のコメント
Ahmet yüksel
Ahmet yüksel 2018 年 2 月 7 日
Can you give me sample link please thrue cable please

サインインしてコメントする。


Ahmet yüksel
Ahmet yüksel 2018 年 2 月 7 日
ı use this cablo(https://n11scdn.akamaized.net/a1/450/elektronik/kablolar/usb-to-ttl-uart-seri-kablo-pl2303hx-1m__0661419781734161.jpg) rx to tx and tx to rc is connected . and then this picture(attached) is given by device manager
ı select com 1 port and then this problem is still continiues

Venkatesh Chilapur
Venkatesh Chilapur 2018 年 2 月 7 日
Since you are using USB2serial, the COM3 would be your port. Also, try connecting the TX-TX and Rx-Rx and see if this helps. Alternatively, you can first start with SCI operation and ensure basic SCI operation and then move to external mode.

Ahmet yüksel
Ahmet yüksel 2018 年 2 月 7 日
as you said, ı tried tx-tx and rx-rx finally the error is continues . how to firstle use sci operation may you help me please

Venkatesh Chilapur
Venkatesh Chilapur 2018 年 2 月 7 日
You can work from code composer and the serial example from controlsuite.
  1 件のコメント
Ahmet yüksel
Ahmet yüksel 2018 年 2 月 7 日
how to use ccsv7 via external mode with control suite help me

サインインしてコメントする。


Ahmet yüksel
Ahmet yüksel 2018 年 2 月 7 日
tmdscockf28335 is comply with external mode ? instead of ezdsp

Community Treasure Hunt

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

Start Hunting!

Translated by