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/CC2640R2F: Program will not fit into available memory

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2650,

Tool/software: Code Composer Studio

I just purchased a CC2640r2 Launchpad, and started using it. When I ran the SimpleBLE_peripheral program its working fine. Previously I was using CC2650 Launchpad but due to the flash memory issue I purchased a CC2640r2. In cc2650 I interfaced Oled SSD1306 in sensortag program.

As sensortag is based on SIMPLEBLE_peripheral So I decided to add the OLED SSD1306 driver in CC2640r2f SimpleBLE_peripheral Example. But when I added this I got following error

"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/common/cc26xx/ccs/cc26xx_app.cmd", line 292: error #10099-D: program will not fit into available memory.  run placement with alignment fails for section ".stack" size 0x400 .  Available memory

I am not why am I getting this error. Right now I have large amount of flash memory but still getting this error in application stack. I tried to search about the error but I did not find any solution. I switched from CC25650 to CC2640r2 just because of memory but still getting the same error. Kindly look into issue. Thank You

  • Hello Pradeep,
    It seems like the issue is with RAM and not FLASH. Where did you find the OLED driver? Does it use a lot of RAM?
  • I did not find any where I made it myself. How is this possible, really is there any issue with RAM. I was running OLED SSd1306 driver with CC2650 alogwith IMU MPU9250 dmp and gps, I did not get any RAM issue I just got flash issue while running with CC2650.

  • Sir I think the issue is with CC2640r2 SDK. when I am running using simplelink_cc2640r2_sdk_1_50_00_58 sdk I got This RAM error. But for testing purpose As I was not getting any solution so I downloaded the previous version SDK simplelink_cc2640r2_sdk_1_40_00_45 and now with this SDK its working fine. So I think there may be issue with newer version SDK. There May be some bug, But I do not know whats that