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 output size, how is that going to fit in 32k?

Other Parts Discussed in Thread: MSP430F5630, MSP430F5438

I've just got myself an Olimex MSP430-5510STK and have tried using CCS 6 to compile the SPPDemo for the CC256x BT module (there is no support for mspgcc which I consider to be a real shame).

The generated objects are 430k in size and the free version apparently won't link that.

error #10234-D: unresolved symbols remain
error #10269: output file "SPPDemo.out" exceeds code size limit
error #10010: errors encountered during linking; "SPPDemo.out" not built

The output isn't telling me how far over the 16k limit it has gone. The above size doesn't even include the 400k+ Bluetopia library, so the total is closer to 900k.

My question is basically this, is it worth even trying to continue down this development path, considering that the F5510 only has 32k of program flash available ?

  • I've moved this to the (DO NOT USE) Dual Mode Bluetooth Forum since I don't know what size this code library/demo should normally build up to. That forum should know more about this software stack though and the sizes involved.

    I will also note that if you use CCS Cloud at https://dev.ti.com/ (I think you need to use firefox or chrome) you may be able to build a larger project. But that won't help you with having only 32kB on the F5510 if the library truly builds that large. Since the original demo looks like it runs on the F5438A which goes up to 256k, you might need a larger device like that.

    Best of luck.
    -Katie
  • Hi,

    Please see: processors.wiki.ti.com/.../CC256x_EVM_Platform

    ***
    Our chipsets CC256x is a dual mode Bluetooth 4.1 solution (BT+BLE) device that supports multiple TI MCUs like: All MSP430 (with flash > 128kB) & Tiva C (Tiva TM4C123x (with Flash >=128KB) and TM4C129x (ALL)) family of devices.
    ***

    Regards,
    Gigi Joseph.
  • I missed the 128kB flash limit. I only require a "simple" dual mode (BT classic SPP and BLE SPPLE ) data communication and the MSP430F5630 has the required 128kB of flash.

    How much of the 128kB is left for the user application after the BT stack is linked?

    Is it feasible to use a simplified HCI interaction that doesn't require the whole stack?
  • HI,

    [Q] How much of the 128kB is left for the user application after the BT stack is linked?
    [A] Just to give you an example for the SPPDemo app (IAR Release for MSP430F5438),

    Stack: ~89K
    User: ~17K
    Common: ~1.5K

    [Q] Is it feasible to use a simplified HCI interaction that doesn't require the whole stack?
    [A] I wouldn't say it is feasible. You will still need to understand/parse the L2CAP/RFCOMM packets. Using the stack is the best way.

    Regards,
    Gigi Joseph.
  • Thank you Gigi for getting those details for me. It would appear that 128k is cutting it very close, I'll have to see how the 5529 works out.