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.

Error in multiplication while running contiki OS in msp430fr6989

Other Parts Discussed in Thread: MSP430FR6989

Hi All,

We are facing a strange behavior when running Contiki OS on a MSP430fr6989 launchpad which is a  new platform in contiki.  msp430-elf-gcc v 4.9.1 is the tool chain.

Once the tcpip uip  process is initialized in the code, basic multiplication is giving wrong results.   For eg:  x = 5 , y = 4,  but x * y is giving zero.

In the linker script, I have made changes to map the bss segment to HIFRAM and also disabled vect 32 to allocate more memory to vect 31.

Is this something related to the stack size or  multiplier error ?

Shafy

  • Shafy,

    What compiler version are you using?  Below shows 4.9.1 build 167

    $ ./msp430-elf-gcc.exe --version
    msp430-elf-gcc.exe (GCC) 4.9.1 20140707 (prerelease (msp430-14r1-167)) (GNUPro 14r1)

    There were two issues reported against build 167 that were fixed in build 364 and later.

    Have you tried upgrading to the latest release?  There's a 5.3.0.105 out now as well.

    If you are using a later release than 4..1.167, then please submit a test case that allows us to reproduce the issue and I'll file a ticket.

    Thanks
    Greg