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.

iar2cce perl script help...

Other Parts Discussed in Thread: MSP430F2012

Hi.  I'm trying to convert the sample USI_I2CSlave.s43 file I downloaded from TI's website from IAR to CCS syntax using the perl script iar2cce.pl that is mentioned on TI's website.  When I run the perl script by typing

perl iar2cce.pl msp430f2012 msp430f2012.h

I get these errors:

Use of uninitialized value $vector_offset in substitution (s///) at iar2cce.pl l
ine 62, <$in_header> line 618.
Use of uninitialized value $vector_offset in substitution (s///) at iar2cce.pl l
ine 62, <$in_header> line 624.
Use of uninitialized value $vector_offset in substitution (s///) at iar2cce.pl l
ine 62, <$in_header> line 630.
Use of uninitialized value $vector_offset in substitution (s///) at iar2cce.pl l
ine 62, <$in_header> line 636.
Use of uninitialized value $vector_offset in substitution (s///) at iar2cce.pl l
ine 62, <$in_header> line 642.
Use of uninitialized value $vector_offset in substitution (s///) at iar2cce.pl l
ine 62, <$in_header> line 648.
Use of uninitialized value $vector_offset in substitution (s///) at iar2cce.pl l
ine 62, <$in_header> line 654.
Use of uninitialized value $vector_offset in substitution (s///) at iar2cce.pl l
ine 62, <$in_header> line 660.
Use of uninitialized value $vector_offset in substitution (s///) at iar2cce.pl l
ine 62, <$in_header> line 666.
Cannot open !readme.txt: No such file or directory at iar2cce.pl line 76.

Not being a perl expert (or even novice) can anyone tell me what should be in the readme.txt file, and if the other "use of unitialized value" errors are significant (and if so, what I should do about them)?

Thanks!

 

  • Problem solved.

    I guessed and created the required file (which actually had a leading '!' char) and put the single line in it:

    USI_I2CSlave.s43

    and the script ran and produced an output file (which still doesn't compile, but is closer).

**Attention** This is a public forum