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.

L1PSRAM initialization

Hello All,

I am using c6670 processor and i just wanted to know how to place my main program in the L1P program memory of the corepac 0.

I tried to change the address in the linker command file but still i am getting the following error.

"Invalid CIO command (0) in the CIO buffer at address (0x820ba0) was not recognized. Please check the device and program memory maps."

Please Guide.

Regards,

Denzil.

  • Hi Denzil,

    May we ask you to show the .map file which linker generated?  (If it contains sensitive data, you can replace them by XXX or something).

    FYI, .map file is placed in the folder (or directory) where .out is generated.

    Regards,
    Atsushi

  • Hi Denzil,

    If you are using SYS/BIOS than you should change/define new platform and remove the L1P cache and than you will be able to define the L1P memory,

    HR

  • Hello Atsushi San,

    I have attached the map file with post.

    Regards,

    Denzil

    ******************************************************************************
                   TMS320C6x Linker PC v7.3.6                      
    ******************************************************************************
    >> Linked Thu Oct 25 11:13:47 2012

    OUTPUT FILE NAME:   <TestGenDLPSync_test_le.out>
    ENTRY POINT SYMBOL: "_c_int00"  address: 10e05640


    MEMORY CONFIGURATION

             name            origin    length      used     unused   attr    fill
    ----------------------  --------  ---------  --------  --------  ----  --------
      L2SRAM                00800000   00100000  00020cc0  000df340  RW X
      MSMCSRAM              0c000000   00200000  00000000  00200000  RW X
      L1PSRAM               10e00000   00008000  00007fae  00000052  RW X
      DDR2                  80000000   10000000  00000000  10000000  RWIX


    SEGMENT ALLOCATION MAP

    run origin  load origin   length   init length attrs members
    ----------  ----------- ---------- ----------- ----- -------
    00800000    00800000    00020610   00000000    rw-
      00800000    00800000    00020000   00000000    rw- .sysmem
      00820000    00820000    00000610   00000000    rw- .far
    00820610    00820610    00000390   00000390    rw-
      00820610    00820610    00000390   00000390    rw- .fardata
    008209a0    008209a0    00000320   00000200    rw-
      008209a0    008209a0    00000200   00000200    rw- .args
      00820ba0    00820ba0    00000120   00000000    rw- .cio
    10e00000    10e00000    00006920   00006920    r-x
      10e00000    10e00000    00006920   00006920    r-x .text
    10e06920    10e06920    00001000   00000000    rw-
      10e06920    10e06920    00001000   00000000    rw- .stack
    10e07920    10e07920    000005a2   000005a2    r--
      10e07920    10e07920    000005a2   000005a2    r-- .const
    10e07ec4    10e07ec4    00000010   00000000    rw-
      10e07ec4    10e07ec4    00000010   00000000    rw- .bss
    10e07ed4    10e07ed4    000000dc   000000dc    r--
      10e07ed4    10e07ed4    000000dc   000000dc    r-- .cinit


    SECTION ALLOCATION MAP

     output                                  attributes/
    section   page    origin      length       input sections
    --------  ----  ----------  ----------   ----------------
    .init_array
    *          0    00800000    00000000     UNINITIALIZED

    .sysmem    0    00800000    00020000     UNINITIALIZED
                      00800000    00000008     rts6600_elf.lib : memory.obj (.sysmem)
                      00800008    0001fff8     --HOLE--

    xdc.meta   0    00800000    00000118     COPY SECTION
                      00800000    00000118     unittest_c66x_pe66.oe66 (xdc.meta)

    .far       0    00820000    00000610     UNINITIALIZED
                      00820000    00000400     unittest_c66x_pe66.oe66 (.far)
                      00820400    00000140     rts6600_elf.lib : defs.obj (.far)
                      00820540    000000d0                     : trgdrv.obj (.far)

    .fardata   0    00820610    00000390     
                      00820610    000001e0     rts6600_elf.lib : defs.obj (.fardata:_ftable)
                      008207f0    000000a0                     : lowlev.obj (.fardata:_stream)
                      00820890    00000078                     : lowlev.obj (.fardata:_device)
                      00820908    00000050     unittest_c66x_pe66.oe66 (.fardata)
                      00820958    00000020     unittest_c66x_pe66.oe66 (.fardata:xdc_runtime_System_Module_State_0_atexitHandlers__A)
                      00820978    0000000c     rts6600_elf.lib : exit.obj (.fardata)
                      00820984    0000000c                     : memory.obj (.fardata)
                      00820990    00000008                     : _lock.obj (.fardata)
                      00820998    00000004                     : defs.obj (.fardata)
                      0082099c    00000004                     : dtor_list.obj (.fardata)

    .args      0    008209a0    00000200     
                      008209a0    00000200     --HOLE-- [fill = 0]

    .cio       0    00820ba0    00000120     UNINITIALIZED
                      00820ba0    00000120     rts6600_elf.lib : trgmsg.obj (.cio)

    .text      0    10e00000    00006920     
                      10e00000    000005c0     rts6600_elf.lib : divd.obj (.text:__c6xabi_divd)
                      10e005c0    000005c0                     : _printfi.obj (.text:_getarg_diouxp)
                      10e00b80    00000480                     : _printfi.obj (.text:_setfield)
                      10e01000    00000460                     : _printfi.obj (.text:_printfi)
                      10e01460    00000300                     : fputs.obj (.text:fputs)
                      10e01760    000002e0                     : _printfi.obj (.text:_pproc_fwp)
                      10e01a40    000002c0                     : _printfi.obj (.text:_pproc_fge)
                      10e01d00    000002a0                     : _printfi.obj (.text:fcvt)
                      10e01fa0    00000280                     : _printfi.obj (.text:ecvt)
                      10e02220    00000280                     : memory.obj (.text:free)
                      10e024a0    00000260     ti.targets.rts6000.ae66 : Startup.oe66 (.text:xdc_runtime_Startup_startMods__I)
                      10e02700    00000240     rts6600_elf.lib : imath64.obj (.text:__c6xabi_divull)
                      10e02940    00000240                     : _printfi.obj (.text:_pconv_e)
                      10e02b80    00000240                     : _printfi.obj (.text:_pproc_diouxp)
                      10e02dc0    00000220                     : _printfi.obj (.text:_pproc_str)
                      10e02fe0    00000200                     : _printfi.obj (.text:_pconv_g)
                      10e031e0    000001c0                     : _printfi.obj (.text:_mcpy)
                      10e033a0    000001c0                     : memory.obj (.text:malloc)
                      10e03560    000001a0                     : trgdrv.obj (.text:HOSTrename)
                      10e03700    000001a0                     : imath40.obj (.text:__c6xabi_divul)
                      10e038a0    00000180                     : copy_decompress_rle.obj (.text:__TI_decompress_rle_core)
                      10e03a20    00000180                     : setvbuf.obj (.text:setvbuf)
                      10e03ba0    00000140     boot.ae66 : autoinit.oe66 (.text:_auto_init_elf)
                      10e03ce0    00000140     rts6600_elf.lib : _printfi.obj (.text:_pproc_fflags)
                      10e03e20    00000140                     : fputc.obj (.text:fputc)
                      10e03f60    00000140                     : lowlev.obj (.text:getdevice)
                      10e040a0    00000140     test_genDLPSync.obj (.text)
                      10e041e0    00000120     rts6600_elf.lib : _printfi.obj (.text:_ltostr)
                      10e04300    00000120                     : fclose.obj (.text:fclose)
                      10e04420    00000100                     : trgdrv.obj (.text:HOSTlseek)
                      10e04520    00000100                     : _io_perm.obj (.text:_wrt_ok)
                      10e04620    00000100     ti.targets.rts6000.ae66 : Startup.oe66 (.text:xdc_runtime_Startup_exec__F)
                      10e04720    000000e0     rts6600_elf.lib : trgdrv.obj (.text:HOSTopen)
                      10e04800    000000e0                     : _printfi.obj (.text:_div)
                      10e048e0    000000e0                     : atoi.obj (.text:atoi)
                      10e049c0    000000e0                     : lowlev.obj (.text:close)
                      10e04aa0    000000e0                     : copy_zero_init.obj (.text:decompress:ZI:__TI_zero_init)
                      10e04b80    000000e0                     : exit.obj (.text:exit)
                      10e04c60    000000e0                     : ltoa.obj (.text:ltoa)
                      10e04d40    000000e0                     : memset.obj (.text:memset)
                      10e04e20    000000c0                     : trgdrv.obj (.text:HOSTread)
                      10e04ee0    000000c0                     : trgdrv.obj (.text:HOSTunlink)
                      10e04fa0    000000c0                     : trgdrv.obj (.text:HOSTwrite)
                      10e05060    000000c0                     : dtor_list.obj (.text:__cxa_finalize)
                      10e05120    000000c0                     : divu.obj (.text:__divu)
                      10e051e0    000000c0                     : fopen.obj (.text:_cleanup)
                      10e052a0    000000c0                     : fflush.obj (.text:_doflush)
                      10e05360    000000c0                     : fseek.obj (.text:fseek)
                      10e05420    000000c0                     : lowlev.obj (.text:lseek)
                      10e054e0    000000c0                     : lowlev.obj (.text:write)
                      10e055a0    000000a0                     : trgdrv.obj (.text:HOSTclose)
                      10e05640    000000a0     boot.ae66 : boot.oe66 (.text:_c_int00)
                      10e056e0    000000a0     rts6600_elf.lib : _printfi.obj (.text:_ecpy)
                      10e05780    000000a0                     : _printfi.obj (.text:_fcpy)
                      10e05820    000000a0                     : _printfi.obj (.text:_pconv_f)
                      10e058c0    000000a0                     : lowlev.obj (.text:finddevice)
                      10e05960    000000a0                     : memcpy64.obj (.text:memcpy)
                      10e05a00    000000a0                     : memory.obj (.text:minsert)
                      10e05aa0    000000a0                     : memory.obj (.text:mremove)
                      10e05b40    000000a0     ti.targets.rts6000.ae66 : SysMin.oe66 (.text:xdc_runtime_SysMin_abort__F)
                      10e05be0    000000a0                             : SysMin.oe66 (.text:xdc_runtime_SysMin_flush__F)
                      10e05c80    000000a0                             : SysMin.oe66 (.text:xdc_runtime_SysMin_putch__F)
                      10e05d20    00000080     rts6600_elf.lib : dtor_list.obj (.text:_Z11__TI_atexitPFYvPvES_S_)
                      10e05da0    00000080                     : llshift.obj (.text:__c6xabi_llshl)
                      10e05e20    00000080                     : printf.obj (.text:printf)
                      10e05ea0    00000080                     : trgmsg.obj (.text:readmsg)
                      10e05f20    00000080                     : lowlev.obj (.text:unlink)
                      10e05fa0    00000080     ti.targets.rts6000.ae66 : System.oe66 (.text:xdc_runtime_System_rtsExit__I)
                      10e06020    00000060     rts6600_elf.lib : frcmpyd_div.obj (.text:__c6xabi_frcmpyd_div)
                      10e06080    00000060                     : llshift.obj (.text:__c6xabi_llshru)
                      10e060e0    00000060                     : memory.obj (.text:_minit)
                      10e06140    00000060                     : imath64.obj (.text:_subcull)
                      10e061a0    00000060                     : memccpy.obj (.text:memccpy)
                      10e06200    00000060                     : trgmsg.obj (.text:writemsg)
                      10e06260    00000060     ti.targets.rts6000.ae66 : SysMin.oe66 (.text:xdc_runtime_SysMin_Module_startup__F)
                      10e062c0    00000060                             : SysMin.oe66 (.text:xdc_runtime_SysMin_exit__F)
                      10e06320    00000060     unittest_c66x_pe66.oe66 (.text:xdc_runtime_SysMin_output__I)
                      10e06380    00000040     rts6600_elf.lib : isinf.obj (.text:__c6xabi_isinf)
                      10e063c0    00000040                     : _printfi.obj (.text:__c6xabi_isnan)
                      10e06400    00000040                     : args_main.obj (.text:_args_main)
                      10e06440    00000040     ti.targets.rts6000.ae66 : Gate.oe66 (.text:xdc_runtime_Gate_leaveSystem__F)
                      10e06480    00000040     unittest_c66x_pe66.oe66 (.text:xdc_runtime_Startup_exec__I)
                      10e064c0    00000040     ti.targets.rts6000.ae66 : System.oe66 (.text:xdc_runtime_System_abort__F)
                      10e06500    00000020     rts6600_elf.lib : negll.obj (.text:__c6xabi_negll)
                      10e06520    00000020                     : dtor_list.obj (.text:__cxa_atexit)
                      10e06540    00000020                     : dtor_list.obj (.text:__cxa_ia64_exit)
                      10e06560    00000020     ti.targets.rts6000.ae66 : xdc_noinit.oe66 (.text:__xdc__init)
                      10e06580    00000020     rts6600_elf.lib : _lock.obj (.text:_nop)
                      10e065a0    00000020                     : printf.obj (.text:_outc)
                      10e065c0    00000020                     : printf.obj (.text:_outs)
                      10e065e0    00000020                     : exit.obj (.text:abort)
                      10e06600    00000020                     : dtor_list.obj (.text:atexit)
                      10e06620    00000020     ti.csl.ae66 : csl_tsc.oe66 (.text:cslsys_section:tsc)
                      10e06640    00000020     cycle_measure.obj (.text)
                      10e06660    00000020     rts6600_elf.lib : copy_decompress_none.obj (.text:decompress:none:__TI_decompress_none)
                      10e06680    00000020                     : copy_decompress_rle.obj (.text:decompress:rle24:__TI_decompress_rle24)
                      10e066a0    00000020     unittest_c66x_pe66.oe66 (.text:xdc_runtime_GateNull_enter__E)
                      10e066c0    00000020     ti.targets.rts6000.ae66 : GateNull.oe66 (.text:xdc_runtime_GateNull_enter__F)
                      10e066e0    00000020     unittest_c66x_pe66.oe66 (.text:xdc_runtime_GateNull_leave__E)
                      10e06700    00000020     ti.targets.rts6000.ae66 : GateNull.oe66 (.text:xdc_runtime_GateNull_leave__F)
                      10e06720    00000020     unittest_c66x_pe66.oe66 (.text:xdc_runtime_Gate_enterSystem__E)
                      10e06740    00000020     ti.targets.rts6000.ae66 : Gate.oe66 (.text:xdc_runtime_Gate_enterSystem__F)
                      10e06760    00000020     unittest_c66x_pe66.oe66 (.text:xdc_runtime_Gate_leaveSystem__E)
                      10e06780    00000020     unittest_c66x_pe66.oe66 (.text:xdc_runtime_Startup_exec__E)
                      10e067a0    00000020     unittest_c66x_pe66.oe66 (.text:xdc_runtime_Startup_reset__I)
                      10e067c0    00000020     unittest_c66x_pe66.oe66 (.text:xdc_runtime_SysMin_Module_startup__E)
                      10e067e0    00000020     unittest_c66x_pe66.oe66 (.text:xdc_runtime_SysMin_abort__E)
                      10e06800    00000020     unittest_c66x_pe66.oe66 (.text:xdc_runtime_SysMin_exit__E)
                      10e06820    00000020     unittest_c66x_pe66.oe66 (.text:xdc_runtime_System_Module_GateProxy_enter__E)
                      10e06840    00000020     unittest_c66x_pe66.oe66 (.text:xdc_runtime_System_Module_GateProxy_leave__E)
                      10e06860    00000020     unittest_c66x_pe66.oe66 (.text:xdc_runtime_System_Module_startup__E)
                      10e06880    00000020     ti.targets.rts6000.ae66 : System.oe66 (.text:xdc_runtime_System_Module_startup__F)
                      10e068a0    00000020     unittest_c66x_pe66.oe66 (.text:xdc_runtime_System_SupportProxy_abort__E)
                      10e068c0    00000020     unittest_c66x_pe66.oe66 (.text:xdc_runtime_System_SupportProxy_exit__E)
                      10e068e0    00000020     unittest_c66x_pe66.oe66 (.text:xdc_runtime_System_abort__E)
                      10e06900    00000020     ti.targets.rts6000.ae66 : System.oe66 (.text:xdc_runtime_System_lastFxn__I)

    .stack     0    10e06920    00001000     UNINITIALIZED
                      10e06920    00000008     boot.ae66 : boot.oe66 (.stack)
                      10e06928    00000ff8     --HOLE--

    .const     0    10e07920    000005a2     
                      10e07920    0000038e     unittest_c66x_pe66.oe66 (.const:xdc_runtime_Text_charTab__A)
                      10e07cae    00000002     --HOLE-- [fill = 0]
                      10e07cb0    00000101     rts6600_elf.lib : ctype.obj (.const:.string:_ctypes_)
                      10e07db1    00000003     --HOLE-- [fill = 0]
                      10e07db4    00000004     unittest_c66x_pe66.oe66 (.const:xdc_runtime_Startup_execImpl__C)
                      10e07db8    00000050     unittest_c66x_pe66.oe66 (.const:xdc_runtime_Text_nodeTab__A)
                      10e07e08    0000002c     test_genDLPSync.obj (.const:.string)
                      10e07e34    0000002c     ti.targets.rts6000.ae66 : Startup.oe66 (.const:.string)
                      10e07e60    00000023     rts6600_elf.lib : _printfi.obj (.const:.string)
                      10e07e83    00000001     --HOLE-- [fill = 0]
                      10e07e84    00000008     unittest_c66x_pe66.oe66 (.const:xdc_runtime_Startup_firstFxns__C)
                      10e07e8c    00000008     unittest_c66x_pe66.oe66 (.const:xdc_runtime_Startup_lastFxns__C)
                      10e07e94    00000004     unittest_c66x_pe66.oe66 (.const:xdc_runtime_Startup_maxPasses__C)
                      10e07e98    00000008     unittest_c66x_pe66.oe66 (.const:xdc_runtime_Startup_sfxnTab__A)
                      10e07ea0    00000004     unittest_c66x_pe66.oe66 (.const:xdc_runtime_Startup_lastFxns__A)
                      10e07ea4    00000004     unittest_c66x_pe66.oe66 (.const:xdc_runtime_Startup_sfxnRts__C)
                      10e07ea8    00000004     unittest_c66x_pe66.oe66 (.const:xdc_runtime_Startup_sfxnRts__A)
                      10e07eac    00000004     unittest_c66x_pe66.oe66 (.const:xdc_runtime_Startup_sfxnTab__C)
                      10e07eb0    00000004     unittest_c66x_pe66.oe66 (.const:xdc_runtime_Startup_startModsFxn__C)
                      10e07eb4    00000004     unittest_c66x_pe66.oe66 (.const:xdc_runtime_SysMin_bufSize__C)
                      10e07eb8    00000004     unittest_c66x_pe66.oe66 (.const:xdc_runtime_SysMin_outputFunc__C)
                      10e07ebc    00000004     unittest_c66x_pe66.oe66 (.const:xdc_runtime_System_Module__gateObj__C)
                      10e07ec0    00000002     unittest_c66x_pe66.oe66 (.const:xdc_runtime_SysMin_flushAtExit__C)

    .bss       0    10e07ec4    00000010     UNINITIALIZED
                      10e07ec4    00000010     test_genDLPSync.obj (.bss)

    .neardata
    *          0    10e07ed4    00000000     UNINITIALIZED

    .rodata    0    10e07ed4    00000000     UNINITIALIZED

    .cinit     0    10e07ed4    000000dc     
                      10e07ed4    000000a8     (.cinit..fardata.load) [load image, compression = rle]
                      10e07f7c    0000000c     (__TI_handler_table)
                      10e07f88    00000008     (.cinit..bss.load) [load image, compression = zero_init]
                      10e07f90    00000008     (.cinit..far.load) [load image, compression = zero_init]
                      10e07f98    00000018     (__TI_cinit_table)


    LINKER GENERATED COPY TABLES

    __TI_cinit_table @ 10e07f98 records: 3, size/record: 8, table size: 24
        .fardata: load addr=10e07ed4, load size=000000a8 bytes, run addr=00820610, run size=00000390 bytes, compression=rle
        .bss: load addr=10e07f88, load size=00000008 bytes, run addr=10e07ec4, run size=00000010 bytes, compression=zero_init
        .far: load addr=10e07f90, load size=00000008 bytes, run addr=00820000, run size=00000610 bytes, compression=zero_init


    LINKER GENERATED HANDLER TABLE

    __TI_handler_table @ 10e07f7c records: 3, size/record: 4, table size: 12
        index: 0, handler: __TI_zero_init
        index: 1, handler: __TI_decompress_rle24
        index: 2, handler: __TI_decompress_none


    GLOBAL SYMBOLS: SORTED ALPHABETICALLY BY Name

    address    name
    --------   ----
    10e065e0   C$$EXIT
    10e06258   C$$IO$$
    10e06620   CSL_tscEnable
    10e06628   CSL_tscRead
    10e07ed0   Cold_cycles
    10e055a0   HOSTclose
    10e04420   HOSTlseek
    10e04720   HOSTopen
    10e04e20   HOSTread
    10e03560   HOSTrename
    10e04ee0   HOSTunlink
    10e04fa0   HOSTwrite
    00800000   __ASM__
    00820ba0   __CIOBUF_
    00800088   __ISA__
    008000a0   __PLAT__
    008000c8   __TARG__
    10e07f98   __TI_CINIT_Base
    10e07fb0   __TI_CINIT_Limit
    10e07f7c   __TI_Handler_Table_Base
    10e07f88   __TI_Handler_Table_Limit
    UNDEFED    __TI_INITARRAY_Base
    UNDEFED    __TI_INITARRAY_Limit
    10e07920   __TI_STACK_END
    00001000   __TI_STACK_SIZE
    10e07ec4   __TI_STATIC_BASE
    00020000   __TI_SYSMEM_SIZE
    00000001   __TI_args_main
    10e06660   __TI_decompress_none
    10e06680   __TI_decompress_rle24
    00820980   __TI_enable_exit_profile_output
    ffffffff   __TI_pprof_out_hndl
    ffffffff   __TI_prof_data_size
    ffffffff   __TI_prof_data_start
    10e04aa0   __TI_zero_init
    008000f0   __TRDR__
    ffffffff   __binit__
    10e00000   __c6xabi_divd
    10e05120   __c6xabi_divu
    10e03700   __c6xabi_divul
    10e02700   __c6xabi_divull
    10e06020   __c6xabi_frcmpyd_div
    10e06380   __c6xabi_isinf
    10e05da0   __c6xabi_llshl
    10e06080   __c6xabi_llshru
    10e06500   __c6xabi_negll
    008209a0   __c_args__
    10e06520   __cxa_atexit
    10e05060   __cxa_finalize
    10e06540   __cxa_ia64_exit
    10e05120   __divu
    10e06560   __xdc__init
    00820954   __xdc__init__addr
    10e06400   _args_main
    00000200   _argsize
    10e03ba0   _auto_init_elf
    10e05640   _c_int00
    10e051e0   _cleanup
    00820978   _cleanup_ptr
    10e07cb0   _ctypes_
    10e052a0   _doflush
    0082097c   _dtors_ptr
    00820998   _ft_end
    00820610   _ftable
    00820990   _lock
    10e060e0   _minit
    10e06580   _nop
    10e01000   _printfi
    10e06920   _stack
    10e06140   _subcull
    00800000   _sys_memory
    00820400   _tmpnams
    00820994   _unlock
    10e04520   _wrt_ok
    10e065e0   abort
    10e06600   atexit
    10e048e0   atoi
    ffffffff   binit
    10e049c0   close
    10e04b80   exit
    10e04300   fclose
    10e03e20   fputc
    10e01460   fputs
    10e02220   free
    10e05360   fseek
    10e05420   lseek
    10e04c60   ltoa
    10e040a0   main
    10e033a0   malloc
    10e061a0   memccpy
    10e05960   memcpy
    10e04d40   memset
    10e05e20   printf
    10e06640   ranClock
    10e05ea0   readmsg
    10e05f20   remove
    10e03a20   setvbuf
    10e07ec4   t1
    10e07ec8   t2
    10e07ecc   tsc_overhead
    10e05f20   unlink
    10e054e0   write
    10e06200   writemsg
    00820908   xdc_runtime_Error_Module__state__V
    0082090c   xdc_runtime_GateNull_Module__root__V
    10e066a0   xdc_runtime_GateNull_enter__E
    10e066c0   xdc_runtime_GateNull_enter__F
    10e066e0   xdc_runtime_GateNull_leave__E
    10e06700   xdc_runtime_GateNull_leave__F
    10e06720   xdc_runtime_Gate_enterSystem__E
    10e06740   xdc_runtime_Gate_enterSystem__F
    10e06760   xdc_runtime_Gate_leaveSystem__E
    10e06440   xdc_runtime_Gate_leaveSystem__F
    00820914   xdc_runtime_HeapStd_Module__root__V
    0082091c   xdc_runtime_HeapStd_Module__state__V
    00820920   xdc_runtime_Memory_Module__state__V
    00820924   xdc_runtime_Registry_Module__state__V
    0082092c   xdc_runtime_Startup_Module__state__V
    00000001   xdc_runtime_Startup__EXECFXN__C
    00000001   xdc_runtime_Startup__RESETFXN__C
    10e07db4   xdc_runtime_Startup_execImpl__C
    10e06780   xdc_runtime_Startup_exec__E
    10e04620   xdc_runtime_Startup_exec__F
    10e06480   xdc_runtime_Startup_exec__I
    10e07e84   xdc_runtime_Startup_firstFxns__C
    10e07ea0   xdc_runtime_Startup_lastFxns__A
    10e07e8c   xdc_runtime_Startup_lastFxns__C
    10e07e94   xdc_runtime_Startup_maxPasses__C
    10e067a0   xdc_runtime_Startup_reset__I
    10e07ea8   xdc_runtime_Startup_sfxnRts__A
    10e07ea4   xdc_runtime_Startup_sfxnRts__C
    10e07e98   xdc_runtime_Startup_sfxnTab__A
    10e07eac   xdc_runtime_Startup_sfxnTab__C
    10e07eb0   xdc_runtime_Startup_startModsFxn__C
    10e024a0   xdc_runtime_Startup_startMods__I
    00820000   xdc_runtime_SysMin_Module_State_0_outbuf__A
    00820934   xdc_runtime_SysMin_Module__state__V
    10e067c0   xdc_runtime_SysMin_Module_startup__E
    10e06260   xdc_runtime_SysMin_Module_startup__F
    10e067e0   xdc_runtime_SysMin_abort__E
    10e05b40   xdc_runtime_SysMin_abort__F
    10e07eb4   xdc_runtime_SysMin_bufSize__C
    10e06800   xdc_runtime_SysMin_exit__E
    10e062c0   xdc_runtime_SysMin_exit__F
    10e07ec0   xdc_runtime_SysMin_flushAtExit__C
    10e05be0   xdc_runtime_SysMin_flush__F
    10e07eb8   xdc_runtime_SysMin_outputFunc__C
    10e06320   xdc_runtime_SysMin_output__I
    10e05c80   xdc_runtime_SysMin_putch__F
    10e06820   xdc_runtime_System_Module_GateProxy_enter__E
    10e06840   xdc_runtime_System_Module_GateProxy_leave__E
    00820958   xdc_runtime_System_Module_State_0_atexitHandlers__A
    10e07ebc   xdc_runtime_System_Module__gateObj__C
    00820940   xdc_runtime_System_Module__state__V
    10e06860   xdc_runtime_System_Module_startup__E
    10e06880   xdc_runtime_System_Module_startup__F
    10e068a0   xdc_runtime_System_SupportProxy_abort__E
    10e068c0   xdc_runtime_System_SupportProxy_exit__E
    10e068e0   xdc_runtime_System_abort__E
    10e064c0   xdc_runtime_System_abort__F
    10e06900   xdc_runtime_System_lastFxn__I
    10e05fa0   xdc_runtime_System_rtsExit__I
    0082094c   xdc_runtime_Text_Module__state__V
    10e07920   xdc_runtime_Text_charTab__A
    10e07db8   xdc_runtime_Text_nodeTab__A


    GLOBAL SYMBOLS: SORTED BY Symbol Address

    address    name
    --------   ----
    00000001   __TI_args_main
    00000001   xdc_runtime_Startup__EXECFXN__C
    00000001   xdc_runtime_Startup__RESETFXN__C
    00000200   _argsize
    00001000   __TI_STACK_SIZE
    00020000   __TI_SYSMEM_SIZE
    00800000   __ASM__
    00800000   _sys_memory
    00800088   __ISA__
    008000a0   __PLAT__
    008000c8   __TARG__
    008000f0   __TRDR__
    00820000   xdc_runtime_SysMin_Module_State_0_outbuf__A
    00820400   _tmpnams
    00820610   _ftable
    00820908   xdc_runtime_Error_Module__state__V
    0082090c   xdc_runtime_GateNull_Module__root__V
    00820914   xdc_runtime_HeapStd_Module__root__V
    0082091c   xdc_runtime_HeapStd_Module__state__V
    00820920   xdc_runtime_Memory_Module__state__V
    00820924   xdc_runtime_Registry_Module__state__V
    0082092c   xdc_runtime_Startup_Module__state__V
    00820934   xdc_runtime_SysMin_Module__state__V
    00820940   xdc_runtime_System_Module__state__V
    0082094c   xdc_runtime_Text_Module__state__V
    00820954   __xdc__init__addr
    00820958   xdc_runtime_System_Module_State_0_atexitHandlers__A
    00820978   _cleanup_ptr
    0082097c   _dtors_ptr
    00820980   __TI_enable_exit_profile_output
    00820990   _lock
    00820994   _unlock
    00820998   _ft_end
    008209a0   __c_args__
    00820ba0   __CIOBUF_
    10e00000   __c6xabi_divd
    10e01000   _printfi
    10e01460   fputs
    10e02220   free
    10e024a0   xdc_runtime_Startup_startMods__I
    10e02700   __c6xabi_divull
    10e033a0   malloc
    10e03560   HOSTrename
    10e03700   __c6xabi_divul
    10e03a20   setvbuf
    10e03ba0   _auto_init_elf
    10e03e20   fputc
    10e040a0   main
    10e04300   fclose
    10e04420   HOSTlseek
    10e04520   _wrt_ok
    10e04620   xdc_runtime_Startup_exec__F
    10e04720   HOSTopen
    10e048e0   atoi
    10e049c0   close
    10e04aa0   __TI_zero_init
    10e04b80   exit
    10e04c60   ltoa
    10e04d40   memset
    10e04e20   HOSTread
    10e04ee0   HOSTunlink
    10e04fa0   HOSTwrite
    10e05060   __cxa_finalize
    10e05120   __c6xabi_divu
    10e05120   __divu
    10e051e0   _cleanup
    10e052a0   _doflush
    10e05360   fseek
    10e05420   lseek
    10e054e0   write
    10e055a0   HOSTclose
    10e05640   _c_int00
    10e05960   memcpy
    10e05b40   xdc_runtime_SysMin_abort__F
    10e05be0   xdc_runtime_SysMin_flush__F
    10e05c80   xdc_runtime_SysMin_putch__F
    10e05da0   __c6xabi_llshl
    10e05e20   printf
    10e05ea0   readmsg
    10e05f20   remove
    10e05f20   unlink
    10e05fa0   xdc_runtime_System_rtsExit__I
    10e06020   __c6xabi_frcmpyd_div
    10e06080   __c6xabi_llshru
    10e060e0   _minit
    10e06140   _subcull
    10e061a0   memccpy
    10e06200   writemsg
    10e06258   C$$IO$$
    10e06260   xdc_runtime_SysMin_Module_startup__F
    10e062c0   xdc_runtime_SysMin_exit__F
    10e06320   xdc_runtime_SysMin_output__I
    10e06380   __c6xabi_isinf
    10e06400   _args_main
    10e06440   xdc_runtime_Gate_leaveSystem__F
    10e06480   xdc_runtime_Startup_exec__I
    10e064c0   xdc_runtime_System_abort__F
    10e06500   __c6xabi_negll
    10e06520   __cxa_atexit
    10e06540   __cxa_ia64_exit
    10e06560   __xdc__init
    10e06580   _nop
    10e065e0   C$$EXIT
    10e065e0   abort
    10e06600   atexit
    10e06620   CSL_tscEnable
    10e06628   CSL_tscRead
    10e06640   ranClock
    10e06660   __TI_decompress_none
    10e06680   __TI_decompress_rle24
    10e066a0   xdc_runtime_GateNull_enter__E
    10e066c0   xdc_runtime_GateNull_enter__F
    10e066e0   xdc_runtime_GateNull_leave__E
    10e06700   xdc_runtime_GateNull_leave__F
    10e06720   xdc_runtime_Gate_enterSystem__E
    10e06740   xdc_runtime_Gate_enterSystem__F
    10e06760   xdc_runtime_Gate_leaveSystem__E
    10e06780   xdc_runtime_Startup_exec__E
    10e067a0   xdc_runtime_Startup_reset__I
    10e067c0   xdc_runtime_SysMin_Module_startup__E
    10e067e0   xdc_runtime_SysMin_abort__E
    10e06800   xdc_runtime_SysMin_exit__E
    10e06820   xdc_runtime_System_Module_GateProxy_enter__E
    10e06840   xdc_runtime_System_Module_GateProxy_leave__E
    10e06860   xdc_runtime_System_Module_startup__E
    10e06880   xdc_runtime_System_Module_startup__F
    10e068a0   xdc_runtime_System_SupportProxy_abort__E
    10e068c0   xdc_runtime_System_SupportProxy_exit__E
    10e068e0   xdc_runtime_System_abort__E
    10e06900   xdc_runtime_System_lastFxn__I
    10e06920   _stack
    10e07920   __TI_STACK_END
    10e07920   xdc_runtime_Text_charTab__A
    10e07cb0   _ctypes_
    10e07db4   xdc_runtime_Startup_execImpl__C
    10e07db8   xdc_runtime_Text_nodeTab__A
    10e07e84   xdc_runtime_Startup_firstFxns__C
    10e07e8c   xdc_runtime_Startup_lastFxns__C
    10e07e94   xdc_runtime_Startup_maxPasses__C
    10e07e98   xdc_runtime_Startup_sfxnTab__A
    10e07ea0   xdc_runtime_Startup_lastFxns__A
    10e07ea4   xdc_runtime_Startup_sfxnRts__C
    10e07ea8   xdc_runtime_Startup_sfxnRts__A
    10e07eac   xdc_runtime_Startup_sfxnTab__C
    10e07eb0   xdc_runtime_Startup_startModsFxn__C
    10e07eb4   xdc_runtime_SysMin_bufSize__C
    10e07eb8   xdc_runtime_SysMin_outputFunc__C
    10e07ebc   xdc_runtime_System_Module__gateObj__C
    10e07ec0   xdc_runtime_SysMin_flushAtExit__C
    10e07ec4   __TI_STATIC_BASE
    10e07ec4   t1
    10e07ec8   t2
    10e07ecc   tsc_overhead
    10e07ed0   Cold_cycles
    10e07f7c   __TI_Handler_Table_Base
    10e07f88   __TI_Handler_Table_Limit
    10e07f98   __TI_CINIT_Base
    10e07fb0   __TI_CINIT_Limit
    ffffffff   __TI_pprof_out_hndl
    ffffffff   __TI_prof_data_size
    ffffffff   __TI_prof_data_start
    ffffffff   __binit__
    ffffffff   binit
    UNDEFED    __TI_INITARRAY_Base
    UNDEFED    __TI_INITARRAY_Limit

    [165 symbols]

  • Hi HRi,

         Currently I am working with the C6670 Simulator version only. I am not sure whether SYS/BIOS is available with the simulator version or not...? Please clarify me whether SYS/BIOS can be enabled for simulator version or not....? If yes, please say how to configure it so as to enable L1PSRAM of CorePac 0...

    Regards,

    Denzil

  • Denzil,

    I have reproduced it by simulator.  I confirmed it did not occur by actual device (on EVM).

    I will check if the simulator supports L1P memory mapping.

    Regards,
    Atsushi

  • Hi Denzil,

    You can run the SYS/BIOS on the simulator, just take one of the SYS/BIOS example projects define C6670 simulator project, set the L1PSRAM section length to 32k and than you can put your function into this section,

    Thanks,

    HR

  • Moving this to the Code Composure forum as this is a Simulator issue.  They should be able to address this better in that forum.

  • Hi Denzil,

    I'm sorry for the late reply.  I needed to discuss it internally.

    You can load the code to L1P in the C6670 cycle approximate simulator, but there are some requirements (or restrictions).

    • You may need the latest CCS.  My CCS 5.1.1 did not work.  A colleague confirmed CCS 5.3 RC1 did work.  (I have also confirmed it.)
    • We need to load the code into the core local L1P address (0x00e00000) instead of global address (0x10e00000).  In short, you need modify the .cmd file.
    • Prior loading, we need to set L1PMODE in the L1PCFG register which is located at 0x1840020, to allow loading into L1P.  Unfortunately, the simulator does not support to edit the register by CCS memory dump window.  Instead, we need to modify the register by running code on the DSP core.  To realize it, we can run the following simple program.  After running it, now you will be able to load your original code.  (Once again, loading address still need to be global address instead of local address.)

    To change L1PCFG to zero (0K cache.  Everything is memory-mapped), you can run

    void main(void) {
        *((volatile int*) 0x1840020) = 0;
    }

    Regarding the restriction (or specification) that we can not load program into L1P global address, could you please refer the following explanation?

    • http://processors.wiki.ti.com/index.php/TCI6616/C6670/TCI6608/C6678/TCI6618_Device_simulator_User_Guide#Cycle_Approximate_Simulator_Limitations

    We are afraid that the description "The viewing the contents of other core’s internal memory from a given core is not supported" implies the restriction.

    Thanks and Regards,
    Atsushi