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.

CCS/EVM430-FR6047: Verify if USS_RUN_ALG_FROM_RAM is working?

Part Number: EVM430-FR6047
Other Parts Discussed in Thread: MSP430WARE

Tool/software: Code Composer Studio

Hi

I need to check if USS_RUN_ALG_FROM_RAM (put in Predefined Symbols in project settings) is actually working or not, because for me it does not change any RAM/FRAM size at all when removing/adding the define (which was my only thought of verifying that it is working). So I'm suspecting that the feature is is not in effect. 

How do you check it?

Thank you in advance!

Thibault 

  • Hi Thibault,

    You need to update the command file processing configuration to see the feature take effect. The impact should be ~3kB additional RAM with the full library and it can be smaller if you use the optimized version of the library.

    By default the FR6047 Template Project memory usage is approximately below:

    You can change the Command File Preprocessing (as shown below)  or by uncommenting the #define __USS_RUN_ALG_FROM_RAM__ in the  linker file:

    Memory usage after the enabling:

    Srinivas

  • Hi,

    Okay yes putting it in the command file processing configuration works. Should it also be in the Predefined Symbols? 

    Seems like there is a problem when the MPU is enabled:

    I can't boot it properly if I have the _MPU_ENABLE at the same time in the command file processing configuration, the msp430 gets stuck in: (CSTART_DECL _c_int00_noargs_mpu(void)). But if I remove the define it works. Can the define be removed if MPU is enabled in the CCS properties->General? Do you also see a problem with the MPU?

    Thanks. 

  • Hi Thibault,

    Yes, I think it should also be in predefined symbols. 

    I do see a problem if _MPU_ENABLE is used along with __USS_RUN_ALG_FROM_RAM__ and MPU is enabled in the CCS properties->General. The Demo projects are not built or tested with MPU enabled. This is expected to be taken care by the user based on generic MSP430ware guidelines.

    Srinivas

**Attention** This is a public forum