Other Parts Discussed in Thread: CC3200, UNIFLASH,
Tool/software: TI-RTOS
Hi,
I'm getting a bin file of ~508K for a program using TIRTOS on the CC3235MODSF. (Which gives a size too big error when uploaded to uniflash) whereas I'd expect something in the 100-200Ko based on the other programs I've written for cc3200 and cc3220.
I suppose it has to do with the cmd file which I took from the examples provided in the sdk.
Do you have any idea what could be causing this?
/* * ======== CC3235SF_LAUNCHXL.cmd ======== */ /* * The starting address of the application. Normally the interrupt vectors * must be located at the beginning of the application. */ #define SRAM_BASE 0x20000000 #define FLASH_BASE 0x01000800 --stack_size=1024 /* C stack is also used for ISR stack */ HEAPSIZE = 0x8000; /* Size of heap buffer used by HeapMem */ MEMORY { /* Bootloader uses FLASH_HDR during initialization */ FLASH_HDR (RX) : origin = 0x01000000, length = 0x7FF /* 2 KB */ FLASH (RX) : origin = 0x01000800, length = 0x0FF800 /* 1022KB */ SRAM (RWX) : origin = 0x20000000, length = 0x00040000 /* 256KB */ } /* Section allocation in memory */ SECTIONS { .dbghdr : > FLASH_HDR .text : > FLASH .TI.ramfunc : {} load=FLASH, run=SRAM, table(BINIT) .const : > FLASH .cinit : > FLASH .pinit : > FLASH .init_array : > FLASH .data : > SRAM .bss : > SRAM .sysmem : > SRAM /* Heap buffer used by HeapMem */ .priheap : { __primary_heap_start__ = .; . += HEAPSIZE; __primary_heap_end__ = .; } > SRAM align 8 .stack : > SRAM(HIGH) }
Thanks,
Cédric