Hello all,
I'm reading through the CC2530 manual, it mentions that the memory space is
"CODE. A read-only memory space for program memory. This memory space addresses 64 KB."
"XDATA. A read-and-write data memory space, access to which usually requires 4–5 CPU instruction cycles. This memory space addresses 64 KB."
"The 32-, 64-, 96-, 128-, or 256-KB flash block provides in-circuit programmable non-volatile program memory for the device, and maps into the CODE and XDATA memory spaces."
The summation of CODE and XDATA will be only 128 KB, so where did the reset of FLASH goes? When I compile the project, it report a 182 034 bytes of CODE memory used. It is not able to fit into 128KB space.
the question is, how should I understand XDATA, IDATA, DATA, CODE, BIT in the IAR report? Is this same terms as those words in CC2530 manual?
182 034 bytes of CODE memory
32 bytes of DATA memory (+ 73 absolute )
7 737 bytes of XDATA memory
192 bytes of IDATA memory
8 bits of BIT memory
200 bytes of CONST memory
I guess I've confused some terminologies here.