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.

Alternate option instead of Flash2812_API_V210.lib

Other Parts Discussed in Thread: TMS320F2812

Greetings !

I'm currently using "Flash2812_API_V210.lib" within my embedded code (TMS320F2812 MCU) for flash erase needs.

Q1: Is it possible to perform flash erase from within the embedded code, WITHOUT using "Flash2812_API_V210.lib"?

Q2: Can you provide source code for this library ("Flash2812_API_V210.lib")?

Q2: Is there any design reference or technical documentation that describes the key sequence to be performed for erasing F2812 micro controller, if I decide to write my own code for flash programming needs.

Kindly suggest !

Thanks a ton,

Ravi

  • Ravi,

    The C2000 devices are supported with the flash APIs for in-field flash reprogramming.  The APIs have been carefully written, optimized, documented, and tested for this purpose.  The flash programming is complicated, and we do not document the procedure because it is very easy to mess things up and damage the device, or get weak programming charges that leads to premature flash discharge and code failure.  I guess I wonder what the issue is with using the flash APIs.

    To your questions (and pardon the bluntness of my responses for Q1 and Q3):

    >> Q1: Is it possible to perform flash erase from within the embedded code, WITHOUT using "Flash2812_API_V210.lib"?

    No.

    >> Q2: Can you provide source code for this library ("Flash2812_API_V210.lib")?

    Source code for the library is only provided in cases where the customer needs source code traceability for some certification, e.g. , military or medical customers.  The C2000 business unit requires a software license agreement to be signed by the customer.  But if your intent is to modify the code, this is strictly not what the source code is provided for and not allowed by the license agreement.  Source code is provided only for code traceability purposes for those customers that need this.

    >> Q3: Is there any design reference or technical documentation that describes the key sequence to be performed for erasing F2812 micro controller, if I decide to write my own code for flash programming needs.

    No.

     

    Regards,

    David

     

  • David,

    Thanks for your response. I understand that due to complexities involved, TI is not recommending the algorithm to be divulged. In this case, have a couple of more questions:

    Q4. Given that there are no alternatives for "in-field" flash programming other than to use "Flash2812_API_V210.lib" library, can we distribute this library along with our  end product? Is this allowed per the "license agreement"?

    Q5: Given that ours is an avionics product, we are required to divulge the source code for all libraries to FAA (in order to prove the absence of dead/deactivated code). Could you provide more pointers as to whom should we contact for signing up for the "Software License Agreement"?

    Appreciate all your help !

    Thanks a milliion,

    Ravi

  • Ravi,

    >> Q4. Given that there are no alternatives for "in-field" flash programming other than to use "Flash2812_API_V210.lib" library, can we distribute this library along with our  end product? Is this allowed per the "license agreement"?

    By library I assume you mean the .lib file (object code library).   I'm puzzled as to what good that does for you.  I can understand needing to submit the library source to the FAA, but shipping the .lib file with your product seems useless.  Nobody can do anything with the .lib file.  Well regardless, a disclaimer that I am not a lawyer and not authorized to comment on legal matters by TI.  But I wouldn't expect there to be a problem.  But so as not get get both of us in hot water (again, since neither of us are lawyers), I will ask the C2000 marketing people to respond here.  They can confirm with the correct response.

    >> Q5: Given that ours is an avionics product, we are required to divulge the source code for all libraries to FAA (in order to prove the absence of dead/deactivated code). Could you provide more pointers as to whom should we contact for signing up for the "Software License Agreement"?

    Yep, FAA certification is one of the cases where TI will provide the source code, so as you said, you need to sign that Software License Agreement.  I will ask the C2000 marketing people to respond here.  They can give you the information you need.

     

    I assume the email address in your e2e profile is accurate.  The marketing people will possibly respond via private email to you.

     

    Regards,

    David

  • David,

    Thanks again for the prompt response.

    I appreciate all your help and 'm looking forward to the response from the marketing team.

    BTW, my email address in the profile is accurate.

    Thanks much for your help with this.

    -Ravi