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 plugin question for C2000]

CCS gurus,

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?

Regarwds,

Manoj

 

  • Manoj,

    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?

  • Aarti,

    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?

    Regards,

    Manoj

  • Manoj,

    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\

    Thanks,

    Ricky

  • 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.

    Regards,

    Manoj

  • 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.

  • Ricky,

    Are you referring to Flash API code released by C2000 Application engineers (or) are you referring to plugin code which uses the Flash API?

    Regards,

    Manoj

  • 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.

    Thanks,

    Ricky