Welcome to the C2000™ Microcontrollers Section of the TI E2E Support Community. Ask questions, share knowledge, explore ideas, and help solve problems with fellow engineers. To post a question, click on the forum tab then "New Post".
What are causes of the following scenario whereby the use of the CSM is performed on a device, JTAG will connect to the target but the flash can not be erased or programmed?
When attempting to debug, we are able to connect to the target via JTAG using code composer studio v3.3 (this was the latest-and-greatest at the time of the design), using a signum systems JTAGjet emulator, with the target powered up in boot-wait mode (this is necessary because the code is CSM locked).
Once connected, we attempt to program using the on-chip flash programmer plugin, and we are able to unlock the device by entering the CSM password. When we try to program, however, we get an error “Flash API Error #1: Unknown error during Flash operation.” This happens whether we try erase only or erase, program, verify.
We are able to remove this micro and solder on a known good one taken from another product in the lab, and do not get the error, and the product then functions properly. The flash API is FlashAPIInterface2802xV1_00a.out.
-Using v1.29 of C/C++ Header and Peripherals library for 2 of our TMS320F28027 products-Using v1.00 of C/C++ Header and Peripherals library for a different TMS320F28027 product
-Code security is enabled in all three products.
Please check whether you have the latest version of flash plugin. I would suggest you use Check update advisor (help->update advisor) option available in CCS3.3v.
Check update advisor (help->update advisor)
Look under "chip support packages"
and install the latest 2802x chip support package.
Once you update. Restart your CCS3.3v. This should probably fix your issue.
The Flash API revision (or) Flash algorithm revision number can be found out by checking the following path for different versions of CCS used.
CCSv3 - <InstallDir>\plugins\Flash28xx\Algorithms\2802x\
CCSv4 - <installDir>\ccsv4\c2000\flashAlgorithms\
CCSv5 - <installDir>\ccsv5\ccs_base\c2000\flashAlgorithms\
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.