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.

Provisioning AP Example CC3100 Stack Size

Other Parts Discussed in Thread: MSP430FR5969

What should the stack size be for running the Provisioning AP example? I had to set it to 500 to run the email example, but now I get a program will not fit error.


Here is the error:

"../lnk_msp430fr5969.cmd", line 174: error #10099-D: program will not fit into available memory.  run placement with alignment fails for section ".stack" size 0xc8 .  Available memory ranges:
   RAM          size: 0x800        unused: 0x15         max hole: 0x15

If I set the stack size down to the incredibly small size of 0x14, the program gets hung up, but that's the only way I can get the example to compile.

Thanks.

  • Hi Salvatorre,

    We haven't tried the provisioning AP example on MSP430FR5969 platform.
    You can try optimizing the application to fit into the available memory. I suggest to comment the 'configureSimpleLinkToDefaultState()' function call and definition. With this stack size of 500 should be good enough.

    Please let us know if this works.

    Regards,
    Ankur
  • Thanks for helping me with the stack size, Ankur. I got it working! There are probably more eloquent ways of doing it, but in the map file I saw that I had plenty of FRAM and almost no RAM. In the command file I set .bss to be placed in FRAM instead of RAM. I'm sure if you worked to reduce global and static variables, you could keep .bss in RAM.