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.

Compiler/MSP430FR2310: How to write program file with CCS

Part Number: MSP430FR2310
Other Parts Discussed in Thread: MSP-FET, UNIFLASH

Tool/software: TI C/C++ Compiler

Hi

I write the MSP430 program to the CPU with CCS. Which file is created by compiling?

I would like to send a data file from our company and have the customer write it in the CPU.

I want to keep the source file (**. C) secret, so I do not want to send it to the customer.

Which compiled file should I send to the customer?

And please tell me how to write to CPU with CCS (MSP-FET).
Thank you.
  • Hi,

    The process of building the file is shown at section 6.2.1.2.3 of the CCS User's Guide

    https://software-dl.ti.com/ccs/esd/documents/users_guide/index.html

    The file that is the output of the build is the "Executable file (.out)". 

    However, to keep the most secrecy you can convert it to one of the formats (.bin, .hex) that does not carry any debug information. Details about this are shown in section 6.1.3.4 of the User's guide above. 

    The method to write this file in your customer's system has to be defined by you, either being via the MSP-FET Debug Probe, via a serial port (BSL), a flasher tool or another method that you find more convenient. 

    The method to write the file to the device via MSP-FET can use Uniflash (a flasher) or Code Composer Studio (a full development environment), while the BSL reference can be seen at the app note below.

    http://www.ti.com/tool/MSPBSL

    Regardless of the method chosen, the implementation to properly secure and harden this process is entirely up to you. 

    Hope this helps,

    Rafael