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.

How to save program into Flash memory

Other Parts Discussed in Thread: UNIFLASH

Hi, I am a junior programmer and I want to know how I can save my program (ROM memory) into Flash Memory so that each time I active the power supply of the microcontroller it runs. I understand that this should save simply pushing BSL button but after that, how can I do to run the program automatically with the power supply?


Thank you so much.

  • I am really sorry, my microcontroller is a MSP430F55229.
  • After you have programmed your MSP once it will run the program each time you power it up.
  • Yes, that's true, but is there no way of saving the program and run it without using Code Composer Studio?

    Thank you so much.
  • There are multiple tools which you could use to Program the MSP430 Devices.

    You could either use CCS, Uniflash, MSP430Flasher or IAR - if you are programming using a JTAG connection (There are more options for IDEs/Compilers. These are some of the popular ones. The complete list of IDEs can be found in processor wiki) With these tools you could either write a C or assembler code, compile it and load to the Memory (Flash or Ram). Alternatively, you can also load the code from a txt file, if you already have a compiled code.

    You could also use the BSLScripter, if you are using the BSL to program the memory (please check processor wiki for different hardware and software options available for programming via BSL.

  • To upload an already compiled binary in TI TXT or Intel Hex format (you can pick those as additional linker output in the IDE), there are multiple 'stand-alone' options.
    Besides BSL-scripter, which uses the serial (or USB for USB MSPs) BSL, you can also use the free software from Elprotronics. (the commercial version can even be scripted) to use your FET (original TI FETs only for the free version) for a JTAG upload.

**Attention** This is a public forum