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.

MSP430F5419 + Z-stack? + CCS or MSPGCC?

Other Parts Discussed in Thread: MSP430F5419, MSP430F5438, CC2520

Hi all,

This is my first post although I've reading you for a while, and these forums seems like a great resource, so thanks in advance.

I'm in the process of developing a new product and it will be probably based on an MSP430F5419.

I'm trying to get this info from the web/forums/etc, but I can't find complete answers, so I'm asking myself:

- Does the MSP430F5419 support the zstack with a cc2520? (I've found that the MSP430F5438 does, but nothing about the 5419)

- Is it possible to use zstack with CCS?

- Is it possible to use MSPGCC with both MSP430F5419 and zstack?

I have to decide quickly on the development platform, so any advice will be great!

Thanks a lot for your help!

Asier.

  • Asier Azaceta said:
    Does the MSP430F5419 support the zstack with a cc2520? (I've found that the MSP430F5438 does, but nothing about the 5419)

    The only difference between 5419 and 5438 is th esize of flash. 256k for the 5438 one and 128k for the 5419.
    All other specs, available hardware modules etc. are identical.

    So if ZStack (and your application) fits into 128k flash, there's no reason why it shouldn't run.

    Asier Azaceta said:
    - Is it possible to use zstack with CCS?

    I don't know ZStack. Is it available as source? If so, the answer depends on the compiler the source was optimized for. There are many intrinsics and pragmas which differ between compilers. This is to cover things which are not covered by the C language specification.
    If the source is in assembly, it may look totally different for different compilers (not the code itself, but the syntax)

    Asier Azaceta said:
    - Is it possible to use MSPGCC with both MSP430F5419 and zstack?

    I use mspgcc 3.23 (from 12/2008, our older projects were done and tested with this version, so I won't upgrade if not absolutely necessary) on the 5438, but this compiler version does not support the extended address range (the assembler, however, supports it, so I made some own extensions to use the additional range for data).
    There are newer versions in the mspgcc4 branch which support >64k address range, but there are still some problems with automatic code placement (the code flash is not contiguous, as it is interrupted by the vector table at the end of 64k) and with constant data above 64k. But many people are already using it.
    There are still problems with the additional toolchain (flashing tool/debugger) because of the new JTAG format required for the 20 bit addresses. I use the elprotronic software (freeware) for flashing the 5438 and I don't use a debugger at all - it is of very limited use for realtime processing.
    Again, I don't know in which form ZStack comes. If it is a precompiled library, it must fit the format used by the GCC linker. Also, the code needs to be compatible with some assumptions made by the project compiler (such as usage of hardware multiplier in ISRs etc.), but this is normally not a problem.
    If it comes a source code, it must be compatible with the mspgcc way of declaring interrupts and some other non-standard C things or compatible with the AS assembler.

**Attention** This is a public forum