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.

C2000-GANG: TMS320C2000

Part Number: C2000-GANG

can I make a conditional Erase using API or DLL?
example: if the Target is Empty >>then Program only. 
if the target is not empty >>>then Erase Blankcheck then Program and verify 

-that will help me to decrease the time of programming the Target. 

  • I know there are options to program only from the GUI, as you mention there is also an option to do a blank check.  I assume there is an API call that can reproduce the blank check, so you could call this and depending on the return value make a decision to erase or not before programming.

    Inside the GANG install directory there are examples written in C, on how to implement the API calls, as well as background on the different options.

    Best,

    Matthew

  • -Can i make a conditional erase in the API?

  • Yes, if you look in the C2000-GANG.h file here C:\Program Files (x86)\Texas Instruments\C2000-GANG\API-DLL\  there is support for "CFG_SKIP_ERASE_IF_BLANK" on line 534.  This is enabled, so it should be doing this.

    Best,

    Matthew