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/MSP430FR2433: MSP430FR2433 Rom Driverlib error

Part Number: MSP430FR2433
Other Parts Discussed in Thread: MSP430WARE,

Tool/software: Code Composer Studio

HI TI,

I had some problems,

There is no error when I use msp430ware version 3.7

Using the latest version of msp430ware 3.8, no matter which project is compiled, there is a code model large error, but after I disable the relevant. H file, the compilation is normal

After analysis, version 3.7 does not have a function that supports the ROM function, so no error is reported,

Would you like to ask if msp430fr2433 does not support ROM lib

Thanks.

  • Hello,

    MSP430FR2433 supports ROM lib for version 3.8. Which header file is causing issues? Can you ensure that your driverlib project is using the "lnk_msp430fr2433.cmd" command linker file, and that the Predefined Symbols in the project Properties includes __MSP430FR2433__?

  • HI TI

    If you use "small code model", more errors will appear

    Thanks

  • Supplementary pictures

  • Hello,

    I noticed that your version of MSP430Ware includes a different ROM driverlib header file than the one included in the most recent version of MSP430Ware (rom_driverlib_fr2676.h). This header file does not include any errors for not supporting a large code model and compiles normally using the same Processor Option settings. 

    Are you using the most recent version of MSP430Ware?

  • Thank you for your reply,

    I use "msp430ware"_ 3_ 80_ 12_ 03 "he does not have the ROM driverlib header file of fr2433.

    How to solve this problem, or is it because 2433 does not support ROM mode.

  • Hello,

    Try replacing your ROM driverlib header file with the "rom_driverlib_fr2676.h" header file from Resource Explorer.

    In the most recent revision of MSP430Ware, it shows that there are 3 ROM driverlib header files included in the recent release. I'm unsure of why I only have the fr2676 header file or you only have the fr253x_fr263x header file, but try replacing yours with the fr2676.h file from the link and see if the project compiles with the large data model. 



  • Thank you for your reply,

    I have the following questions, please solve them

    1. The chip I use is msp430fr2433, not fr2676.

    2. I use "msp430ware"_ 3_ 80_ 12_ 03 "is with" ROM "_ driverlib_ In the macro definition header file, I pointed to "ROM"_ driverlib_ Fr2676. H "and recompile, but there are still errors

    3. Then I opened the "large data model" and he reported more errors

    4. Does fr2433 support "ROM drivelib" in CCS because I don't see a list of models that support 2433

    Hope you can compile the successful page screenshot, or upload the attachment, I want to learn this compilation skill with you.

  • Hello,

    I am getting some more help internally on this issue and will get you a detailed reply by tomorrow. 

  • HI ,

    Thank you for the support of Texas Instruments, waiting for your reply.

    Regards,

    Shiwei Zhao

  • Hi Shiwei,

    Just got some valuable information from the team.

    Although I was able to get the project to compile, the actual model supported by this ROM Driverlib is small. The ROM driverlib doesn't support large code models and it cannot be changed. In order for the compiler to know if it should call either the ROM function (if available) or the function in FRAM, the functions should be called as MAP_*. You can use either the large code model with FRAM driverlib, or the small code model using MAP.

    I have attached an example project that uses the small code model for MSP430FR2433 to use with Driverlib. The password is "msp430". Feel free to use this example to get your application working.mpy32_ex12_32bitUnsignedMultiplyAccum.zip


  • HI Aaron Barrera,

    1. Thank you for the project you sent. I have successfully compiled the code model and downloaded it successfully.

    2. Did you change the ". CMD" file or "ROM" file in this project_ headers/rom_ driverlib_ fr253x_ "Fr263x. H", I hope you can tell us the general changes. I hope to learn from him.

    Regards,

    Shiwei Zhao

  • Hi Shiwei,

    I did not change any parameters from the example project I provided to get to compile. In general, as long as "driverlib.h" is included and all files are in the correct paths, then the project can use FRAM (no prefix), ROM (ROM_ prefix) or "the best option" (MAP_ prefix). However if you want to use ROM (as MAP_ or ROM_) you just have to be sure that you use the right memory model in the project settings.

  • HI Aaron Barrera,

    I imported the same project file from "msp430ware3.8". The default chip is "fr4133". I did the following work:

    1. I changed the default chip to the following parameter "properties-general-variant-fr2433"

    2、Properties-Processor-Code_ model&data_ model SET “Small”

    3. After compiling, the following problems occurred. I suspect that there is a problem with the file link of the source code, but I can't find out where to modify it

    warning #10366-D: automatic library build: using library "C:\ti\ccs1011\ccs\tools\compiler\ti-cgt-msp430_20.2.3.LTS\lib\rts430x_sc_sd_eabi.lib" for the first time, so it must be built. This may take a few minutes.
    >> ERROR: cannot run c:\ti\ccs1011\ccs\tools\compiler\tib431~1.lts\bin\acpia430.exe - Permission denied
    gmake.exe[2]: *** [c:/users/xdone/appdata/local/temp/ti_mkl~3/obj/e_pow.c.obj] Error 1

    Regards,

    Shiwei Zhao

  • If you run "CCS" as an administrator, the program can compile successfully

**Attention** This is a public forum