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 load source code from CCSv 5.5.0.00077 to msp430f47197?

Other Parts Discussed in Thread: MSP430F47197, MSP-FET

i just started using the msp430f47197 and i  have found only the instructions at the slaaa409a.pdf but these were not helpful.

I downloaded the source code slaaa409a.zip but i cannot find how to load the source code

using either CCSv 5.5.0.00077 or the latest version of iar embedded workbench.

Can anyone help me?

  • Source code is meant for CCS or similar things on a PC. None of the MSP430 can use source code directly. Normally people use CCS to compile/assemble/link the source code into MSP430 machine code image. The image can then be download into MSP430 through a hardware that connects between the PC and the MSP430.

    You may be able to find more structured instructions from a book or something. It took me more then 10 years, and I still get stuck very often. (But I am old and slow. So are my PC and internet connection.)

  • well the instructions were given for the iar embedded workbench.are there any instructions about how to use ccs to load the source code on the msp430f41197?

  • George Papakonstantinou said:

    well the instructions were given for the iar embedded workbench.are there any instructions about how to use ccs to load the source code on the msp430f41197?

    First, to build the project, then your source code can be compile into binary or hex file. Then click debug button. The compiled file therefore be loaded onto the board. Press the reset button on the msp430 or clike resume, your code then runs.

  • First of all, MSP430 cannot do anything with source code. Download source code into MSP430 makes no sense at all. PC programs such as CCS or IAR can use source code to build something (called object code) that MSP430 is able to understand and execute. If instructions for IAR tells you that you can download source code to MSP430, they were wrong (or you misunderstood them). For CCS, read the instructions of CCS.

    Beside the PC software CCS or IAR, you also need a hardware to connect that PC to the MSP430 in order to download object code into MSP430. Both CCS and IAR can utilize TI's MSP-FET: MSP430 Flash Emulation Tool hardware interface between PC and MSP430.

  • I guess, the problem here is that the source code does not come in a way (structure) to directly use it in CCS.

    If the ZIP file contains a CCS project folder, it can be imported from inside CCS (“import existing project into workspace” or so).

    Another way is to create a new project and just copy the source files to it. However, there might be a specialized linker script that has to be coped too, and perhaps some non-default project options (like using this linker script instead of the default). So some additional information (project documentation) or some analytic experience might be required.

    But importing projects from different compiler versions bears some room for problems too.

**Attention** This is a public forum