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: C2000

Part Number: C2000-GANG

Hello TI / Elprotronic,

we want to use a C2000-Gang Programmer in production.

We managed to get it running using the GUI until we get PASS.

We stored it into a project and an image.

 

Now we want to run it automated using a command line interface.

But I cannot find any easy & understandable command line documentation.

How can I simply execute the “GO!” from the GUI as a command from the testsystem controller PC?

Any examples to find on the web?

 

Please help…

 

Thanks in advance

Walter

 

 

 

 

  • Hi Walter,

    Please use dll for it. We provided examples with open source code. See example Cpp_Applications_C2000_DLL or other examples located in directory

    C:\Program Files (x86)\Texas Instruments\C2000-GANG\Examples

    Also see manual - chapter 4 for details.

    Let me know if you have any questions.

    Best regards,
    Gregory Czajkowski
    Elprotronic Inc.

     

  • Hello Gregory,
    a solution using DLL did not work.
    But your suggestion to use script file solved it - now it works.
    Thanks for you support, that gave me the hints/ideas for the breakthrou towards a solution.
    Have fun & success.
    Walter
  • Here's the content of the script file "tms320.c2000gangsf" we used:

    F_NEWRESULTFILENAME result.txt
    F_GO
    F_RESULTTOFILE
    END

    For a final PASS/FAIL decision we analyzed the result.txt.
  • And here's the command line we executed - that does the programming and generates the result.txt:

    C2000-Gang.exe -sf tms320.c2000gangsf

    In the result.txt we simply looked for a PASS of the verify:

    if pos(Line$,"Verified target mask: ")=1 then ! check verify result
    Erg$=Line$[26;2]
    if Erg$="01" then FAIL=0 ! 01=pass, 00=fail
    if Erg$="00" then FAIL=1
    end if