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.

Get_Time / Get_Weather Code size issue

Other Parts Discussed in Thread: MSP430F5529, CC3100

I am attempting to run the demos for the CC3100 with the MSP430F5529 but I keep getting a size limit issue coming up, any help would be great.

Thanks

Kas

  • Kas,

    Are you using CCS or IAR? Licensed or Free version?

    Can you please share the build-console logs?

    BR,

    Praneet

  • Hello Praneet, 

     

    I am using CCS unlicensed, here are the logs.

     

    **** Build of configuration Debug for project get_time ****

    "c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building target: get_time.out'
    'Invoking: MSP430 Linker'
    "c:/ti/ccsv6/tools/compiler/msp430_4.3.1/bin/cl430" -vmspx --abi=coffabi -Ooff -g --define=__MSP430F5529__ --define=__CCS__ --define=_USE_CLI_ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"get_time.map" --heap_size=0 --stack_size=500 --use_hw_mpy=F5 --cinit_hold_wdt=on -i"c:/ti/ccsv6/ccs_base/msp430/include" -i"c:/ti/ccsv6/tools/compiler/msp430_4.3.1/lib" -i"c:/ti/ccsv6/tools/compiler/msp430_4.3.1/include" -i"c:/ti/ccsv6/ccs_base/msp430/lib" -i"c:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" --reread_libs --warn_sections --display_error_number --xml_link_info="get_time_linkInfo.xml" --rom_model -o "get_time.out" "./board/board.obj" "./cli_uart/cli_uart.obj" "./simplelink/source/wlan.obj" "./simplelink/source/spawn.obj" "./simplelink/source/socket.obj" "./simplelink/source/nonos.obj" "./simplelink/source/netcfg.obj" "./simplelink/source/netapp.obj" "./simplelink/source/fs.obj" "./simplelink/source/flowcont.obj" "./simplelink/source/driver.obj" "./simplelink/source/device.obj" "./spi/spi.obj" "./main.obj" "../lnk_msp430f5529.cmd" -l"libc.a"
    <Linking>
    error #10269: output file "get_time.out" exceeds code size limit
    error #10010: errors encountered during linking; "get_time.out" not built

    >> Compilation failure
    gmake: *** [get_time.out] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

    /*_____________________________________________________________________________________*/


    **** Build of configuration Debug for project get_weather ****

    "c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building target: get_weather.out'
    'Invoking: MSP430 Linker'
    "c:/ti/ccsv6/tools/compiler/msp430_4.3.1/bin/cl430" -vmspx --abi=coffabi --code_model=small -Ooff -g --define=__CCS__ --define=__MSP430F5529__ --define=_USE_CLI_ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"get_weather.map" --heap_size=0 --stack_size=500 --use_hw_mpy=F5 --cinit_hold_wdt=on -i"c:/ti/ccsv6/ccs_base/msp430/include" -i"c:/ti/ccsv6/tools/compiler/msp430_4.3.1/lib" -i"c:/ti/ccsv6/tools/compiler/msp430_4.3.1/include" -i"c:/ti/ccsv6/ccs_base/msp430/lib" -i"c:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" --reread_libs --warn_sections --display_error_number --xml_link_info="get_weather_linkInfo.xml" --rom_model -o "get_weather.out" "./board/board.obj" "./cli_uart/cli_uart.obj" "./simplelink/source/wlan.obj" "./simplelink/source/spawn.obj" "./simplelink/source/socket.obj" "./simplelink/source/nonos.obj" "./simplelink/source/netcfg.obj" "./simplelink/source/netapp.obj" "./simplelink/source/fs.obj" "./simplelink/source/flowcont.obj" "./simplelink/source/driver.obj" "./simplelink/source/device.obj" "./spi/spi.obj" "./main.obj" "../lnk_msp430f5529.cmd" -l"libc.a"
    <Linking>
    error #10269: output file "get_weather.out" exceeds code size limit
    error #10010: errors encountered during linking; "get_weather.out" not built

    >> Compilation failure
    gmake: *** [get_weather.out] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

     

  • Looks like you are limited by the code size approved for the free tool.

    Anyway you can procure licensed copy of CCS?

  • I can't buy a licensed copy. Why would TI provide demo code that we can not run ? With SDK 5.1 it was able to run but not with SDK 5.2, any way to get this demo to work ?

    Thanks 

    Kas

  • Kas, we will ofcourse check and see if we can suggest some workaround. In the meanwhile, I will ping few folks to see if we can help your situation from CCS/MSP430 perspective as well

  • Thank you

    Kas

  • Kas, please see details on get free CCS here:

    http://e2e.ti.com/group/universityprogram/educators/f/777/t/165038.aspx  

    Please contact your regional University Program reps with the above link and have him reach out to us and we can enable the CCS license.

    In parallel we will also see if a workaround can be suggested to avoid the error with the free CCS version.

     

    Cheers,
    Gagan

     

  • Hi Kas,

    You can try optimizing the program from "project property -> Build -> MSP430 Compiler -> Optimization"

    Regards,

    Ankur

  • Also, some additional information. Except following four all the CC3100 SDK application are under 16K code size (that is the limitation of the free evaluation version of CCS)

    • Email
    • Get_weather
    • Get_time
    • Xmpp

    Cheers,
    Gagan