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.

Stack size

Other Parts Discussed in Thread: MSP430F5529, MSP430F5229, MSP430F5438

Hi,

I only need to use SPP SPPLE.

How can I optimize SPPLEDemo to get it under 128KB?

What is the stack size? It's larger than 128KB?

When I open SPPLEDemo in iar and go Project->Rebuild all i get

 149 726 bytes of CODE  memory
   7 355 bytes of DATA  memory (+ 90 absolute )
  38 647 bytes of CONST memory


that is more than 128KB how can run this on MSP430F5529 and MSP430F5229 they only have 128KB of RAM?

Regards,

David.

  • Hi David,

    The MSP430F5529 board doesn't not have debug output because the debug uart is shared with BT uart. You can used SPPLE_Lite Demo which works with MSP430F5529 . But the other demos which require user interaction will not work as shown in the example Link  http://processors.wiki.ti.com/index.php/CC256x_MSP430_Bluetopia_Basic_SPPLEDemo_APP. To use those demos, you will have to use 5438 board.

  • Hi Sundeep,

    ZeroD said:

    When I open SPPLEDemo in iar and go Project->Rebuild all i get

     149 726 bytes of CODE  memory
       7 355 bytes of DATA  memory (+ 90 absolute )
      38 647 bytes of CONST memory

    For SPPLEDemo_Lite

     105 012 bytes of CODE  memory
       6 232 bytes of DATA  memory (+ 90 absolute )
      22 943 bytes of CONST memory

    that is more than 128KB or i'm looking in wrong place?

    What is the size of SPPLEDemo-Lite?

    Regards,

    David.

  • David,

    Make sure that you set the configuration to Debug or Release MSP430F5529 before you rebuild it from IAR. This is what I got for the Debug Configuration 

    102 796 bytes of CODE memory
    5 902 bytes of DATA memory (+ 74 absolute )
    19 663 bytes of CONST memory

    And for the Release Configuration

    99 368 bytes of CODE memory
    5 902 bytes of DATA memory (+ 74 absolute )
    19 379 bytes of CONST memory

  • Hi,

    I have downloaded bluetopia-bt-sdk and will run it on MSP430F5438 experimentor board and have following queries regarding same:

    1) Will it work without OS?

    2) What OS does it support ? (Like RTOS (versions),Ucos)

    3) Can you give details on memory consumed (RAM and flash) when we run following ?

         - Just HFP

         - HFP with SPP 

         - HFP +SPP+ OS(RTOS)

    4) Is it possible to run multiple profiles on MSP430 ?