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.

CCSv5 Debugger Tool and Flash Programming of MSP430F5436A device

Other Parts Discussed in Thread: MSP430F5436A

I am currently flashing my code to an MSP430F5436A device using CCS v5 (debug tool) via and JTAG and the FET430UIF pod. 

 I have a two-part question:

1.  Is there a setting in CCS that allows to only re-compile only the files that have been updated, instead of re-compiling all of the files before re-programming the device?  It is very time consuming to have to re-compile every source file (there are 15-20 source files thus far) instead of only the file that was updated before launching the debug tool and programming the target device.

2.  Is there a way to read back the program that was just loaded onto the device and then dump it out to a TI.txt format using CCS?  If not, is there a 3rd party utility that could do this using the FET adapter?

Thanks

TJendon

 

  • Hi Terry,

    ok, let me try to answer your questions

    1 - this should be the defaul behaviour, I just verified on my pc.  If only one file is modified, only that file gets recompiled.  Did you change settings?  What version of CCS and compiler are you using?

    2 - there is a free third party tool from Elprotronic (www.elprotronic.com)

    Best Regards,

    Lisa

  • Hi Lisa,

    Regarding #1, I did not change any setting since I don't know where or how to change the setting.  Can you tell me where the settings are changed? 

    For #2, I am running the Lite version of the Elprotronic SW, but I can only do a read-verify with the code file that is being loaded onto the chip, but didn't see where it would read back the data from the chip and acutaly re-create the data into a TI.txt file format.

    Regards,

    TJendon

  • Hi Terry,

    ok, are you sure then that all files are being recompiled?  Because if you have not changed settings, the default is for only modified files to be recompiled.

    Regardging Elprotronic ... there is a Read/Copy button ... this opens things in an editor for you to save.  You should not be blocked generating the .txt and I have used Elprotronic for years to do this.

    Please keep us posted.

    Best Regards,

    Lisa

  • As far as I can tell, it seems like they are being re-compiled because the time it took to re-compile is no-different from the time when I first did a compile of my project with all of the files.  The console window seems to tell me that all the files are being re-compiled.  i am using CCSv5, but not sure if that makes a difference.

    Ok, I will try the read/copy option in the Elprotronic utility.  Thanks for the help.

    Tjendon

  • Hi Terry,

    I used the latest CCS (v5.2) to verify the build.  I created a simple new msp project.  Made sure there was more than one file and verified that only a file I modified got compiled after the initial build.  Are your files large?  Did you want to dig into the settings or this further?

    Best Regards,

    LIsa

  • I have at least 15 files, all in the range of several kB to 100kB depending on the functions. 

    The total code size being comiled is 50k. 

    If you can help identify where the specific compile settings are in CCSv5 that can change from "all files" to only "modified files" that are compiled, that would be helpful. 

    Thank you

  • Hi Terry,

    I have been speaking with some colleagues and actually it appears that this is some type of potential bug that we have seen customers experience once in a while.  So far, however this has not be reproducable or traceable enough to be rooted out.  Do you use source control?  Do you feel there is a chance you could trim your project down to something that still shows this behaviour but you might be able to send us as a small test case?

    Best Regards,
    Lisa

  • Ah ha...a "potential" bug in CCSv5 say it isn't so...LOL.  What about CCSv4.2?  Does it have this "potential" bug?

    We do use source control and not sure if I'll have time to trim down the project anytime soon.  If I do get time, I'll try to revisit this issue.

     

  • Hi Terry,

    yes, this is also in v4 and actually one thought that we had was a potential connection to source control but have not been able to verify or reproduce anything to date.

    Anyhow .. hope the explanation helps.  A potential test case if you get a chance might be of use and all the best with development.

    Best Regards,
    Lisa