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.

Documentation Questions -- cl430 and Post-build commands.

I have two questions, and would be grateful for input on either or both!  In order of priority:

1)  Can anyone point me to some documentation on the cl430.exe program contained in the "tools" folder of my CCS5.2+MSP430 installation?

2)  Is it true that a semicolon can be used to enter multiple commands in the "Post-build" command box, as stated in the Help -- or is the correct symbol an "&"?

Any input appreciated.  I am trying to generate an absolute listing as described in the Assembler User's Guide, without much luck.

  • Curt Carpenter said:

    1)  Can anyone point me to some documentation on the cl430.exe program contained in the "tools" folder of my CCS5.2+MSP430 installation?

    http://processors.wiki.ti.com/index.php/TI_Compiler_Information#Compiler_Manuals

     

    Curt Carpenter said:

    2)  Is it true that a semicolon can be used to enter multiple commands in the "Post-build" command box, as stated in the Help -- or is the correct symbol an "&"?

    I don't know off the top of my head.  I would assume a semicolon would be appropriate.

    If this doesn't work, then I would suggest wrapping the series of commands into a batch file.

  • Thanks for the response Brandon.

    I scanned the index of all of the applicable documents in the link you provided in response to my first question, and found no references to cl430.exe.  For what it's worth, I discovered that you can run cl430.exe from a command line and get a dump of the parameters and switches that this program supports.

    NOTE TO TI:  A mention of this in the docs. would be very helpful, I think.

    With regard to my second question, I've since discovered that the help system is incorrect in prescribing the use of a semicolon between commands in the Post-build edit box.  It does, in fact, need to be an ampersand ("&").

      NOTE TO TI:  Correcting this may save some other poor soul some hours of frustration and trial-and-error.

  • Curt Carpenter said:
    I scanned the index of all of the applicable documents in the link you provided in response to my first question, and found no references to cl430.exe

    See MSP430 Optimizing C/C++ Compiler v 4.1 User's Guide (SLAU132 revision G) page 9

    Curt Carpenter said:

    For what it's worth, I discovered that you can run cl430.exe from a command line and get a dump of the parameters and switches that this program supports.

    NOTE TO TI:  A mention of this in the docs. would be very helpful, I think.

    See the same document, page 18

  • Thanks for the help Archaeologist.

    Many of my difficulties seem to stem from the fact that I'm working in assembler rather than C.  Some of the CCS5.2 defaults seem to be set for C rather than ASM, for example (eg. ELF rather than COFF).  I don't spend much time with the C/C++ docs, although I see now that I may need to.

    I've since found the material I needed re. cl430.exe in SLAU131g  Assembly Language Tools User's Guide, in the index section of that doc. titled "Invoking the Assembler."   An index in this document would have been really, really helpful. The table of contents in the docs doesn't provide the level of detail a real index would. 

    I've definitely confirmed that the Post-build command structure requires an & to separate individual commands, not a ; as indicated in the Help files. 

  • Hi Curt,

    Curt Carpenter said:

    With regard to my second question, I've since discovered that the help system is incorrect in prescribing the use of a semicolon between commands in the Post-build edit box.  It does, in fact, need to be an ampersand ("&").

      NOTE TO TI:  Correcting this may save some other poor soul some hours of frustration and trial-and-error.

    You are correct, it is an ampersand. I can't seem to find the incorrect content in the help. Could you point me to it so I can make sure it is corrected?

    Thanks

    ki

  • Hello Ki:

    Using CCS 5.2.0.00069.

    On main menu, click Help>Search and search for "Post build"

    Select the first topic "C/C++ Properties, Build Steps Tab" that appears in the search results.

    The reference to the semicolon is In this article under "Post-build Steps,"  sub-topic "Command".

    I never would have found this if it wasn't for this forum and the help I got here.  Similarly for the ELF - COFF issue when using the assembler. 

    Thanks to all who helped me with this.  I successfully made an absolute assembler listing last night a 12:00, and am now clearly on my way to becoming an expert :-)

  • Ah the default CDT help. CCS has made some changes from the default CDT behavior. Of course we still have the default CDT help to confuse people :P

    We have plans to remove this help since it is misleading (as you just saw). Need to revamp the whole help actually.

    Thanks for the spot and reporting this.

    ki

  • Given the amount of support literature TI provides just for the MSP430 family, I can imagine that it must be a huge job to keep everything updated, sorted out, checked...

    I get frustrated -- but I'm totally sympathetic with how the problem must look from your side. 

    Thank heavens for the forums!