Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/CC2640: On Chip OAD program will not fit!?

$
0
0

Part Number:CC2640

Tool/software: Code Composer Studio

Hi all,

I have recently adopted a project that requires me to implement a Bluetooth application that requires the onchip OAD. After loading the OAD application from the most recent version of SDK I very quickly noticed that the program size became a problem and that I was getting the "program will not fit into available memory.  placement with alignment fails for section ".cinit" size 0x4e1". So, after searching TI's forums/wiki there was a number of pages describing the options to enlarge the available programming flash memory, however, on further investigation, I noticed that the actual flash space available on the OAD project was very limited:

Using the memory allocation tab for each of the projects ie,: stack, user app, persistent app and BIM:

simple peripheral oad onchip stack:

Simple peripheral app (unchanged):

Persistent app:

bim oad onchip:

So adding these memory usages: 36864 + 38544 + 43056 + 5220 = 123684

So am I correct in believing that the onchip OAD application leaves 5KB of flash space for user code?

I hope this is not the case as I almost immediately run out of space within a few minutes of coding!

Regards, Lee.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>