MATLAB Answers

Embedded coder connection with F28377D and external mode operation

7 views (last 30 days)
MM
MM on 3 Aug 2016
Answered: shivashankar c on 26 Nov 2019
Hi,
I have the connection between MATLAB and CCSV 6.1.2, to program F28377D micro-controller, the generated PWMs it seems working very well, however, when we deployed the code into the DSP, we got the following error:
1-
In CCS I got this message :
"C28xx_CPU1: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging"
To solve this, we need to reconnect the CCS with DSP and then download the code into the DSP.
In Matlab we got this message:
* 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: 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 6.0.14.5)
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.
2- In the hardware configuration window, when we checked the box of boot from the flash, the generated code is not executable, I mean there is no out file to load into the DSP, in the generated files.
3- We tried to use the external mode, but we got this error when we run the mode:
"Failed to generate all binary outputs"
In external mode, can we setup the SCI to be used with SCI-B not with the SCI-A?
Many Thanks

  0 Comments

Sign in to comment.

Answers (1)

shivashankar c
shivashankar c on 26 Nov 2019
Im also Facing the same issue ? Is there any one with the solution?

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by