TI E2E Community
Code Composer Studio
Code Composer Forum
[On Chip Flash plugin question for C2000]
We have some customers reporting Flash API error #1 when they try to clear / erase / program using flash plugin using CCS3.3v and want to know what that error means. When I checked into Flash API source code, we don't have any error that would cause Flash API error #1. So, how is flash plugin reporting error and what does it mean?
Also, how do I check in CCS4v and CCS5v which revision of Flash API version is being used?
If a post answers your question, please mark it with the "verify answer" button.
Other useful links:
C2000 Getting Started C2000 Flash Common Issues/FAQs Emulation FAQ
I apologize, this thread seems to have fallen through the cracks. Is this still an issue for the customer? I searched in a few places but couldn't find anything on Flash API error #1 either. Are you sure that is the correct error number? A screenshot of the error and more information on when the error occurs might help. Are they using a F28xx or F24xx device?
If a post answers your question please mark it with the "Verify Answer" button
Search the wikis for common questions: CGT, BIOS, CCSv3, CCSv4Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box
Thanks for following up. The customer got the issue resolved by just updating to the latest version of flash plugin.
This issue was observed while using plugin for C28xx device. Does this error occur when the silicon revision doesn;t match? Does the API check for silicon revision, API revision etc?
We don't maintain the CCS3.3 plugin anymore, so I can't give you precise answers, but when I looked at the code a while back, the plugin did check for silicon revision. But I can't tell you exactly what error code 1 means without seeing the actual error dialog that was brought up.
As for your CCSv4/5 question, you will need to look at the name of the algorithm being loaded to determine the version of the API. The files are located at the following locations:
CCSv4 - <installDir>\ccsv4\c2000\flashAlgorithms\
CCSv5 - <installDir>\ccsv5\ccs_base\c2000\flashAlgorithms\
Error message obtained:
Flash API Error #1:
Unknown error during Flash operation.
I believe we should be able to look into plugin code to determine when API reports Error code #1.
None of the Flash API code I looked at before defines error code #1, and I don't have the plugin code anymore.
But "Unknown Error" probably means it is an error that does not come from the list of error codes that it understands.
Are you referring to Flash API code released by C2000 Application engineers (or) are you referring to plugin code which uses the Flash API?
Sorry for the confusion,
I have access to the Flash API code, and I don't see error code #1 defined.
I don't have access to the CCS3.3 plugin code anymore.
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.