Hi,
I am trying to store some data from one of the sensors interfaced with CC2541 on the flash memory. I am not sure how much memory space is remaining in the flash memory though.
In the .map file, at the end, it says that I have 14643 bytes remaining.
112 333 bytes of CODE memory (+ 14 643 range fill )
35 bytes of DATA memory (+ 77 absolute )
6 887 bytes of XDATA memory
194 bytes of IDATA memory
8 bits of BIT memory
569 bytes of CONST memory
However, I am using CC2541 with 256KB flash memory and if we do the maths, ((256*1024) - 112333 - 35 - 6887 - 194 - 1 - 569), we get 142125 bytes.
Can someone please explain where am I going wrong?
Also, this data, "END OF CROSS REFERENCE" seems to differ with the "MODULE SUMMARY". Not being able to understand why this is.
126 842 bytes of CODE memory
35 bytes of DATA memory
6 887 bytes of XDATA memory
194 bytes of IDATA memory
8 bits of BIT memory
569 bytes of CONST memory