This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Link error in CCE

Other Parts Discussed in Thread: MSP430F435, CSD

Hi i try a small application with C mixed assembly in CCE. There is no errors but in Link phase.

following is error message.

'Invoking: MSP430 Linker v3.0'
"C:/Program Files/Texas Instruments/CC Essentials v3.1/tools/compiler/MSP430/bin/cl430" -z "./csd_mul_float.obj" "./horner_mul_float.obj" "./multiply_float.obj"  --reread_libs --warn_sections --search_path="C:/Program Files/Texas Instruments/CC Essentials v3.1/tools/compiler/MSP430/lib" --search_path="C:/Program Files/Texas Instruments/CC Essentials v3.1/tools/compiler/MSP430/include"  --library=../lnk_msp430f435.cmd --library="rts430.lib" --rom_model --heap_size=80 --stack_size=80 -o "EfficientCalc.out"
<Linking>
"../lnk_msp430f435.cmd", line 262: error: run placement fails for object
   ".bss"

what could be the possible problems for my application?

Thanks in advanced

Kebin

  • There is a thread with similar results that you are observing.  Please take a look at this thread.

    http://e2e.ti.com/forums/p/1826/6744.aspx#6744

    It is likely the .bss section is too large for the amount of memory declared in the linker command file (lnk_msp430f435.cmd) and memory available on that device.

  • I have tried to make the link list file, but i cann't see how much the .bss section is now. it only list the line number or page number. Even though it is over amount of memory, how to set the size of .bss section?  or i can only say my hardware cann't support so?

  • The map file is the important report to determine the size of any section in your code base.  It will also tell you what did and did not get allocated.
    An example is below:

    MEMORY CONFIGURATION

             name            origin    length      used     unused   attr    fill
    ----------------------  --------  ---------  --------  --------  ----  --------
      SFR                   00000000   00000010  00000000  00000010  RWIX
      PERIPHERALS_8BIT      00000010   000000f0  00000000  000000f0  RWIX
      PERIPHERALS_16BIT     00000100   00000100  00000000  00000100  RWIX
      RAM                   00000200   00000400  00000058  000003a8  RWIX
      INFOD                 00001000   00000040  00000000  00000040  RWIX
      INFOC                 00001040   00000040  00000000  00000040  RWIX
      INFOB                 00001080   00000040  00000000  00000040  RWIX
      INFOA                 000010c0   00000040  00000000  00000040  RWIX
      FLASH                 00008000   00007fde  0000010c  00007ed2  RWIX
      INT00                 0000ffe0   00000002  00000000  00000002  RWIX
      INT01                 0000ffe2   00000002  00000000  00000002  RWIX
      INT02                 0000ffe4   00000002  00000000  00000002  RWIX
      INT03                 0000ffe6   00000002  00000000  00000002  RWIX
      INT04                 0000ffe8   00000002  00000000  00000002  RWIX
      INT05                 0000ffea   00000002  00000000  00000002  RWIX
      INT06                 0000ffec   00000002  00000000  00000002  RWIX
      INT07                 0000ffee   00000002  00000000  00000002  RWIX
      INT08                 0000fff0   00000002  00000000  00000002  RWIX
      INT09                 0000fff2   00000002  00000000  00000002  RWIX
      INT10                 0000fff4   00000002  00000000  00000002  RWIX
      INT11                 0000fff6   00000002  00000000  00000002  RWIX
      INT12                 0000fff8   00000002  00000000  00000002  RWIX
      INT13                 0000fffa   00000002  00000000  00000002  RWIX
      INT14                 0000fffc   00000002  00000000  00000002  RWIX
      RESET                 0000fffe   00000002  00000002  00000000  RWIX


    SECTION ALLOCATION MAP

     output                                  attributes/
    section   page    origin      length       input sections
    --------  ----  ----------  ----------   ----------------
    .pinit     0    00008000    00000000     UNINITIALIZED

    .bss       0    00000200    00000008     UNINITIALIZED
                      00000200    00000004     rts430.lib : _lock.obj (.bss)
                      00000204    00000004                : exit.obj (.bss)

    .stack     0    000005b0    00000050     UNINITIALIZED
                      000005b0    00000002     rts430.lib : boot.obj (.stack)
                      000005b2    0000004e     --HOLE--

    .mysect    0    00008000    0000000e    
                      00008000    0000000e     main.obj (.mysect:main)

    .text      0    0000800e    000000e2    
                      0000800e    00000040     rts430.lib : autoinit.obj (.text:_auto_init)
                      0000804e    0000002a                : exit.obj (.text:exit)
                      00008078    00000022                : args_main.obj (.text:_args_main)
                      0000809a    0000001e                : boot.obj (.text:_c_int00)
                      000080b8    00000012                : memcpy.obj (.text:memcpy)
                      000080ca    00000010                : epilog.obj (.text)
                      000080da    0000000c     main.obj (.text:myfunc)
                      000080e6    00000004     rts430.lib : pre_init.obj (.text:_system_pre_init)
                      000080ea    00000004                : exit.obj (.text:abort)
                      000080ee    00000002                : _lock.obj (.text:_nop)

    .cinit     0    000080f0    0000001c    
                      000080f0    0000000c     rts430.lib : _lock.obj (.cinit)
                      000080fc    0000000c                : exit.obj (.cinit)
                      00008108    00000004     --HOLE-- [fill = 0]

    .reset     0    0000fffe    00000002    
                      0000fffe    00000002     rts430.lib : boot.obj (.reset)

     

  • I found this on my mapfile:

    MEMORY CONFIGURATION

             name            origin    length      used     unused   attr    fill
    ----------------------  --------  ---------  --------  --------  ----  --------
      SFR                   00000000   00000010  00000000  00000010  RWIX
      PERIPHERALS_8BIT      00000010   000000f0  00000000  000000f0  RWIX
      PERIPHERALS_16BIT     00000100   00000100  00000000  00000100  RWIX
      RAM                   00000200   00000200  000001c0  00000040  RWIX
      INFOB                 00001000   00000080  00000000  00000080  RWIX
      INFOA                 00001080   00000080  00000000  00000080  RWIX
      FLASH                 0000c000   00003fe0  000025c4  00001a1c  RWIX
      INT00                 0000ffe0   00000002  00000000  00000002  RWIX
      INT01                 0000ffe2   00000002  00000000  00000002  RWIX
      INT02                 0000ffe4   00000002  00000000  00000002  RWIX
      INT03                 0000ffe6   00000002  00000000  00000002  RWIX
      INT04                 0000ffe8   00000002  00000000  00000002  RWIX
      INT05                 0000ffea   00000002  00000000  00000002  RWIX
      INT06                 0000ffec   00000002  00000000  00000002  RWIX
      INT07                 0000ffee   00000002  00000000  00000002  RWIX
      INT08                 0000fff0   00000002  00000000  00000002  RWIX
      INT09                 0000fff2   00000002  00000000  00000002  RWIX
      INT10                 0000fff4   00000002  00000000  00000002  RWIX
      INT11                 0000fff6   00000002  00000000  00000002  RWIX
      INT12                 0000fff8   00000002  00000000  00000002  RWIX
      INT13                 0000fffa   00000002  00000000  00000002  RWIX
      INT14                 0000fffc   00000002  00000000  00000002  RWIX
      RESET                 0000fffe   00000002  00000002  00000000  RWIX

    SECTION ALLOCATION MAP

     output                                  attributes/
    section   page    origin      length       input sections
    --------  ----  ----------  ----------   ----------------
    .bss       0    00000000    0000023c     FAILED TO ALLOCATE
    .pinit     0    0000c000    00000000     UNINITIALIZED

    I think the error of ".bss" section is from "failed to allocate" not the oversize.  How i can do next?

  • The linker error is due to the fact that the linker failed to allocate the .bss section to a memory, which is due to the fact that the .bss section is larger than the available RAM on the device.

    In your Section Allocation Map, the .bss is of size 0x023c bytes.  In the Memory Configuration summary, the amount of RAM declared is 0x0200 bytes.

    Later in your map file report, you should see what comprises the .bss section and where the big items are.  In this scenario you present, there isn't enough room for the .stack, .sysmem sections, etc.

  • ******************************************************************************
           MSP430 Evaluation Linker PC v3.1.0                     
    ******************************************************************************
    >> Linked Mon May 04 16:49:59 2009

    OUTPUT FILE NAME:   <EfficientCalc.out>
    ENTRY POINT SYMBOL: "_c_int00"  address: 0000e2e2


    MEMORY CONFIGURATION

             name            origin    length      used     unused   attr    fill
    ----------------------  --------  ---------  --------  --------  ----  --------
      SFR                   00000000   00000010  00000000  00000010  RWIX
      PERIPHERALS_8BIT      00000010   000000f0  00000000  000000f0  RWIX
      PERIPHERALS_16BIT     00000100   00000100  00000000  00000100  RWIX
      RAM                   00000200   00000200  000001c0  00000040  RWIX
      INFOB                 00001000   00000080  00000000  00000080  RWIX
      INFOA                 00001080   00000080  00000000  00000080  RWIX
      FLASH                 0000c000   00003fe0  000025c4  00001a1c  RWIX
      INT00                 0000ffe0   00000002  00000000  00000002  RWIX
      INT01                 0000ffe2   00000002  00000000  00000002  RWIX
      INT02                 0000ffe4   00000002  00000000  00000002  RWIX
      INT03                 0000ffe6   00000002  00000000  00000002  RWIX
      INT04                 0000ffe8   00000002  00000000  00000002  RWIX
      INT05                 0000ffea   00000002  00000000  00000002  RWIX
      INT06                 0000ffec   00000002  00000000  00000002  RWIX
      INT07                 0000ffee   00000002  00000000  00000002  RWIX
      INT08                 0000fff0   00000002  00000000  00000002  RWIX
      INT09                 0000fff2   00000002  00000000  00000002  RWIX
      INT10                 0000fff4   00000002  00000000  00000002  RWIX
      INT11                 0000fff6   00000002  00000000  00000002  RWIX
      INT12                 0000fff8   00000002  00000000  00000002  RWIX
      INT13                 0000fffa   00000002  00000000  00000002  RWIX
      INT14                 0000fffc   00000002  00000000  00000002  RWIX
      RESET                 0000fffe   00000002  00000002  00000000  RWIX


    SECTION ALLOCATION MAP

     output                                  attributes/
    section   page    origin      length       input sections
    --------  ----  ----------  ----------   ----------------
    .bss       0    00000000    0000023c     FAILED TO ALLOCATE
    .pinit     0    0000c000    00000000     UNINITIALIZED

    .cio       0    00000200    00000120     UNINITIALIZED
                      00000200    00000120     rts430.lib : trgmsg.obj (.cio)

    .sysmem    0    00000320    00000050     UNINITIALIZED
                      00000320    00000004     rts430.lib : memory.obj (.sysmem)
                      00000324    0000004c     --HOLE--

    .stack     0    000003b0    00000050     UNINITIALIZED
                      000003b0    00000002     rts430.lib : boot.obj (.stack)
                      000003b2    0000004e     --HOLE--

    .text      0    0000c000    000023f8    
                      0000c000    00000216     rts430.lib : _printfi.obj (.text:_setfield)
                      0000c216    000001b6                : _printfi.obj (.text:_printfi)
                      0000c3cc    00000168                : _printfi.obj (.text:ecvt)
                      0000c534    00000160                : _printfi.obj (.text:fcvt)
                      0000c694    00000154                : _printfi.obj (.text:_pconv_e)
                      0000c7e8    00000118                : fs_add.obj (.text)
                      0000c900    00000102                : _printfi.obj (.text:_pconv_g)
                      0000ca02    00000100                : _printfi.obj (.text:_getarg_diouxp)
                      0000cb02    000000fe                : _printfi.obj (.text:_pproc_fwp)
                      0000cc00    000000f2                : _printfi.obj (.text:_pproc_diouxp)
                      0000ccf2    000000e2                : fputs.obj (.text:fputs)
                      0000cdd4    000000be                : setvbuf.obj (.text:setvbuf)
                      0000ce92    000000ac                : _printfi.obj (.text:_pproc_str)
                      0000cf3e    000000aa                : fs_mpy.obj (.text)
                      0000cfe8    000000a8                : memory.obj (.text:malloc)
                      0000d090    0000009a                : fs_div.obj (.text)
                      0000d12a    00000096                : _printfi.obj (.text:_ltostr)
                      0000d1c0    00000090                : _printfi.obj (.text:_mcpy)
                      0000d250    0000008a                : trgdrv.obj (.text:HOSTlseek)
                      0000d2da    00000086                : _printfi.obj (.text:_pproc_fge)
                      0000d360    00000086                : fputc.obj (.text:fputc)
                      0000d3e6    00000084                : ltoa.obj (.text:ltoa)
                      0000d46a    00000080                : memory.obj (.text:free)
                      0000d4ea    0000007e                : fs_tol.obj (.text)
                      0000d568    0000007a                : _printfi.obj (.text:_ecpy)
                      0000d5e2    0000007a                : _io_perm.obj (.text:_wrt_ok)
                      0000d65c    0000007a     multiply_float.obj (.text:main)
                      0000d6d6    00000074     rts430.lib : _printfi.obj (.text:_pconv_f)
                      0000d74a    0000006e                : lsr32.obj (.text)
                      0000d7b8    0000006a                : trgdrv.obj (.text:HOSTrename)
                      0000d822    00000068                : fclose.obj (.text:fclose)
                      0000d88a    00000068                : fs_toi.obj (.text)
                      0000d8f2    00000064                : trgdrv.obj (.text:HOSTopen)
                      0000d956    00000064                : fseek.obj (.text:fseek)
                      0000d9ba    00000062                : fflush.obj (.text:_doflush)
                      0000da1c    00000060                : trgdrv.obj (.text:HOSTwrite)
                      0000da7c    0000005e                : trgdrv.obj (.text:HOSTread)
                      0000dada    00000058                : div32u.obj (.text)
                      0000db32    00000056                : lowlev.obj (.text:getdevice)
                      0000db88    00000056                : lowlev.obj (.text:lseek)
                      0000dbde    00000054                : atoi.obj (.text:atoi)
                      0000dc32    0000004e                : _printfi.obj (.text:_fcpy)
                      0000dc80    0000004e                : lsl32.obj (.text)
                      0000dcce    0000004a                : lowlev.obj (.text:close)
                      0000dd18    0000004a                : fs_cmp.obj (.text)
                      0000dd62    0000004a                : fs_ltof.obj (.text)
                      0000ddac    00000048                : lowlev.obj (.text:write)
                      0000ddf4    00000046                : fs_tou.obj (.text)
                      0000de3a    00000044                : _printfi.obj (.text:_pproc_fflags)
                      0000de7e    00000042                : trgdrv.obj (.text:HOSTclose)
                      0000dec0    00000042     horner_mul_float.obj (.text)
                      0000df02    00000040     rts430.lib : trgdrv.obj (.text:HOSTunlink)
                      0000df42    00000040                : autoinit.obj (.text:_auto_init)
                      0000df82    00000040                : div32s.obj (.text)
                      0000dfc2    0000003c                : fopen.obj (.text:_cleanup)
                      0000dffe    0000003c     csd_mul_float.obj (.text)
                      0000e03a    0000003a     rts430.lib : memory.obj (.text:minit)
                      0000e074    00000038                : strncpy.obj (.text:strncpy)
                      0000e0ac    00000036                : fs_itof.obj (.text)
                      0000e0e2    00000034                : _printfi.obj (.text:_div)
                      0000e116    00000032                : lowlev.obj (.text:finddevice)
                      0000e148    0000002e                : trgmsg.obj (.text:writemsg)
                      0000e176    0000002c                : printf.obj (.text:printf)
                      0000e1a2    0000002c                : trgmsg.obj (.text:readmsg)
                      0000e1ce    0000002c                : lsl16.obj (.text)
                      0000e1fa    0000002a                : exit.obj (.text:exit)
                      0000e224    00000028                : memccpy.obj (.text:memccpy)
                      0000e24c    00000028                : lowlev.obj (.text:unlink)
                      0000e274    00000026     multiply_float.obj (.text:mul_c)
                      0000e29a    00000026     rts430.lib : mult32.obj (.text)
                      0000e2c0    00000022                : args_main.obj (.text:_args_main)
                      0000e2e2    0000001e                : boot.obj (.text:_c_int00)
                      0000e300    00000018                : strchr.obj (.text:strchr)
                      0000e318    00000018                : strcmp.obj (.text:strcmp)
                      0000e330    00000016                : div16u.obj (.text)
                      0000e346    00000016                : strcpy.obj (.text:strcpy)
                      0000e35c    00000014                : memchr.obj (.text:memchr)
                      0000e370    00000014                : memset.obj (.text:memset)
                      0000e384    00000014                : mult16.obj (.text)
                      0000e398    00000012                : memcpy.obj (.text:memcpy)
                      0000e3aa    00000012                : strlen.obj (.text:strlen)
                      0000e3bc    00000010                : epilog.obj (.text)
                      0000e3cc    0000000a                : abs.obj (.text:abs)
                      0000e3d6    0000000a                : fs_neg.obj (.text)
                      0000e3e0    00000006                : printf.obj (.text:_outc)
                      0000e3e6    00000004                : printf.obj (.text:_outs)
                      0000e3ea    00000004                : pre_init.obj (.text:_system_pre_init)
                      0000e3ee    00000004                : exit.obj (.text:abort)
                      0000e3f2    00000004                : remove.obj (.text:remove)
                      0000e3f6    00000002                : _lock.obj (.text:_nop)

    .const     0    0000e3f8    00000132    
                      0000e3f8    00000101     rts430.lib : ctype.obj (.const:_ctypes_)
                      0000e4f9    00000001     --HOLE-- [fill = 0]
                      0000e4fa    00000024                : _printfi.obj (.const:.string)
                      0000e51e    0000000a     multiply_float.obj (.const:.string)
                      0000e528    00000002     rts430.lib : fputs.obj (.const:.string)

    .cinit     0    0000e52a    0000009a    
                      0000e52a    00000034     rts430.lib : lowlev.obj (.cinit)
                      0000e55e    0000002e                : defs.obj (.cinit)
                      0000e58c    0000000e     multiply_float.obj (.cinit)
                      0000e59a    0000000c     rts430.lib : _lock.obj (.cinit)
                      0000e5a6    0000000c                : exit.obj (.cinit)
                      0000e5b2    00000006                : fopen.obj (.cinit)
                      0000e5b8    00000006                : memory.obj (.cinit)
                      0000e5be    00000002     --HOLE-- [fill = 0]
                      0000e5c0    00000004     (.pad.cinit) [fill = 0]

    .reset     0    0000fffe    00000002    
                      0000fffe    00000002     rts430.lib : boot.obj (.reset)


    GLOBAL SYMBOLS: SORTED ALPHABETICALLY BY Name

    address    name
    --------   ----
    00000000   .bss
    0000c000   .text
    000001a0   ADC12CTL0
    000001a2   ADC12CTL1
    000001a6   ADC12IE
    000001a4   ADC12IFG
    000001a8   ADC12IV
    00000080   ADC12MCTL0
    00000081   ADC12MCTL1
    0000008a   ADC12MCTL10
    0000008b   ADC12MCTL11
    0000008c   ADC12MCTL12
    0000008d   ADC12MCTL13
    0000008e   ADC12MCTL14
    0000008f   ADC12MCTL15
    00000082   ADC12MCTL2
    00000083   ADC12MCTL3
    00000084   ADC12MCTL4
    00000085   ADC12MCTL5
    00000086   ADC12MCTL6
    00000087   ADC12MCTL7
    00000088   ADC12MCTL8
    00000089   ADC12MCTL9
    00000140   ADC12MEM0
    00000142   ADC12MEM1
    00000154   ADC12MEM10
    00000156   ADC12MEM11
    00000158   ADC12MEM12
    0000015a   ADC12MEM13
    0000015c   ADC12MEM14
    0000015e   ADC12MEM15
    00000144   ADC12MEM2
    00000146   ADC12MEM3
    00000148   ADC12MEM4
    0000014a   ADC12MEM5
    0000014c   ADC12MEM6
    0000014e   ADC12MEM7
    00000150   ADC12MEM8
    00000152   ADC12MEM9
    00000046   BTCNT1
    00000047   BTCNT2
    00000040   BTCTL
    0000e3ee   C$$EXIT
    0000e172   C$$IO$$
    00000059   CACTL1
    0000005a   CACTL2
    0000005b   CAPD
    00000128   FCTL1
    0000012a   FCTL2
    0000012c   FCTL3
    00000053   FLL_CTL0
    00000054   FLL_CTL1
    0000de7e   HOSTclose
    0000d250   HOSTlseek
    0000d8f2   HOSTopen
    0000da7c   HOSTread
    0000d7b8   HOSTrename
    0000df02   HOSTunlink
    0000da1c   HOSTwrite
    00000000   IE1
    00000001   IE2
    00000002   IFG1
    00000003   IFG2
    0000e1ce   I_LSL
    0000e1f6   I_LSL_1
    0000e1e4   I_LSL_10
    0000e1e2   I_LSL_11
    0000e1e0   I_LSL_12
    0000e1de   I_LSL_13
    0000e1dc   I_LSL_14
    0000e1da   I_LSL_15
    0000e1f4   I_LSL_2
    0000e1f2   I_LSL_3
    0000e1f0   I_LSL_4
    0000e1ee   I_LSL_5
    0000e1ec   I_LSL_6
    0000e1ea   I_LSL_7
    0000e1e8   I_LSL_8
    0000e1e6   I_LSL_9
    00000090   LCDCTL
    00000091   LCDM1
    0000009a   LCDM10
    0000009b   LCDM11
    0000009c   LCDM12
    0000009d   LCDM13
    0000009e   LCDM14
    0000009f   LCDM15
    000000a0   LCDM16
    000000a1   LCDM17
    000000a2   LCDM18
    000000a3   LCDM19
    00000092   LCDM2
    000000a4   LCDM20
    00000093   LCDM3
    00000094   LCDM4
    00000095   LCDM5
    00000096   LCDM6
    00000097   LCDM7
    00000098   LCDM8
    00000099   LCDM9
    0000dc80   L_LSL
    0000dcc8   L_LSL_1
    0000dca4   L_LSL_10
    0000dca0   L_LSL_11
    0000dc9c   L_LSL_12
    0000dc98   L_LSL_13
    0000dc94   L_LSL_14
    0000dc90   L_LSL_15
    0000dcc4   L_LSL_2
    0000dcc0   L_LSL_3
    0000dcbc   L_LSL_4
    0000dcb8   L_LSL_5
    0000dcb4   L_LSL_6
    0000dcb0   L_LSL_7
    0000dcac   L_LSL_8
    0000dca8   L_LSL_9
    0000d74a   L_LSR
    0000d7b0   L_LSR_1
    0000d77a   L_LSR_10
    0000d774   L_LSR_11
    0000d76e   L_LSR_12
    0000d768   L_LSR_13
    0000d762   L_LSR_14
    0000d75c   L_LSR_15
    0000d7aa   L_LSR_2
    0000d7a4   L_LSR_3
    0000d79e   L_LSR_4
    0000d798   L_LSR_5
    0000d792   L_LSR_6
    0000d78c   L_LSR_7
    0000d786   L_LSR_8
    0000d780   L_LSR_9
    00000004   ME1
    00000022   P1DIR
    00000025   P1IE
    00000024   P1IES
    00000023   P1IFG
    00000020   P1IN
    00000021   P1OUT
    00000026   P1SEL
    0000002a   P2DIR
    0000002d   P2IE
    0000002c   P2IES
    0000002b   P2IFG
    00000028   P2IN
    00000029   P2OUT
    0000002e   P2SEL
    0000001a   P3DIR
    00000018   P3IN
    00000019   P3OUT
    0000001b   P3SEL
    0000001e   P4DIR
    0000001c   P4IN
    0000001d   P4OUT
    0000001f   P4SEL
    00000032   P5DIR
    00000030   P5IN
    00000031   P5OUT
    00000033   P5SEL
    00000036   P6DIR
    00000034   P6IN
    00000035   P6OUT
    00000037   P6SEL
    00000050   SCFI0
    00000051   SCFI1
    00000052   SCFQCTL
    00000056   SVSCTL
    00000172   TACCR0
    00000174   TACCR1
    00000176   TACCR2
    00000162   TACCTL0
    00000164   TACCTL1
    00000166   TACCTL2
    00000160   TACTL
    0000012e   TAIV
    00000170   TAR
    00000192   TBCCR0
    00000194   TBCCR1
    00000196   TBCCR2
    00000182   TBCCTL0
    00000184   TBCCTL1
    00000186   TBCCTL2
    00000180   TBCTL
    0000011e   TBIV
    00000190   TBR
    00000074   U0BR0
    00000075   U0BR1
    00000070   U0CTL
    00000073   U0MCTL
    00000072   U0RCTL
    00000076   U0RXBUF
    00000071   U0TCTL
    00000077   U0TXBUF
    00000120   WDTCTL
    00000200   _CIOBUF_
    00000400   __STACK_END
    00000050   __STACK_SIZE
    00000050   __SYSMEM_SIZE
    ffffffff   __binit__
    00000000   __bss__
    ffffffff   __c_args__
    0000e52a   __cinit__
    0000df82   __divli
    0000e330   __divu
    0000dada   __divul
    0000023c   __end__
    0000e3f8   __etext__
    0000c7ee   __fs_add
    0000dd18   __fs_cmp
    0000d090   __fs_div
    0000e0ac   __fs_itof
    0000dd62   __fs_ltof
    0000cf3e   __fs_mpy
    0000e3d6   __fs_neg
    0000c7e8   __fs_sub
    0000d88a   __fs_toi
    0000d4ea   __fs_tol
    0000ddf4   __fs_tou
    0000e384   __mpyi
    0000e29a   __mpyl
    ffffffff   __pinit__
    0000df82   __remli
    0000e330   __remu
    0000dada   __remul
    0000c000   __text__
    0000e2c0   _args_main
    0000df42   _auto_init
    0000e2e2   _c_int00
    0000dfc2   _cleanup
    00000236   _cleanup_ptr
    0000e3f8   _ctypes_
    0000d9ba   _doflush
    00000238   _dtors_ptr
    00000118   _ft_end
    00000000   _ftable
    00000232   _lock
    0000e3f6   _nop
    0000c216   _printfi
    0000fffe   _reset_vector
    000003b0   _stack
    00000320   _sys_memory
    0000e3ea   _system_pre_init
    00000078   _tmpnams
    00000234   _unlock
    0000d5e2   _wrt_ok
    0000e3ee   abort
    0000e3cc   abs
    0000dbde   atoi
    ffffffff   binit
    0000e52a   cinit
    0000dcce   close
    0000023c   end
    0000e3f8   etext
    0000e1fa   exit
    0000d822   fclose
    0000d360   fputc
    0000ccf2   fputs
    0000d46a   free
    0000d956   fseek
    0000e3c8   func_epilog_1
    0000e3c6   func_epilog_2
    0000e3c4   func_epilog_3
    0000e3c2   func_epilog_4
    0000e3c0   func_epilog_5
    0000e3be   func_epilog_6
    0000e3bc   func_epilog_7
    0000021a   input
    0000db88   lseek
    0000d3e6   ltoa
    0000d65c   main
    0000cfe8   malloc
    0000e224   memccpy
    0000e35c   memchr
    0000e398   memcpy
    0000e370   memset
    0000e03a   minit
    0000e274   mul_c
    0000dffe   mul_csd_float
    0000dec0   mul_horner_float
    0000021c   mult
    0000021e   mult_float
    ffffffff   pinit
    0000e176   printf
    0000d360   putc
    0000e1a2   readmsg
    0000e3f2   remove
    00000222   result1
    00000226   result2
    00000228   result3
    0000cdd4   setvbuf
    0000e300   strchr
    0000e318   strcmp
    0000e346   strcpy
    0000e3aa   strlen
    0000e074   strncpy
    0000e24c   unlink
    0000ddac   write
    0000e148   writemsg


    GLOBAL SYMBOLS: SORTED BY Symbol Address

    address    name
    --------   ----
    00000000   .bss
    00000000   IE1
    00000000   __bss__
    00000000   _ftable
    00000001   IE2
    00000002   IFG1
    00000003   IFG2
    00000004   ME1
    00000018   P3IN
    00000019   P3OUT
    0000001a   P3DIR
    0000001b   P3SEL
    0000001c   P4IN
    0000001d   P4OUT
    0000001e   P4DIR
    0000001f   P4SEL
    00000020   P1IN
    00000021   P1OUT
    00000022   P1DIR
    00000023   P1IFG
    00000024   P1IES
    00000025   P1IE
    00000026   P1SEL
    00000028   P2IN
    00000029   P2OUT
    0000002a   P2DIR
    0000002b   P2IFG
    0000002c   P2IES
    0000002d   P2IE
    0000002e   P2SEL
    00000030   P5IN
    00000031   P5OUT
    00000032   P5DIR
    00000033   P5SEL
    00000034   P6IN
    00000035   P6OUT
    00000036   P6DIR
    00000037   P6SEL
    00000040   BTCTL
    00000046   BTCNT1
    00000047   BTCNT2
    00000050   SCFI0
    00000050   __STACK_SIZE
    00000050   __SYSMEM_SIZE
    00000051   SCFI1
    00000052   SCFQCTL
    00000053   FLL_CTL0
    00000054   FLL_CTL1
    00000056   SVSCTL
    00000059   CACTL1
    0000005a   CACTL2
    0000005b   CAPD
    00000070   U0CTL
    00000071   U0TCTL
    00000072   U0RCTL
    00000073   U0MCTL
    00000074   U0BR0
    00000075   U0BR1
    00000076   U0RXBUF
    00000077   U0TXBUF
    00000078   _tmpnams
    00000080   ADC12MCTL0
    00000081   ADC12MCTL1
    00000082   ADC12MCTL2
    00000083   ADC12MCTL3
    00000084   ADC12MCTL4
    00000085   ADC12MCTL5
    00000086   ADC12MCTL6
    00000087   ADC12MCTL7
    00000088   ADC12MCTL8
    00000089   ADC12MCTL9
    0000008a   ADC12MCTL10
    0000008b   ADC12MCTL11
    0000008c   ADC12MCTL12
    0000008d   ADC12MCTL13
    0000008e   ADC12MCTL14
    0000008f   ADC12MCTL15
    00000090   LCDCTL
    00000091   LCDM1
    00000092   LCDM2
    00000093   LCDM3
    00000094   LCDM4
    00000095   LCDM5
    00000096   LCDM6
    00000097   LCDM7
    00000098   LCDM8
    00000099   LCDM9
    0000009a   LCDM10
    0000009b   LCDM11
    0000009c   LCDM12
    0000009d   LCDM13
    0000009e   LCDM14
    0000009f   LCDM15
    000000a0   LCDM16
    000000a1   LCDM17
    000000a2   LCDM18
    000000a3   LCDM19
    000000a4   LCDM20
    00000118   _ft_end
    0000011e   TBIV
    00000120   WDTCTL
    00000128   FCTL1
    0000012a   FCTL2
    0000012c   FCTL3
    0000012e   TAIV
    00000140   ADC12MEM0
    00000142   ADC12MEM1
    00000144   ADC12MEM2
    00000146   ADC12MEM3
    00000148   ADC12MEM4
    0000014a   ADC12MEM5
    0000014c   ADC12MEM6
    0000014e   ADC12MEM7
    00000150   ADC12MEM8
    00000152   ADC12MEM9
    00000154   ADC12MEM10
    00000156   ADC12MEM11
    00000158   ADC12MEM12
    0000015a   ADC12MEM13
    0000015c   ADC12MEM14
    0000015e   ADC12MEM15
    00000160   TACTL
    00000162   TACCTL0
    00000164   TACCTL1
    00000166   TACCTL2
    00000170   TAR
    00000172   TACCR0
    00000174   TACCR1
    00000176   TACCR2
    00000180   TBCTL
    00000182   TBCCTL0
    00000184   TBCCTL1
    00000186   TBCCTL2
    00000190   TBR
    00000192   TBCCR0
    00000194   TBCCR1
    00000196   TBCCR2
    000001a0   ADC12CTL0
    000001a2   ADC12CTL1
    000001a4   ADC12IFG
    000001a6   ADC12IE
    000001a8   ADC12IV
    00000200   _CIOBUF_
    0000021a   input
    0000021c   mult
    0000021e   mult_float
    00000222   result1
    00000226   result2
    00000228   result3
    00000232   _lock
    00000234   _unlock
    00000236   _cleanup_ptr
    00000238   _dtors_ptr
    0000023c   __end__
    0000023c   end
    00000320   _sys_memory
    000003b0   _stack
    00000400   __STACK_END
    0000c000   .text
    0000c000   __text__
    0000c216   _printfi
    0000c7e8   __fs_sub
    0000c7ee   __fs_add
    0000ccf2   fputs
    0000cdd4   setvbuf
    0000cf3e   __fs_mpy
    0000cfe8   malloc
    0000d090   __fs_div
    0000d250   HOSTlseek
    0000d360   fputc
    0000d360   putc
    0000d3e6   ltoa
    0000d46a   free
    0000d4ea   __fs_tol
    0000d5e2   _wrt_ok
    0000d65c   main
    0000d74a   L_LSR
    0000d75c   L_LSR_15
    0000d762   L_LSR_14
    0000d768   L_LSR_13
    0000d76e   L_LSR_12
    0000d774   L_LSR_11
    0000d77a   L_LSR_10
    0000d780   L_LSR_9
    0000d786   L_LSR_8
    0000d78c   L_LSR_7
    0000d792   L_LSR_6
    0000d798   L_LSR_5
    0000d79e   L_LSR_4
    0000d7a4   L_LSR_3
    0000d7aa   L_LSR_2
    0000d7b0   L_LSR_1
    0000d7b8   HOSTrename
    0000d822   fclose
    0000d88a   __fs_toi
    0000d8f2   HOSTopen
    0000d956   fseek
    0000d9ba   _doflush
    0000da1c   HOSTwrite
    0000da7c   HOSTread
    0000dada   __divul
    0000dada   __remul
    0000db88   lseek
    0000dbde   atoi
    0000dc80   L_LSL
    0000dc90   L_LSL_15
    0000dc94   L_LSL_14
    0000dc98   L_LSL_13
    0000dc9c   L_LSL_12
    0000dca0   L_LSL_11
    0000dca4   L_LSL_10
    0000dca8   L_LSL_9
    0000dcac   L_LSL_8
    0000dcb0   L_LSL_7
    0000dcb4   L_LSL_6
    0000dcb8   L_LSL_5
    0000dcbc   L_LSL_4
    0000dcc0   L_LSL_3
    0000dcc4   L_LSL_2
    0000dcc8   L_LSL_1
    0000dcce   close
    0000dd18   __fs_cmp
    0000dd62   __fs_ltof
    0000ddac   write
    0000ddf4   __fs_tou
    0000de7e   HOSTclose
    0000dec0   mul_horner_float
    0000df02   HOSTunlink
    0000df42   _auto_init
    0000df82   __divli
    0000df82   __remli
    0000dfc2   _cleanup
    0000dffe   mul_csd_float
    0000e03a   minit
    0000e074   strncpy
    0000e0ac   __fs_itof
    0000e148   writemsg
    0000e172   C$$IO$$
    0000e176   printf
    0000e1a2   readmsg
    0000e1ce   I_LSL
    0000e1da   I_LSL_15
    0000e1dc   I_LSL_14
    0000e1de   I_LSL_13
    0000e1e0   I_LSL_12
    0000e1e2   I_LSL_11
    0000e1e4   I_LSL_10
    0000e1e6   I_LSL_9
    0000e1e8   I_LSL_8
    0000e1ea   I_LSL_7
    0000e1ec   I_LSL_6
    0000e1ee   I_LSL_5
    0000e1f0   I_LSL_4
    0000e1f2   I_LSL_3
    0000e1f4   I_LSL_2
    0000e1f6   I_LSL_1
    0000e1fa   exit
    0000e224   memccpy
    0000e24c   unlink
    0000e274   mul_c
    0000e29a   __mpyl
    0000e2c0   _args_main
    0000e2e2   _c_int00
    0000e300   strchr
    0000e318   strcmp
    0000e330   __divu
    0000e330   __remu
    0000e346   strcpy
    0000e35c   memchr
    0000e370   memset
    0000e384   __mpyi
    0000e398   memcpy
    0000e3aa   strlen
    0000e3bc   func_epilog_7
    0000e3be   func_epilog_6
    0000e3c0   func_epilog_5
    0000e3c2   func_epilog_4
    0000e3c4   func_epilog_3
    0000e3c6   func_epilog_2
    0000e3c8   func_epilog_1
    0000e3cc   abs
    0000e3d6   __fs_neg
    0000e3ea   _system_pre_init
    0000e3ee   C$$EXIT
    0000e3ee   abort
    0000e3f2   remove
    0000e3f6   _nop
    0000e3f8   __etext__
    0000e3f8   _ctypes_
    0000e3f8   etext
    0000e52a   __cinit__
    0000e52a   cinit
    0000fffe   _reset_vector
    ffffffff   __binit__
    ffffffff   __c_args__
    ffffffff   __pinit__
    ffffffff   binit
    ffffffff   pinit

    [298 symbols]

    Here is my whole map file, i can see now RAM is oversized. But i just want to imigrate a sample AVR assembly and C mixed codes into CCE. it just takes a few lines of assembly, it shouldn't no enough RAM for my simple project. How can i fix this problem?

  • ******************************************************************************
           MSP430 Evaluation Linker PC v3.1.0                     
    ******************************************************************************
    >> Linked Mon May 04 16:49:59 2009

    OUTPUT FILE NAME:   <EfficientCalc.out>
    ENTRY POINT SYMBOL: "_c_int00"  address: 0000e2e2


    MEMORY CONFIGURATION

             name            origin    length      used     unused   attr    fill
    ----------------------  --------  ---------  --------  --------  ----  --------
      SFR                   00000000   00000010  00000000  00000010  RWIX
      PERIPHERALS_8BIT      00000010   000000f0  00000000  000000f0  RWIX
      PERIPHERALS_16BIT     00000100   00000100  00000000  00000100  RWIX
      RAM                   00000200   00000200  000001c0  00000040  RWIX
      INFOB                 00001000   00000080  00000000  00000080  RWIX
      INFOA                 00001080   00000080  00000000  00000080  RWIX
      FLASH                 0000c000   00003fe0  000025c4  00001a1c  RWIX
      INT00                 0000ffe0   00000002  00000000  00000002  RWIX
      INT01                 0000ffe2   00000002  00000000  00000002  RWIX
      INT02                 0000ffe4   00000002  00000000  00000002  RWIX
      INT03                 0000ffe6   00000002  00000000  00000002  RWIX
      INT04                 0000ffe8   00000002  00000000  00000002  RWIX
      INT05                 0000ffea   00000002  00000000  00000002  RWIX
      INT06                 0000ffec   00000002  00000000  00000002  RWIX
      INT07                 0000ffee   00000002  00000000  00000002  RWIX
      INT08                 0000fff0   00000002  00000000  00000002  RWIX
      INT09                 0000fff2   00000002  00000000  00000002  RWIX
      INT10                 0000fff4   00000002  00000000  00000002  RWIX
      INT11                 0000fff6   00000002  00000000  00000002  RWIX
      INT12                 0000fff8   00000002  00000000  00000002  RWIX
      INT13                 0000fffa   00000002  00000000  00000002  RWIX
      INT14                 0000fffc   00000002  00000000  00000002  RWIX
      RESET                 0000fffe   00000002  00000002  00000000  RWIX


    SECTION ALLOCATION MAP

     output                                  attributes/
    section   page    origin      length       input sections
    --------  ----  ----------  ----------   ----------------
    .bss       0    00000000    0000023c     FAILED TO ALLOCATE
    .pinit     0    0000c000    00000000     UNINITIALIZED

    .cio       0    00000200    00000120     UNINITIALIZED
                      00000200    00000120     rts430.lib : trgmsg.obj (.cio)

    .sysmem    0    00000320    00000050     UNINITIALIZED
                      00000320    00000004     rts430.lib : memory.obj (.sysmem)
                      00000324    0000004c     --HOLE--

    .stack     0    000003b0    00000050     UNINITIALIZED
                      000003b0    00000002     rts430.lib : boot.obj (.stack)
                      000003b2    0000004e     --HOLE--

    .text      0    0000c000    000023f8    
                      0000c000    00000216     rts430.lib : _printfi.obj (.text:_setfield)
                      0000c216    000001b6                : _printfi.obj (.text:_printfi)
                      0000c3cc    00000168                : _printfi.obj (.text:ecvt)
                      0000c534    00000160                : _printfi.obj (.text:fcvt)
                      0000c694    00000154                : _printfi.obj (.text:_pconv_e)
                      0000c7e8    00000118                : fs_add.obj (.text)
                      0000c900    00000102                : _printfi.obj (.text:_pconv_g)
                      0000ca02    00000100                : _printfi.obj (.text:_getarg_diouxp)
                      0000cb02    000000fe                : _printfi.obj (.text:_pproc_fwp)
                      0000cc00    000000f2                : _printfi.obj (.text:_pproc_diouxp)
                      0000ccf2    000000e2                : fputs.obj (.text:fputs)
                      0000cdd4    000000be                : setvbuf.obj (.text:setvbuf)
                      0000ce92    000000ac                : _printfi.obj (.text:_pproc_str)
                      0000cf3e    000000aa                : fs_mpy.obj (.text)
                      0000cfe8    000000a8                : memory.obj (.text:malloc)
                      0000d090    0000009a                : fs_div.obj (.text)
                      0000d12a    00000096                : _printfi.obj (.text:_ltostr)
                      0000d1c0    00000090                : _printfi.obj (.text:_mcpy)
                      0000d250    0000008a                : trgdrv.obj (.text:HOSTlseek)
                      0000d2da    00000086                : _printfi.obj (.text:_pproc_fge)
                      0000d360    00000086                : fputc.obj (.text:fputc)
                      0000d3e6    00000084                : ltoa.obj (.text:ltoa)
                      0000d46a    00000080                : memory.obj (.text:free)
                      0000d4ea    0000007e                : fs_tol.obj (.text)
                      0000d568    0000007a                : _printfi.obj (.text:_ecpy)
                      0000d5e2    0000007a                : _io_perm.obj (.text:_wrt_ok)
                      0000d65c    0000007a     multiply_float.obj (.text:main)
                      0000d6d6    00000074     rts430.lib : _printfi.obj (.text:_pconv_f)
                      0000d74a    0000006e                : lsr32.obj (.text)
                      0000d7b8    0000006a                : trgdrv.obj (.text:HOSTrename)
                      0000d822    00000068                : fclose.obj (.text:fclose)
                      0000d88a    00000068                : fs_toi.obj (.text)
                      0000d8f2    00000064                : trgdrv.obj (.text:HOSTopen)
                      0000d956    00000064                : fseek.obj (.text:fseek)
                      0000d9ba    00000062                : fflush.obj (.text:_doflush)
                      0000da1c    00000060                : trgdrv.obj (.text:HOSTwrite)
                      0000da7c    0000005e                : trgdrv.obj (.text:HOSTread)
                      0000dada    00000058                : div32u.obj (.text)
                      0000db32    00000056                : lowlev.obj (.text:getdevice)
                      0000db88    00000056                : lowlev.obj (.text:lseek)
                      0000dbde    00000054                : atoi.obj (.text:atoi)
                      0000dc32    0000004e                : _printfi.obj (.text:_fcpy)
                      0000dc80    0000004e                : lsl32.obj (.text)
                      0000dcce    0000004a                : lowlev.obj (.text:close)
                      0000dd18    0000004a                : fs_cmp.obj (.text)
                      0000dd62    0000004a                : fs_ltof.obj (.text)
                      0000ddac    00000048                : lowlev.obj (.text:write)
                      0000ddf4    00000046                : fs_tou.obj (.text)
                      0000de3a    00000044                : _printfi.obj (.text:_pproc_fflags)
                      0000de7e    00000042                : trgdrv.obj (.text:HOSTclose)
                      0000dec0    00000042     horner_mul_float.obj (.text)
                      0000df02    00000040     rts430.lib : trgdrv.obj (.text:HOSTunlink)
                      0000df42    00000040                : autoinit.obj (.text:_auto_init)
                      0000df82    00000040                : div32s.obj (.text)
                      0000dfc2    0000003c                : fopen.obj (.text:_cleanup)
                      0000dffe    0000003c     csd_mul_float.obj (.text)
                      0000e03a    0000003a     rts430.lib : memory.obj (.text:minit)
                      0000e074    00000038                : strncpy.obj (.text:strncpy)
                      0000e0ac    00000036                : fs_itof.obj (.text)
                      0000e0e2    00000034                : _printfi.obj (.text:_div)
                      0000e116    00000032                : lowlev.obj (.text:finddevice)
                      0000e148    0000002e                : trgmsg.obj (.text:writemsg)
                      0000e176    0000002c                : printf.obj (.text:printf)
                      0000e1a2    0000002c                : trgmsg.obj (.text:readmsg)
                      0000e1ce    0000002c                : lsl16.obj (.text)
                      0000e1fa    0000002a                : exit.obj (.text:exit)
                      0000e224    00000028                : memccpy.obj (.text:memccpy)
                      0000e24c    00000028                : lowlev.obj (.text:unlink)
                      0000e274    00000026     multiply_float.obj (.text:mul_c)
                      0000e29a    00000026     rts430.lib : mult32.obj (.text)
                      0000e2c0    00000022                : args_main.obj (.text:_args_main)
                      0000e2e2    0000001e                : boot.obj (.text:_c_int00)
                      0000e300    00000018                : strchr.obj (.text:strchr)
                      0000e318    00000018                : strcmp.obj (.text:strcmp)
                      0000e330    00000016                : div16u.obj (.text)
                      0000e346    00000016                : strcpy.obj (.text:strcpy)
                      0000e35c    00000014                : memchr.obj (.text:memchr)
                      0000e370    00000014                : memset.obj (.text:memset)
                      0000e384    00000014                : mult16.obj (.text)
                      0000e398    00000012                : memcpy.obj (.text:memcpy)
                      0000e3aa    00000012                : strlen.obj (.text:strlen)
                      0000e3bc    00000010                : epilog.obj (.text)
                      0000e3cc    0000000a                : abs.obj (.text:abs)
                      0000e3d6    0000000a                : fs_neg.obj (.text)
                      0000e3e0    00000006                : printf.obj (.text:_outc)
                      0000e3e6    00000004                : printf.obj (.text:_outs)
                      0000e3ea    00000004                : pre_init.obj (.text:_system_pre_init)
                      0000e3ee    00000004                : exit.obj (.text:abort)
                      0000e3f2    00000004                : remove.obj (.text:remove)
                      0000e3f6    00000002                : _lock.obj (.text:_nop)

    .const     0    0000e3f8    00000132    
                      0000e3f8    00000101     rts430.lib : ctype.obj (.const:_ctypes_)
                      0000e4f9    00000001     --HOLE-- [fill = 0]
                      0000e4fa    00000024                : _printfi.obj (.const:.string)
                      0000e51e    0000000a     multiply_float.obj (.const:.string)
                      0000e528    00000002     rts430.lib : fputs.obj (.const:.string)

    .cinit     0    0000e52a    0000009a    
                      0000e52a    00000034     rts430.lib : lowlev.obj (.cinit)
                      0000e55e    0000002e                : defs.obj (.cinit)
                      0000e58c    0000000e     multiply_float.obj (.cinit)
                      0000e59a    0000000c     rts430.lib : _lock.obj (.cinit)
                      0000e5a6    0000000c                : exit.obj (.cinit)
                      0000e5b2    00000006                : fopen.obj (.cinit)
                      0000e5b8    00000006                : memory.obj (.cinit)
                      0000e5be    00000002     --HOLE-- [fill = 0]
                      0000e5c0    00000004     (.pad.cinit) [fill = 0]

    .reset     0    0000fffe    00000002    
                      0000fffe    00000002     rts430.lib : boot.obj (.reset)


    GLOBAL SYMBOLS: SORTED ALPHABETICALLY BY Name

    address    name
    --------   ----
    00000000   .bss
    0000c000   .text
    000001a0   ADC12CTL0
    000001a2   ADC12CTL1
    000001a6   ADC12IE
    000001a4   ADC12IFG
    000001a8   ADC12IV
    00000080   ADC12MCTL0
    00000081   ADC12MCTL1
    0000008a   ADC12MCTL10
    0000008b   ADC12MCTL11
    0000008c   ADC12MCTL12
    0000008d   ADC12MCTL13
    0000008e   ADC12MCTL14
    0000008f   ADC12MCTL15
    00000082   ADC12MCTL2
    00000083   ADC12MCTL3
    00000084   ADC12MCTL4
    00000085   ADC12MCTL5
    00000086   ADC12MCTL6
    00000087   ADC12MCTL7
    00000088   ADC12MCTL8
    00000089   ADC12MCTL9
    00000140   ADC12MEM0
    00000142   ADC12MEM1
    00000154   ADC12MEM10
    00000156   ADC12MEM11
    00000158   ADC12MEM12
    0000015a   ADC12MEM13
    0000015c   ADC12MEM14
    0000015e   ADC12MEM15
    00000144   ADC12MEM2
    00000146   ADC12MEM3
    00000148   ADC12MEM4
    0000014a   ADC12MEM5
    0000014c   ADC12MEM6
    0000014e   ADC12MEM7
    00000150   ADC12MEM8
    00000152   ADC12MEM9
    00000046   BTCNT1
    00000047   BTCNT2
    00000040   BTCTL
    0000e3ee   C$$EXIT
    0000e172   C$$IO$$
    00000059   CACTL1
    0000005a   CACTL2
    0000005b   CAPD
    00000128   FCTL1
    0000012a   FCTL2
    0000012c   FCTL3
    00000053   FLL_CTL0
    00000054   FLL_CTL1
    0000de7e   HOSTclose
    0000d250   HOSTlseek
    0000d8f2   HOSTopen
    0000da7c   HOSTread
    0000d7b8   HOSTrename
    0000df02   HOSTunlink
    0000da1c   HOSTwrite
    00000000   IE1
    00000001   IE2
    00000002   IFG1
    00000003   IFG2
    0000e1ce   I_LSL
    0000e1f6   I_LSL_1
    0000e1e4   I_LSL_10
    0000e1e2   I_LSL_11
    0000e1e0   I_LSL_12
    0000e1de   I_LSL_13
    0000e1dc   I_LSL_14
    0000e1da   I_LSL_15
    0000e1f4   I_LSL_2
    0000e1f2   I_LSL_3
    0000e1f0   I_LSL_4
    0000e1ee   I_LSL_5
    0000e1ec   I_LSL_6
    0000e1ea   I_LSL_7
    0000e1e8   I_LSL_8
    0000e1e6   I_LSL_9
    00000090   LCDCTL
    00000091   LCDM1
    0000009a   LCDM10
    0000009b   LCDM11
    0000009c   LCDM12
    0000009d   LCDM13
    0000009e   LCDM14
    0000009f   LCDM15
    000000a0   LCDM16
    000000a1   LCDM17
    000000a2   LCDM18
    000000a3   LCDM19
    00000092   LCDM2
    000000a4   LCDM20
    00000093   LCDM3
    00000094   LCDM4
    00000095   LCDM5
    00000096   LCDM6
    00000097   LCDM7
    00000098   LCDM8
    00000099   LCDM9
    0000dc80   L_LSL
    0000dcc8   L_LSL_1
    0000dca4   L_LSL_10
    0000dca0   L_LSL_11
    0000dc9c   L_LSL_12
    0000dc98   L_LSL_13
    0000dc94   L_LSL_14
    0000dc90   L_LSL_15
    0000dcc4   L_LSL_2
    0000dcc0   L_LSL_3
    0000dcbc   L_LSL_4
    0000dcb8   L_LSL_5
    0000dcb4   L_LSL_6
    0000dcb0   L_LSL_7
    0000dcac   L_LSL_8
    0000dca8   L_LSL_9
    0000d74a   L_LSR
    0000d7b0   L_LSR_1
    0000d77a   L_LSR_10
    0000d774   L_LSR_11
    0000d76e   L_LSR_12
    0000d768   L_LSR_13
    0000d762   L_LSR_14
    0000d75c   L_LSR_15
    0000d7aa   L_LSR_2
    0000d7a4   L_LSR_3
    0000d79e   L_LSR_4
    0000d798   L_LSR_5
    0000d792   L_LSR_6
    0000d78c   L_LSR_7
    0000d786   L_LSR_8
    0000d780   L_LSR_9
    00000004   ME1
    00000022   P1DIR
    00000025   P1IE
    00000024   P1IES
    00000023   P1IFG
    00000020   P1IN
    00000021   P1OUT
    00000026   P1SEL
    0000002a   P2DIR
    0000002d   P2IE
    0000002c   P2IES
    0000002b   P2IFG
    00000028   P2IN
    00000029   P2OUT
    0000002e   P2SEL
    0000001a   P3DIR
    00000018   P3IN
    00000019   P3OUT
    0000001b   P3SEL
    0000001e   P4DIR
    0000001c   P4IN
    0000001d   P4OUT
    0000001f   P4SEL
    00000032   P5DIR
    00000030   P5IN
    00000031   P5OUT
    00000033   P5SEL
    00000036   P6DIR
    00000034   P6IN
    00000035   P6OUT
    00000037   P6SEL
    00000050   SCFI0
    00000051   SCFI1
    00000052   SCFQCTL
    00000056   SVSCTL
    00000172   TACCR0
    00000174   TACCR1
    00000176   TACCR2
    00000162   TACCTL0
    00000164   TACCTL1
    00000166   TACCTL2
    00000160   TACTL
    0000012e   TAIV
    00000170   TAR
    00000192   TBCCR0
    00000194   TBCCR1
    00000196   TBCCR2
    00000182   TBCCTL0
    00000184   TBCCTL1
    00000186   TBCCTL2
    00000180   TBCTL
    0000011e   TBIV
    00000190   TBR
    00000074   U0BR0
    00000075   U0BR1
    00000070   U0CTL
    00000073   U0MCTL
    00000072   U0RCTL
    00000076   U0RXBUF
    00000071   U0TCTL
    00000077   U0TXBUF
    00000120   WDTCTL
    00000200   _CIOBUF_
    00000400   __STACK_END
    00000050   __STACK_SIZE
    00000050   __SYSMEM_SIZE
    ffffffff   __binit__
    00000000   __bss__
    ffffffff   __c_args__
    0000e52a   __cinit__
    0000df82   __divli
    0000e330   __divu
    0000dada   __divul
    0000023c   __end__
    0000e3f8   __etext__
    0000c7ee   __fs_add
    0000dd18   __fs_cmp
    0000d090   __fs_div
    0000e0ac   __fs_itof
    0000dd62   __fs_ltof
    0000cf3e   __fs_mpy
    0000e3d6   __fs_neg
    0000c7e8   __fs_sub
    0000d88a   __fs_toi
    0000d4ea   __fs_tol
    0000ddf4   __fs_tou
    0000e384   __mpyi
    0000e29a   __mpyl
    ffffffff   __pinit__
    0000df82   __remli
    0000e330   __remu
    0000dada   __remul
    0000c000   __text__
    0000e2c0   _args_main
    0000df42   _auto_init
    0000e2e2   _c_int00
    0000dfc2   _cleanup
    00000236   _cleanup_ptr
    0000e3f8   _ctypes_
    0000d9ba   _doflush
    00000238   _dtors_ptr
    00000118   _ft_end
    00000000   _ftable
    00000232   _lock
    0000e3f6   _nop
    0000c216   _printfi
    0000fffe   _reset_vector
    000003b0   _stack
    00000320   _sys_memory
    0000e3ea   _system_pre_init
    00000078   _tmpnams
    00000234   _unlock
    0000d5e2   _wrt_ok
    0000e3ee   abort
    0000e3cc   abs
    0000dbde   atoi
    ffffffff   binit
    0000e52a   cinit
    0000dcce   close
    0000023c   end
    0000e3f8   etext
    0000e1fa   exit
    0000d822   fclose
    0000d360   fputc
    0000ccf2   fputs
    0000d46a   free
    0000d956   fseek
    0000e3c8   func_epilog_1
    0000e3c6   func_epilog_2
    0000e3c4   func_epilog_3
    0000e3c2   func_epilog_4
    0000e3c0   func_epilog_5
    0000e3be   func_epilog_6
    0000e3bc   func_epilog_7
    0000021a   input
    0000db88   lseek
    0000d3e6   ltoa
    0000d65c   main
    0000cfe8   malloc
    0000e224   memccpy
    0000e35c   memchr
    0000e398   memcpy
    0000e370   memset
    0000e03a   minit
    0000e274   mul_c
    0000dffe   mul_csd_float
    0000dec0   mul_horner_float
    0000021c   mult
    0000021e   mult_float
    ffffffff   pinit
    0000e176   printf
    0000d360   putc
    0000e1a2   readmsg
    0000e3f2   remove
    00000222   result1
    00000226   result2
    00000228   result3
    0000cdd4   setvbuf
    0000e300   strchr
    0000e318   strcmp
    0000e346   strcpy
    0000e3aa   strlen
    0000e074   strncpy
    0000e24c   unlink
    0000ddac   write
    0000e148   writemsg


    GLOBAL SYMBOLS: SORTED BY Symbol Address

    address    name
    --------   ----
    00000000   .bss
    00000000   IE1
    00000000   __bss__
    00000000   _ftable
    00000001   IE2
    00000002   IFG1
    00000003   IFG2
    00000004   ME1
    00000018   P3IN
    00000019   P3OUT
    0000001a   P3DIR
    0000001b   P3SEL
    0000001c   P4IN
    0000001d   P4OUT
    0000001e   P4DIR
    0000001f   P4SEL
    00000020   P1IN
    00000021   P1OUT
    00000022   P1DIR
    00000023   P1IFG
    00000024   P1IES
    00000025   P1IE
    00000026   P1SEL
    00000028   P2IN
    00000029   P2OUT
    0000002a   P2DIR
    0000002b   P2IFG
    0000002c   P2IES
    0000002d   P2IE
    0000002e   P2SEL
    00000030   P5IN
    00000031   P5OUT
    00000032   P5DIR
    00000033   P5SEL
    00000034   P6IN
    00000035   P6OUT
    00000036   P6DIR
    00000037   P6SEL
    00000040   BTCTL
    00000046   BTCNT1
    00000047   BTCNT2
    00000050   SCFI0
    00000050   __STACK_SIZE
    00000050   __SYSMEM_SIZE
    00000051   SCFI1
    00000052   SCFQCTL
    00000053   FLL_CTL0
    00000054   FLL_CTL1
    00000056   SVSCTL
    00000059   CACTL1
    0000005a   CACTL2
    0000005b   CAPD
    00000070   U0CTL
    00000071   U0TCTL
    00000072   U0RCTL
    00000073   U0MCTL
    00000074   U0BR0
    00000075   U0BR1
    00000076   U0RXBUF
    00000077   U0TXBUF
    00000078   _tmpnams
    00000080   ADC12MCTL0
    00000081   ADC12MCTL1
    00000082   ADC12MCTL2
    00000083   ADC12MCTL3
    00000084   ADC12MCTL4
    00000085   ADC12MCTL5
    00000086   ADC12MCTL6
    00000087   ADC12MCTL7
    00000088   ADC12MCTL8
    00000089   ADC12MCTL9
    0000008a   ADC12MCTL10
    0000008b   ADC12MCTL11
    0000008c   ADC12MCTL12
    0000008d   ADC12MCTL13
    0000008e   ADC12MCTL14
    0000008f   ADC12MCTL15
    00000090   LCDCTL
    00000091   LCDM1
    00000092   LCDM2
    00000093   LCDM3
    00000094   LCDM4
    00000095   LCDM5
    00000096   LCDM6
    00000097   LCDM7
    00000098   LCDM8
    00000099   LCDM9
    0000009a   LCDM10
    0000009b   LCDM11
    0000009c   LCDM12
    0000009d   LCDM13
    0000009e   LCDM14
    0000009f   LCDM15
    000000a0   LCDM16
    000000a1   LCDM17
    000000a2   LCDM18
    000000a3   LCDM19
    000000a4   LCDM20
    00000118   _ft_end
    0000011e   TBIV
    00000120   WDTCTL
    00000128   FCTL1
    0000012a   FCTL2
    0000012c   FCTL3
    0000012e   TAIV
    00000140   ADC12MEM0
    00000142   ADC12MEM1
    00000144   ADC12MEM2
    00000146   ADC12MEM3
    00000148   ADC12MEM4
    0000014a   ADC12MEM5
    0000014c   ADC12MEM6
    0000014e   ADC12MEM7
    00000150   ADC12MEM8
    00000152   ADC12MEM9
    00000154   ADC12MEM10
    00000156   ADC12MEM11
    00000158   ADC12MEM12
    0000015a   ADC12MEM13
    0000015c   ADC12MEM14
    0000015e   ADC12MEM15
    00000160   TACTL
    00000162   TACCTL0
    00000164   TACCTL1
    00000166   TACCTL2
    00000170   TAR
    00000172   TACCR0
    00000174   TACCR1
    00000176   TACCR2
    00000180   TBCTL
    00000182   TBCCTL0
    00000184   TBCCTL1
    00000186   TBCCTL2
    00000190   TBR
    00000192   TBCCR0
    00000194   TBCCR1
    00000196   TBCCR2
    000001a0   ADC12CTL0
    000001a2   ADC12CTL1
    000001a4   ADC12IFG
    000001a6   ADC12IE
    000001a8   ADC12IV
    00000200   _CIOBUF_
    0000021a   input
    0000021c   mult
    0000021e   mult_float
    00000222   result1
    00000226   result2
    00000228   result3
    00000232   _lock
    00000234   _unlock
    00000236   _cleanup_ptr
    00000238   _dtors_ptr
    0000023c   __end__
    0000023c   end
    00000320   _sys_memory
    000003b0   _stack
    00000400   __STACK_END
    0000c000   .text
    0000c000   __text__
    0000c216   _printfi
    0000c7e8   __fs_sub
    0000c7ee   __fs_add
    0000ccf2   fputs
    0000cdd4   setvbuf
    0000cf3e   __fs_mpy
    0000cfe8   malloc
    0000d090   __fs_div
    0000d250   HOSTlseek
    0000d360   fputc
    0000d360   putc
    0000d3e6   ltoa
    0000d46a   free
    0000d4ea   __fs_tol
    0000d5e2   _wrt_ok
    0000d65c   main
    0000d74a   L_LSR
    0000d75c   L_LSR_15
    0000d762   L_LSR_14
    0000d768   L_LSR_13
    0000d76e   L_LSR_12
    0000d774   L_LSR_11
    0000d77a   L_LSR_10
    0000d780   L_LSR_9
    0000d786   L_LSR_8
    0000d78c   L_LSR_7
    0000d792   L_LSR_6
    0000d798   L_LSR_5
    0000d79e   L_LSR_4
    0000d7a4   L_LSR_3
    0000d7aa   L_LSR_2
    0000d7b0   L_LSR_1
    0000d7b8   HOSTrename
    0000d822   fclose
    0000d88a   __fs_toi
    0000d8f2   HOSTopen
    0000d956   fseek
    0000d9ba   _doflush
    0000da1c   HOSTwrite
    0000da7c   HOSTread
    0000dada   __divul
    0000dada   __remul
    0000db88   lseek
    0000dbde   atoi
    0000dc80   L_LSL
    0000dc90   L_LSL_15
    0000dc94   L_LSL_14
    0000dc98   L_LSL_13
    0000dc9c   L_LSL_12
    0000dca0   L_LSL_11
    0000dca4   L_LSL_10
    0000dca8   L_LSL_9
    0000dcac   L_LSL_8
    0000dcb0   L_LSL_7
    0000dcb4   L_LSL_6
    0000dcb8   L_LSL_5
    0000dcbc   L_LSL_4
    0000dcc0   L_LSL_3
    0000dcc4   L_LSL_2
    0000dcc8   L_LSL_1
    0000dcce   close
    0000dd18   __fs_cmp
    0000dd62   __fs_ltof
    0000ddac   write
    0000ddf4   __fs_tou
    0000de7e   HOSTclose
    0000dec0   mul_horner_float
    0000df02   HOSTunlink
    0000df42   _auto_init
    0000df82   __divli
    0000df82   __remli
    0000dfc2   _cleanup
    0000dffe   mul_csd_float
    0000e03a   minit
    0000e074   strncpy
    0000e0ac   __fs_itof
    0000e148   writemsg
    0000e172   C$$IO$$
    0000e176   printf
    0000e1a2   readmsg
    0000e1ce   I_LSL
    0000e1da   I_LSL_15
    0000e1dc   I_LSL_14
    0000e1de   I_LSL_13
    0000e1e0   I_LSL_12
    0000e1e2   I_LSL_11
    0000e1e4   I_LSL_10
    0000e1e6   I_LSL_9
    0000e1e8   I_LSL_8
    0000e1ea   I_LSL_7
    0000e1ec   I_LSL_6
    0000e1ee   I_LSL_5
    0000e1f0   I_LSL_4
    0000e1f2   I_LSL_3
    0000e1f4   I_LSL_2
    0000e1f6   I_LSL_1
    0000e1fa   exit
    0000e224   memccpy
    0000e24c   unlink
    0000e274   mul_c
    0000e29a   __mpyl
    0000e2c0   _args_main
    0000e2e2   _c_int00
    0000e300   strchr
    0000e318   strcmp
    0000e330   __divu
    0000e330   __remu
    0000e346   strcpy
    0000e35c   memchr
    0000e370   memset
    0000e384   __mpyi
    0000e398   memcpy
    0000e3aa   strlen
    0000e3bc   func_epilog_7
    0000e3be   func_epilog_6
    0000e3c0   func_epilog_5
    0000e3c2   func_epilog_4
    0000e3c4   func_epilog_3
    0000e3c6   func_epilog_2
    0000e3c8   func_epilog_1
    0000e3cc   abs
    0000e3d6   __fs_neg
    0000e3ea   _system_pre_init
    0000e3ee   C$$EXIT
    0000e3ee   abort
    0000e3f2   remove
    0000e3f6   _nop
    0000e3f8   __etext__
    0000e3f8   _ctypes_
    0000e3f8   etext
    0000e52a   __cinit__
    0000e52a   cinit
    0000fffe   _reset_vector
    ffffffff   __binit__
    ffffffff   __c_args__
    ffffffff   __pinit__
    ffffffff   binit
    ffffffff   pinit

    [298 symbols]

    Here is my whole map file, i can see now RAM is oversized. But i just want to imigrate a sample AVR assembly and C mixed codes into CCE. it just takes a few lines of assembly, it shouldn't no enough RAM for my simple project. How can i fix this problem?

  • In order to progress this to understand what is being allocated to the .bss section you either need to target a device with more memore (ie. use a linker command file with a larger RAM block), or temporarily modify the current linker command file to expand the RAM memory.  This is only a temporary change to get the .bss section to be allocated and then we can see what is consuming so much memory space.  You will need to change this back in order to actually target the real device.

    Another approach to isolate what is being lumped into the .bss section is to generate listing files and review which variables are taking up space.

**Attention** This is a public forum