Anyone could help to solve this problem please ? I tried to build and deploy from SIMULINK to F28377D.

28 次查看(过去 30 天)
Initiating the executable load sequence on the target hardware using TI Code Composer Studio.
*** User inputs:
Target Configuration: C:\PROGRA~1\MATLAB\R2023a\toolbox\c2b\tic2000/CCS_CO~1/F28377~1.CCX
Program Name: D:\DSP\Sin_Wave\Internal_Sin_Firmware.out
Board Name: *
CPU Name: C28xx_CPU1
Hardware Name: TI_Delfino_F2837xD
Boot From Flash: 0
*** Starting debug session...
SEVERE: IcePick_C_0: Error connecting to the target: (Error -151 @ 0x0) One of the FTDI driver functions used during the connect returned bad status or an error. The cause may be one or more of: no XDS100 is plugged in, invalid XDS100 serial number, blank XDS100 EEPROM, missing FTDI drivers, faulty USB cable. Use the xds100serial command-line utility in the 'common/uscif' folder to verify the XDS100 can be located. (Emulation package 9.5.0.00143)
SEVERE: emulation failure occurred
SEVERE: Error connecting to the target: emulation failure occurred
*** Cannot create a valid debug session for Board/CPU=*/C28xx_CPU1.
Make sure this matches only one board and one CPU.
Exiting...
### Build procedure for Internal_Sin_Firmware aborted due to an error.
Build Summary
Top model targets built:
Model Action Rebuild Reason
=================================================================================
Internal_Sin_Firmware Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date)
Build duration: 0h 0m 18.299s
The following error occurred during deployment to your hardware board:
Error occurred during deployment to the hardware board. Check the 'Download Executable to Hardware' stage above for more details

采纳的回答

Swaraj
Swaraj 2023-12-26
Hi Arifin,
Please try out the following workaround:
  1. First work from CCS to make a connection to the target.
  2. Then use the .ccxml from the CCS in MATLAB and try to establish the connection.
  3. After downloading the code successfully, connect the serial port from the debugger to SCI_A Rx and Tx pins on board from external mode.
Hope it helps!
  1 个评论
Arifin
Arifin 2024-1-1
编辑:Arifin 2024-1-3
Thanks for your answer.
another question,
(1) Is it possible to use serial communication through external downloader xds200 of F28377D ?
i.e in "firmware_file" is sending square wave signal into GPIO as output,
then in "test_file" i want to use serial communication through SCI_A connected to scope block in simulink to get/visualize the output result of square wave.
I did in F28379D Launchpad using usb internal board downloader - successfully, but failled in F28377D with external downloader xds200.
(2) when i plug xds200 external downloader in F28377D, ther is no available of "Texas Instrument Debug Probes" in device manager. how to solve this ?
when i used another board, F28379D Launchpad with on-board downloader of , it shows automatically as picture bellow.

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by