Other Parts Discussed in Thread: CC1310
Hi Sir,
I use CC1310 launchpad and the other board with CC1310F32 for HW test. The FW code base on TI-RTOS example code and use IAR compiller .
The code is work well in CC1310 launchpad(F128) but I can't programming to CC1310F32.
I check the code size about ~31K in MAP file and show as below.
23 027 bytes of readonly code memory
8 537 bytes of readonly data memory
18 155 bytes of readwrite data memory
Modify setting for CC1310F32
The code size 23027 + 8537 = 31564 . It seems to be fine to programming to CC1310F32.
I modify the Target device to CC1310F32 in IAR Options setting and I change the Flash define setting in CC1310DK_7XD.icf.
Modify the link file for 32K flash size as below , the compile error occurred.
//--------------------------
/*###ICF### Section handled by ICF editor, don't touch! ****/
/*-Editor annotation file-*/
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
/*-Specials-*/
define symbol __ICFEDIT_intvec_start__ = 0;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x00000000;
/*define symbol __ICFEDIT_region_ROM_end__ = 0x0001FFFF; */
/* for 32K flash setting*/
define symbol __ICFEDIT_region_ROM_end__ = 0x00007FFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
define symbol __ICFEDIT_region_RAM_end__ = 0x20004FFF;
/*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x800;
define symbol __ICFEDIT_size_heap__ = 0x1000;
/**** End of ICF editor section. ###ICF###*/
//---------------------------------------
If i change the setting to 0x8BFF the compile will success, and the Hex file will over 0x7FFF. So I cannot programming into CC1310F32.
Did i miss something ? Why the compile file exceed MAP file over ~4K size ?
How to estimate real flash size of CC1310 if the Map file is not real?
BR,
Jack
