This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

On-Chip flash Programmer error

I've been trying to Erase, Program, verify a program (COFF file) using
On-Chip flash
programmer of Code Composer studio. While doing that the following error
message pops up:

"Flash API Error #14: Unknown Error during Flash operation"

In this case, all the options "under flash programmer settings...." are
checked.
If the display diagnostics option is uncheked, then error message does not
pop up
and it seems the program is uploaded.  But if the proram is run setting a
break point the
following message comes out.

"The target will not be run as the breakpoint could not be moved to a valid
line at .......c line 65.
It has been disabled." Looks like erasing, programming, and
verificationcannot be done using
on-chip flash programmer.

Any help to overcome the above problem would be greatly appreciated.

Related information:

Board: eZdsp320F2808 (Rev B)
CCS :  V3.1
Flash API V3.02
 (Both CCS and Flash API are obtained from Spectrum Digital)

  • I believe there was a bug associated with the Flash Plug In in CCS 3.1, in which no breakpoints can be set when attempting to use the plug in. If a breakpoint is set, you will receive a Flash API Error #14 or Target halted during Flash operation, Flash operation aborted message.

    In order to clear these messages and continue flashing all breakpoints must be disabled. To disable any breakpoints, navigate within CCS to Debug -> Breakpoints and select Remove All. This bug also prevents the Perform Go Main Automatically option from being enabled. This can be disabled by navigating within CCS to Option -> Customize -> Debug Properties. In this tab, ensure that the Perform Go Main Automatically option is disabled.

    Once this is complete, please attempt to program your flash with the Flash Plug In. If you still receive errors, please restart CCS and attempt to program the flash before performing anything else to ensure no breakpoints are set.

  • Still getting the same message even after  disabling the breakpoints and customizing the options. 

    FYI,  the latest version of API is installed.

    Any suggestions?

  • hi Rzman

    see this post

    http://e2e.ti.com/support/microcontrollers/tms320c2000_32-bit_real-time_mcus/f/171/p/85764/296123.aspx#296123