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.

A question about Binary file running from L2?

Hi experts,

 

My setup:

Board: EVMK2H Rev 40.

MCSDK: MCSDK_bios_3_01_00_03

 

I use a way of  download to run a i.out file , it does run up from the  ENTRY POINT (0085b9e0).

 

I put the .bin file (converted from i.out) in the DDR, and then move it to L2. Third, I set its ENTRY POINT (0085b9e0). As a result,it doesn't  run up from the ENTRY POINT.

 

Could you tell me What happened?  How I to solve it?

 

Thanks!

Brian

******************************************************************************
               TMS320C6x Linker PC v7.4.4                      
******************************************************************************
>> Linked Mon Jun 27 16:30:36 2016

OUTPUT FILE NAME:   <HelloWorld_cmd_EVMTCI6638K2K(COFF).out>
ENTRY POINT SYMBOL: "_c_int00"  address: 0085b9e0


MEMORY CONFIGURATION

         name            origin    length      used     unused   attr    fill
----------------------  --------  ---------  --------  --------  ----  --------
  L2SRAM                0085b480   0000b000  00000ab4  0000a54c  RWIX
  MSMCSRAM              0c000000   00600000  00000000  00600000  RWIX
  DDR3                  80000000   80000000  00000000  80000000  RWIX


SECTION ALLOCATION MAP

 output                                  attributes/
section   page    origin      length       input sections
--------  ----  ----------  ----------   ----------------
.text      0    0085b480    00000660     
                  0085b480    00000240     rts6200.lib : memcpy62.obj (.text:_memcpy)
                  0085b6c0    00000100                 : autoinit.obj (.text:__auto_init)
                  0085b7c0    000000e0                 : exit.obj (.text:_exit)
                  0085b8a0    000000c0                 : cpy_tbl.obj (.text:_copy_in)
                  0085b960    00000080                 : cpp_init.obj (.text:___TI_cpp_init)

                  0085b9e0    00000080                 : boot.obj (.text:_c_int00)
                  0085ba60    00000040                 : args_main.obj (.text:__args_main)
                  0085baa0    00000020     Shello.obj (.text)
                  0085bac0    00000020     rts6200.lib : exit.obj (.text:_abort)

.stack     0    0085bae0    00000400     UNINITIALIZED
                  0085bae0    00000008     rts6200.lib : boot.obj (.stack)
                  0085bae8    000003f8     --HOLE--

.cinit     0    0085bee0    00000044     
                  0085bee0    0000002c     rts6200.lib : exit.obj (.cinit)
                  0085bf0c    00000004     --HOLE-- [fill = 0]
                  0085bf10    0000000c     Shello.obj (.cinit)
                  0085bf1c    00000004     --HOLE-- [fill = 0]
                  0085bf20    00000004     (.pad.cinit) [fill = 0]

.far       0    0085bf24    0000000c     UNINITIALIZED
                  0085bf24    0000000c     rts6200.lib : exit.obj (.far)

.bss       0    0085bf30    00000004     UNINITIALIZED
                  0085bf30    00000004     Shello.obj (.bss)


GLOBAL SYMBOLS: SORTED ALPHABETICALLY BY Name 

address    name
--------   ----
0085bf30   $bss
0085bf30   .bss
0085b480   .text
0085bac0   C$$EXIT
0085bee0   __STACK_END
00000400   __STACK_SIZE
00000001   __TI_args_main
0085b960   ___TI_cpp_init
0085bf2c   ___TI_enable_exit_profile_output
ffffffff   ___TI_pprof_out_hndl
ffffffff   ___TI_prof_data_size
ffffffff   ___TI_prof_data_start
ffffffff   ___binit__
0085bf30   ___bss__
ffffffff   ___c_args__
0085bee0   ___cinit__
0085bf34   ___end__
0085bae0   ___etext__
ffffffff   ___pinit__
0085b480   ___text__
0085ba60   __args_main
0085b6c0   __auto_init
0085bf24   __cleanup_ptr
0085bf28   __dtors_ptr
0085bae0   __stack
0085bf30   _a
0085bac0   _abort
0085b9e0   _c_int00
0085b8a0   _copy_in
0085b7c0   _exit
0085baa0   _main
0085b480   _memcpy
ffffffff   binit
0085bee0   cinit
0085bf34   end
0085bae0   etext
ffffffff   pinit


GLOBAL SYMBOLS: SORTED BY Symbol Address 

address    name
--------   ----
00000001   __TI_args_main
00000400   __STACK_SIZE
0085b480   .text
0085b480   ___text__
0085b480   _memcpy
0085b6c0   __auto_init
0085b7c0   _exit
0085b8a0   _copy_in
0085b960   ___TI_cpp_init
0085b9e0   _c_int00
0085ba60   __args_main
0085baa0   _main
0085bac0   C$$EXIT
0085bac0   _abort
0085bae0   ___etext__
0085bae0   __stack
0085bae0   etext
0085bee0   __STACK_END
0085bee0   ___cinit__
0085bee0   cinit
0085bf24   __cleanup_ptr
0085bf28   __dtors_ptr
0085bf2c   ___TI_enable_exit_profile_output
0085bf30   $bss
0085bf30   .bss
0085bf30   ___bss__
0085bf30   _a
0085bf34   ___end__
0085bf34   end
ffffffff   ___TI_pprof_out_hndl
ffffffff   ___TI_prof_data_size
ffffffff   ___TI_prof_data_start
ffffffff   ___binit__
ffffffff   ___c_args__
ffffffff   ___pinit__
ffffffff   binit
ffffffff   pinit

[37 symbols]