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.

Difference between msp and mspx silicon version in CCS

Other Parts Discussed in Thread: MSP430F2410

I can see msp and mspx silicon version in CCS Properties->CCS Build->MSP430Compiler ->Processor options->Silicon version.

I am using msp430f2410 and ccs 6.0

When i set to msp the code size is 51K  and when change to mspx code size  is reduced to 50K, more than 1KB is reduced.

But when i flash the code (WDT firing is ON) msp version is working as expected but mspx version is not coming to main() function.

It stays in copy_zero_init.c compiler library file forever and it doesn't come to main().

In both the cases my code memory and data memory model is small.

I need to know what is the difference between the two and how i can solve mspx issue to use reduced code size?

  • In summary, you have to use the msp silicon version switch because that is all your device supports.

    The MSP430 CPU core has two main variants called MSP and MSPX.  The main difference is that registers and buses on MSP are 16-bits wide, while registers and buses on MSPX are 20-bits wide.  The compiler switch --silicon_version=[msp or mspx] selects which variant of the CPU core to use.  This choice must match the CPU of the device you use.  A MSP430F2410 device has a MSP CPU core, so you must use --silicon_version=msp.

    This detail is configured for you when you start a project in CCS.  When you indicate which device you are using, CCS automatically chooses the correct setting of the --silicon_version switch.  

    Thanks and regards,

    -George