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.

IAR for MSP430 ,the output txt file question...

Hi guys,

I know there are 2 means to get the output txt. file .(Shows below)

However ,what is the differfence between this two way? 

Thanks.

1)

 

 

2)

  • Hi Benny,

    i think the main difference is for 1) you can't do debugging anymore, because the output format is not suitable for the C-SPY IAR debugger. I would recommend you to use the option 2), since then you can still do debugging with the "main output" which is C-SPY compatible.

  • Hi ihend,

    Thanks for yuor answer.

    I have taken a test and found that IAR outputs  different  txts.file  with the same C code.

    So I want to know  which txt file I should trust on,and why?

  • Hi Benny,

    i made a small test, and you are right, using the optino 2) it seems the code is a little bit bigger. Although i am not 100% sure about his, i think the difference is that in option 2), you have to basically choose the "Debug Information for C-SPY" under "Output" tab, and then click the "Allow C-SPY specific extra output file" check box. Therefore i think in option 2) the code will also include some IAR C-SPY specific debugging information and thus makes the code bigger.

    However i believe both option should work the same.

  • Hi Leo,

    I agree wtih u.  Thanks.

    This post  pasted on IAR forum maybe better.   ^V^  Thanks again.

**Attention** This is a public forum