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.

C6713 copy table creation using hex6x problem

Other Parts Discussed in Thread: CCSTUDIO

Hi,

my program does not fit in IRAM, so to boot it from flash and copy some sections to IRAM and some to SDRAM I choose copy table creation using hex6x utility. I used example from spra999a.zip (rf3_dsk6713_boot\referenceframeworks\apps\rf3\dsk6713_boot2). FLASH_BOOT and FLASH_RAM removed, no specified separated load adresses. I copied boot_c671x.s62, c6713_emif.s62, boot_c671x.h62 to my project, added another section to external cmd file

SECTIONS

{

    .boot_load: > BOOT_RAM

}

and compiled my program with enhanced "final build step" (build options in CCS 3.1) to use hex6x and external cmh configuration file for this utility. This cmd file is as follows:

wavelet_try_agata_boot.out                      /* input COFF file */

-a                                      /* create ASCII image */

-image                                  /* Create a memory image (no discontinuities) */

-zero                                   /* reset address origin to 0 for output file(s) */

-memwidth 8                             /* Width of ROM/Flash memory */

-map wavelet_try_agata_boot.map                   /* create a hex map file */

-boot                                   /* create a boot table for all initialized sects */

-bootorg 0x90000400                     /* address of the boot/copy-table */

-bootsection .boot_load 0x90000000      /* section containing our asm boot routine */

ROMS

{

    FLASH: org = 0x90000000, len = 0x0040000, romwidth = 8, files = {wavelet_try_agata_boot.hex}

}

As you can see there is nothing explorative in this code :-)
Compilation result:
[Linking...] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -@"Custom_MW.lkf"
<Linking>

hex6x "apphex.cmd"
Translating wavelet_try_agata_boot.out to ASCII-Hex format...
   "wavelet_try_agata_boot.out"   ==> .boot_load
   "wavelet_try_agata_boot.out"   ==> .stack (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .cinit (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .pinit (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .const (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .switch (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .text (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .hwi_vec (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .sysinit (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .rtdx_text (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .args (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .gblinit (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .trcdata (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .bios (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .log (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .LOG_system$buf (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .LOG_MW1$buf (BOOT LOAD)
   "wavelet_try_agata_boot.out"   ==> .sts (BOOT LOAD)

Build Complete,
0 errors, 18 warnings 
This warnings are not significant for this application (redefinitions with same types).
Everything seems to be ok, hex file created, so it can be load to flash. But it is not working. So I looked to map file generated by hex6x:
********************************************************************************
TMS320C6x COFF/Hex Converter                                              v5.1.0
********************************************************************************

INPUT FILE NAME: <wavelet_try_agata_boot.out>
OUTPUT FORMAT:   ASCII-Hex

PHYSICAL MEMORY PARAMETERS
   Default data width   :   8
   Default memory width :   8
   Default output width :   8

BOOT LOADER PARAMETERS
   Table Address: 0x90000400, PAGE 0
   Entry Point  : 0x800294a0


OUTPUT TRANSLATION MAP
--------------------------------------------------------------------------------
90000000..9003ffff  Page=0  Memory Width=8  ROM Width=8  "FLASH"
--------------------------------------------------------------------------------
   OUTPUT FILES: wavelet_try_agata_boot.hex [b0..b7]

   CONTENTS: 90000000..9000ae2b   FILL = 00000000
             90000400..9000f417   BOOT TABLE
                            .bios : btad=9000ae2c  dest=80020000 size=00004320
                             .log : btad=9000f154  dest=80029d08 size=00000030
                  .LOG_system$buf : btad=9000f18c  dest=80029600 size=00000100
                     .LOG_MW1$buf : btad=9000f294  dest=80029700 size=00000100
                             .sts : btad=9000f39c  dest=80029c34 size=00000070
             9000f418..9003ffff   FILL = 00000000

Wait... there is a lot of sections missed! I tried to do the same using example, and there everything is ok:
********************************************************************************
TMS320C6x COFF/Hex Converter                                              v5.1.0
********************************************************************************

INPUT FILE NAME: <.\Debug\app.out>
OUTPUT FORMAT:   ASCII-Hex

PHYSICAL MEMORY PARAMETERS
   Default data width   :   8
   Default memory width :   8
   Default output width :   8

BOOT LOADER PARAMETERS
   Table Address: 0x90000400, PAGE 0
   Entry Point  : 0x11080


OUTPUT TRANSLATION MAP
--------------------------------------------------------------------------------
90000000..9003ffff  Page=0  Memory Width=8  ROM Width=8  "FLASH"
--------------------------------------------------------------------------------
   OUTPUT FILES: .\Hex\app.hex [b0..b7]

   CONTENTS: 90000000..9000011f   .boot_load
             90000120..900003ff   FILL = 00000000
             90000400..9000e717   BOOT TABLE
                         .hwi_vec : btad=90000400  dest=00010000 size=00000200
                         .sysinit : btad=9000060c  dest=00010e00 size=00000360
                         .trcdata : btad=90000974  dest=000117e8 size=0000000c
                         .gblinit : btad=90000988  dest=000117c0 size=00000028
                           .cinit : btad=900009b8  dest=0000cf60 size=0000187c
                           .pinit : btad=9000223c  dest=000117f4 size=0000000c
                           .const : btad=90002250  dest=00011de0 size=0000028e
                          .switch : btad=900024e8  dest=000123f0 size=00000028
                            .text : btad=90002518  dest=00000400 size=00007ae0
                            .bios : btad=9000a000  dest=00007ee0 size=00003080
                           .stack : btad=9000d088  dest=00010650 size=00000400
                       .rtdx_text : btad=9000d490  dest=0000e7e0 size=00000cc0
                            .args : btad=9000e158  dest=0001064c size=00000004
                             .log : btad=9000e164  dest=00010bb0 size=00000030
                  .LOG_system$buf : btad=9000e19c  dest=0000fe00 size=00000200
                    .logTrace$buf : btad=9000e3a4  dest=00010c00 size=00000200
                             .sts : btad=9000e5ac  dest=00010a50 size=00000160
             9000e718..9003ffff   FILL = 00000000
Bootload, cinit, pinit, stack, text, switch... everything has own destination. And by me, of course not :) Also  compilation result ("app.out"   ==> .boot_load
   "app.out"   ==> .stack (BOOT LOAD), ... ) looks very similar to my app. Map file for project looks ok, and it is as follows: 
Map file for IRAM and SDRAM:

*****************************************************************************
          TMS320C6x COFF Linker PC v5.1.0                      
******************************************************************************
>> Linked Thu Nov 24 15:31:50 2011

OUTPUT FILE NAME:   <wavelet_try_agata_boot.out>
ENTRY POINT SYMBOL: "_c_int00"  address: 800294a0


MEMORY CONFIGURATION

                  name            origin    length      used    attr    fill
         ----------------------  --------  ---------  --------  ----  --------
         BOOT_RAM                00000000   00000400  00000120  RWIX
         IRAM                    00000400   0002fc00  0002baed  RWIX
         SDRAM                   80000000   10000000  00029d64  RWIX


SECTION ALLOCATION MAP

 output                                  attributes/
section   page    origin      length       input sections
--------  ----  ----------  ----------   ----------------
.sysdata   0    80000000    00000000     UNINITIALIZED

.sysregs   0    80000000    00000000     UNINITIALIZED

.hwi       0    80000000    00000000     UNINITIALIZED

.trace     0    80000000    00000000     UNINITIALIZED

.gio       0    80000000    00000000     UNINITIALIZED

.SDRAM$heap 
*          0    80000000    00020000     UNINITIALIZED

.bios      0    80020000    00004320     
                  80020000    000006e0     biosi.a62 : swi.o62 (.bios)
                  800206e0    00000540     lnkrtdx.a62 : rtdx.o62 (.bios)
                  80020c20    00000440     biosi.a62 : hwi_disp_asm.o6 (.bios)
                  80021060    00000320               : prd.o62 (.bios)
                  80021380    00000320               : tsk_setp_inst.o (.bios)
                  800216a0    000002a0               : knl_run_inst.o6 (.bios)
                  80021940    000002a0               : sem_pend_inst.o (.bios)
                  80021be0    00000280               : rta.o62 (.bios)
                  80021e60    00000260               : knl_tick_inst.o (.bios)
                  800220c0    00000260               : c62_plug.o62 (.bios)
                  80022320    00000220               : clk.o62 (.bios)
                  80022540    00000220               : pip.o62 (.bios)
                  80022760    00000200               : sem_dopo_inst.o (.bios)
                  80022960    00000200               : tsk_setu_inst.o (.bios)
                  80022b60    000001e0               : tsk_exit_inst.o (.bios)
                  80022d40    000001c0               : knl_swit_inst.o (.bios)
                  80022f00    000001a0               : autoinit.o62 (.bios)
                  800230a0    00000120               : tsk_stup_inst.o (.bios)
                  800231c0    00000100               : knl_exit_inst.o (.bios)
                  800232c0    00000100               : knl_chec_inst.o (.bios)
                  800233c0    00000100               : idl_cal.o62 (.bios)
                  800234c0    000000e0               : sem_post_asm_in (.bios)
                  800235a0    000000e0               : sem_post_inst.o (.bios)
                  80023680    000000c0               : mem_init_inst.o (.bios:.near)
                  80023740    000000c0               : knl_post_inst.o (.bios)
                  80023800    000000c0               : sys_exit_inst.o (.bios)
                  800238c0    000000c0               : lck_inst.o62 (.bios)
                  80023980    000000a0               : sem_ipos_inst.o (.bios)
                  80023a20    000000a0               : atm_inst.o62 (.bios)
                  80023ac0    000000a0               : knl_ipos_inst.o (.bios)
                  80023b60    000000a0               : clk_start6x.o62 (.bios)
                  80023c00    00000080               : idl_busy.o62 (.bios)
                  80023c80    00000080               : gbl_cslinit62.o (.bios)
                  80023d00    00000080               : hwi_disp.o62 (.bios)
                  80023d80    00000080               : log.o62 (.bios)
                  80023e00    00000080               : fxn.o62 (.bios)
                  80023e80    00000060               : sts.o62 (.bios)
                  80023ee0    00000060               : que_get_inst.o6 (.bios)
                  80023f40    00000060               : sem_pend_asm_in (.bios)
                  80023fa0    00000060               : tsk_init_inst.o (.bios)
                  80024000    00000060               : utl_doab_inst.o (.bios)
                  80024060    00000060               : utl_putc_inst.o (.bios)
                  800240c0    00000060               : hwi_c.o62 (.bios)
                  80024120    00000060               : trc_c.o62 (.bios)
                  80024180    00000040               : rta_andn.o62 (.bios)
                  800241c0    00000040               : swi_post.o62 (.bios)
                  80024200    00000040               : idl_stub_inst.o (.bios)
                  80024240    00000020               : idl.o62 (.bios)
                  80024260    00000020               : fxn_c.o62 (.bios)
                  80024280    00000020               : utl_halt_inst.o (.bios)
                  800242a0    00000020               : utl_doer_inst.o (.bios)
                  800242c0    00000020               : gbl_vers.o62 (.bios)
                  800242e0    00000020               : sts_set.o62 (.bios)
                  80024300    00000020               : log_printf.o62 (.bios)

.Task0$stk 
*          0    80024320    00002000     UNINITIALIZED
                  80024320    00002000     wavelet_try_agata_bootcfg.obj (.Task0$stk)

.Task1$stk 
*          0    80026320    00002000     UNINITIALIZED
                  80026320    00002000     wavelet_try_agata_bootcfg.obj (.Task1$stk)

.rtdx_text 
*          0    80028320    00000cc0     
                  80028320    00000700     rtdx.lib : rtdx_mon.o62 (.rtdx_text)
                  80028a20    00000580              : buffer1.o62 (.rtdx_text)
                  80028fa0    00000040              : intr_tgt.o62 (.rtdx_text)

.idl       0    80028fe0    00000020     UNINITIALIZED
                  80028fe0    00000010     wavelet_try_agata_bootcfg.obj (.idl)
                  80028ff0    00000010     wavelet_try_agata_bootcfg.obj (.idlcal)

.hwi_vec   0    80029000    00000200     
                  80029000    00000200     wavelet_try_agata_bootcfg.obj (.hwi_vec)

.sysinit   0    80029200    00000380     
                  80029200    000002a0     wavelet_try_agata_bootcfg.obj (.sysinit)
                  800294a0    000000e0     biosi.a62 : boot.o62 (.sysinit)

.sem       0    80029580    00000078     UNINITIALIZED
                  80029580    00000078     wavelet_try_agata_bootcfg.obj (.sem)

.mem       0    800295f8    00000004     UNINITIALIZED
                  800295f8    00000004     wavelet_try_agata_bootcfg.obj (.mem)

.args      0    800295fc    00000004     
                  800295fc    00000004     --HOLE-- [fill = 00000000]

.LOG_system$buf 
*          0    80029600    00000100     
                  80029600    00000100     wavelet_try_agata_bootcfg.obj (.LOG_system$buf) [fill = ffffffff]

.LOG_MW1$buf 
*          0    80029700    00000100     
                  80029700    00000100     wavelet_try_agata_bootcfg.obj (.LOG_MW1$buf) [fill = ffffffff]

.tsk       0    80029800    000001e0     UNINITIALIZED
                  80029800    000001e0     wavelet_try_agata_bootcfg.obj (.tsk)

.rtdx_data 
*          0    800299e0    00000154     UNINITIALIZED
                  800299e0    00000118     wavelet_try_agata_bootcfg.obj (.rtdx_data)
                  80029af8    00000020     rtdx.lib : buffer1.o62 (.rtdx_data)
                  80029b18    0000001c              : rtdx_mon.o62 (.rtdx_data)

.hst0      0    80029b34    00000100     UNINITIALIZED
                  80029b34    00000100     wavelet_try_agata_bootcfg.obj (.hst0)

.sts       0    80029c34    00000070     
                  80029c34    00000070     wavelet_try_agata_bootcfg.obj (.sts)

.gblinit   0    80029ca4    00000064     
                  80029ca4    00000064     wavelet_try_agata_bootcfg.obj (.gblinit)

.log       0    80029d08    00000030     
                  80029d08    00000030     wavelet_try_agata_bootcfg.obj (.log)

.hst1      0    80029d38    00000010     UNINITIALIZED
                  80029d38    00000010     wavelet_try_agata_bootcfg.obj (.hst1)

.sys       0    80029d48    00000010     UNINITIALIZED
                  80029d48    00000010     wavelet_try_agata_bootcfg.obj (.sys)

.trcdata   0    80029d58    0000000c     
                  80029d58    0000000c     wavelet_try_agata_bootcfg.obj (.trcdata)

.boot_load 
*          0    00000000    00000120     
                  00000000    00000120     boot_c671x.obj (.boot_load)

.prd       0    00000400    00000000     UNINITIALIZED

.dsm       0    00000400    00000000     UNINITIALIZED

.data      0    00000400    00000000     UNINITIALIZED

.cio       0    00000400    00000000     UNINITIALIZED

frt        0    00000400    00000000     UNINITIALIZED

.far       0    00000400    0001f9cc     UNINITIALIZED
                  00000400    0001dee8     wavelet_try_agata_boot.obj (.far)
                  0001e2e8    0000000c     biosi.a62 : utl_putc_inst.o (.far)
                  0001e2f4    00000008     rts6700.lib : _lock.obj (.far)
                  0001e2fc    00000004                 : errno.obj (.far)
                  0001e300    00001100     MW_c6xxx_csl.obj (.far)
                  0001f400    00000730     wavelet_try_agata_boot_data.obj (.far)
                  0001fb30    000000f4     csl6713.lib : csl_irq.obj (.far)
                  0001fc24    0000008c     rts6700.lib : exit.obj (.far)
                  0001fcb0    00000054     csl6713.lib : csl_edma.obj (.far)
                  0001fd04    00000040                 : csl_edmadsptr.obj (.far)
                  0001fd44    00000038                 : csl_mcbsp.obj (.far)
                  0001fd7c    00000028                 : csl.obj (.far)
                  0001fda4    00000024                 : csl_timer.obj (.far)
                  0001fdc8    00000004                 : csl_cache.obj (.far)

.pinit     0    0001fdcc    0000000c     
                  0001fdcc    00000004     rtdx.lib : rtdx_mon.o62 (.pinit)
                  0001fdd0    00000004              : buffer1.o62 (.pinit)
                  0001fdd4    00000004     --HOLE-- [fill = 0]

.clk       0    0001fdd8    00000008     UNINITIALIZED
                  0001fdd8    00000008     wavelet_try_agata_bootcfg.obj (.clk)

.text      0    0001fde0    00005ba0     
                  0001fde0    00001800     wavelet_try_agata_boot.obj (.text)
                  000215e0    000011e0     MW_c6xxx_csl.obj (.text)
                  000227c0    00000300     wavelet_try_agata_boot_main.obj (.text)
                  00022ac0    000002c0     csl6713.lib : csl_cache.obj (.text:_CACHE_setL2Mode)
                  00022d80    00000280     rts6700.lib : sqrt.obj (.text:_sqrt)
                  00023000    00000280     csl6713.lib : csl_edma.obj (.text:_EDMA_open)
                  00023280    00000260     MW_c6xxx_bsl.obj (.text)
                  000234e0    00000240     csl6713.lib : csl_cache.obj (.text:_CACHE_wait)
                  00023720    00000240     rts6700.lib : memcpy62.obj (.text:_memcpy)
                  00023960    00000220     csl6713.lib : csl.obj (.text:__CSL_init)
                  00023b80    000001c0                 : csl_irq.obj (.text:_mux2Tables)
                  00023d40    000001c0     rts6700.lib : ldexp.obj (.text:_ldexp)
                  00023f00    000001c0     csl6713.lib : csl_irq.obj (.text:_IRQ_map)
                  000240c0    000001a0                 : csl_edma.obj (.text:_EDMA_allocTable)
                  00024260    000001a0                 : csl_mcbsp.obj (.text:_MCBSP_reset)
                  00024400    00000180                 : csl_cache.obj (.text:_CACHE_clean)
                  00024580    00000160     rts6700.lib : frexp.obj (.text:_frexp)
                  000246e0    00000140                 : memset.obj (.text:_memset)
                  00024820    00000140     csl6713.lib : csl_timer.obj (.text:_TIMER_open)
                  00024960    00000140                 : csl_edma.obj (.text:_EDMA_reset)
                  00024aa0    00000120                 : csl_timer.obj (.text:_TIMER_reset)
                  00024bc0    00000100                 : csl_mcbsp.obj (.text:_MCBSP_open)
                  00024cc0    00000100                 : csl_mcbsp.obj (.text:_MCBSP_start)
                  00024dc0    00000100                 : csl_cache.obj (.text:_CACHE_wbInvL2)
                  00024ec0    00000100                 : csl_edma.obj (.text:_EDMA_intAlloc)
                  00024fc0    00000100                 : csl_cache.obj (.text:_CACHE_wbInvL1d)
                  000250c0    00000100                 : csl_cache.obj (.text:_CACHE_wbL2)
                  000251c0    000000e0                 : csl_edmadsptr.obj (.text:_EDMA_intDispatcher)
                  000252a0    000000e0     rts6700.lib : strasg.obj (.text:__strasg)
                  00025380    000000e0                 : exit.obj (.text:_atexit)
                  00025460    000000a0     csl6713.lib : csl_irq.obj (.text:_setMux)
                  00025500    000000a0                 : csl_irq.obj (.text:__IRQ_init)
                  000255a0    00000060                 : csl_edma.obj (.text:_EDMA_enableChannel)
                  00025600    00000060                 : csl_edmadsptr.obj (.text:_EDMA_intHook)
                  00025660    00000060                 : csl_edma.obj (.text:_EDMA_disableChannel)
                  000256c0    00000060                 : csl_timer.obj (.text:_TIMER_configArgs)
                  00025720    00000040                 : csl_irq.obj (.text:_IRQ_enable)
                  00025760    00000040                 : csl_timer.obj (.text:_TIMER_start)
                  000257a0    00000020                 : csl_irq.obj (.text:_IRQ_globalRestore)
                  000257c0    00000020     rts6700.lib : _lock.obj (.text:__register_lock)
                  000257e0    00000020     wavelet_try_agata_bootcfg_c.obj (.text:CSL_cfgInit)
                  00025800    00000020     csl6713.lib : csl_irq.obj (.text:_IRQ_globalDisable)
                  00025820    00000020     rts6700.lib : _lock.obj (.text:__nop)
                  00025840    00000020     csl6713.lib : csl_irq.obj (.text)
                  00025860    00000020     rts6700.lib : _lock.obj (.text:__register_unlock)
                  00025880    00000020     csl6713.lib : csl_edmadsptr.obj (.text:_EDMA_intDefaultHandler)
                  000258a0    00000020     (.T$0000)
                  000258c0    00000020     (.T$0001)
                  000258e0    00000020     (.T$0002)
                  00025900    00000020     (.T$0003)
                  00025920    00000020     (.T$0004)
                  00025940    00000020     (.T$0005)
                  00025960    00000020     (.T$0006)

.stack     0    00025980    00002000     
                  00025980    00002000     --HOLE-- [fill = 00c0ffee]

.cinit     0    00027980    00001a54     
                  00027980    000009bc     wavelet_try_agata_bootcfg.obj (.cinit)
                  0002833c    00000004     --HOLE-- [fill = 0]
                  00028340    00000738     wavelet_try_agata_boot_data.obj (.cinit)
                  00028a78    000002dc     biosi.a62 : biosdata.o62 (.cinit)
                  00028d54    00000004     --HOLE-- [fill = 0]
                  00028d58    0000012c     csl6713.lib : csl_irq.obj (.cinit)
                  00028e84    00000004     --HOLE-- [fill = 0]
                  00028e88    000000a8     biosi.a62 : knl_inst.o62 (.cinit)
                  00028f30    00000070     csl6713.lib : csl_edma.obj (.cinit)
                  00028fa0    0000005c     lnkrtdx.a62 : rtdx.o62 (.cinit)
                  00028ffc    00000004     --HOLE-- [fill = 0]
                  00029000    00000054     csl6713.lib : csl_mcbsp.obj (.cinit)
                  00029054    00000004     --HOLE-- [fill = 0]
                  00029058    0000004c     biosi.a62 : tsk_inst.o62 (.cinit)
                  000290a4    00000004     --HOLE-- [fill = 0]
                  000290a8    0000004c               : rta.o62 (.cinit)
                  000290f4    00000004     --HOLE-- [fill = 0]
                  000290f8    0000004c     csl6713.lib : csl_timer.obj (.cinit)
                  00029144    00000004     --HOLE-- [fill = 0]
                  00029148    00000048                 : csl_edmadsptr.obj (.cinit)
                  00029190    00000048     biosi.a62 : knl_inst.o62 (.cinit:c)
                  000291d8    0000003c     csl6713.lib : csl.obj (.cinit)
                  00029214    00000004     --HOLE-- [fill = 0]
                  00029218    0000002c     biosi.a62 : tsk_stup_inst.o (.cinit)
                  00029244    00000004     --HOLE-- [fill = 0]
                  00029248    0000002c               : utl_putc_inst.o (.cinit)
                  00029274    00000004     --HOLE-- [fill = 0]
                  00029278    0000002c     rts6700.lib : exit.obj (.cinit)
                  000292a4    00000004     --HOLE-- [fill = 0]
                  000292a8    0000001c                 : _lock.obj (.cinit)
                  000292c4    00000004     --HOLE-- [fill = 0]
                  000292c8    0000001c     biosi.a62 : hwi.o62 (.cinit)
                  000292e4    00000004     --HOLE-- [fill = 0]
                  000292e8    00000018               : knl_tick_inst.o (.cinit)
                  00029300    00000018               : tsk_setp_inst.o (.cinit)
                  00029318    00000014               : hwi_disp.o62 (.cinit)
                  0002932c    00000004     --HOLE-- [fill = 0]
                  00029330    00000010               : sys_inst.o62 (.cinit:c)
                  00029340    00000010               : clk_start6x.o62 (.cinit)
                  00029350    00000010               : gbl.o62 (.cinit:c)
                  00029360    00000010               : tsk_inst.o62 (.cinit:c)
                  00029370    0000000c     rts6700.lib : errno.obj (.cinit)
                  0002937c    00000004     --HOLE-- [fill = 0]
                  00029380    0000000c     wavelet_try_agata_boot.obj (.cinit)
                  0002938c    00000004     --HOLE-- [fill = 0]
                  00029390    0000000c     biosi.a62 : idl_busy.o62 (.cinit)
                  0002939c    00000004     --HOLE-- [fill = 0]
                  000293a0    0000000c     rtdx.lib : buffer1.o62 (.cinit)
                  000293ac    00000004     --HOLE-- [fill = 0]
                  000293b0    0000000c     csl6713.lib : csl_cache.obj (.cinit)
                  000293bc    00000004     --HOLE-- [fill = 0]
                  000293c0    0000000c     biosi.a62 : knl_swit_inst.o (.cinit)
                  000293cc    00000008     --HOLE-- [fill = 0]

.initTerminateTSK$stk 
*          0    000293d8    00001000     UNINITIALIZED
                  000293d8    00001000     wavelet_try_agata_bootcfg.obj (.initTerminateTSK$stk)

.tBaseRateTSK$stk 
*          0    0002a3d8    00001000     UNINITIALIZED
                  0002a3d8    00001000     wavelet_try_agata_bootcfg.obj (.tBaseRateTSK$stk)

.bss       0    0002b3d8    000004e8     UNINITIALIZED
                  0002b3d8    00000134     biosi.a62 : biosdata.o62 (.bss)
                  0002b50c    00000100               : hwi_disp_asm.o6 (.bss)
                  0002b60c    000000e0               : knl_inst.o62 (.bss)
                  0002b6ec    0000008c     wavelet_try_agata_bootcfg.obj (.bss)
                  0002b778    00000040     biosi.a62 : knl_inst.o62 (.bss:c)
                  0002b7b8    00000038               : tsk_inst.o62 (.bss)
                  0002b7f0    00000024               : tsk_stup_inst.o (.bss)
                  0002b814    00000020               : sys_inst.o62 (.bss)
                  0002b834    00000018     lnkrtdx.a62 : rtdx.o62 (.bss)
                  0002b84c    00000010     biosi.a62 : knl_tick_inst.o (.bss)
                  0002b85c    00000010     MW_c6xxx_csl.obj (.bss)
                  0002b86c    00000010     biosi.a62 : tsk_setp_inst.o (.bss)
                  0002b87c    0000000c               : hwi_disp.o62 (.bss)
                  0002b888    00000008               : gbl.o62 (.bss:c)
                  0002b890    00000008               : hwi.o62 (.bss)
                  0002b898    00000008               : tsk_inst.o62 (.bss:c)
                  0002b8a0    00000008               : sys_inst.o62 (.bss:c)
                  0002b8a8    00000008               : clk_start6x.o62 (.bss)
                  0002b8b0    00000004               : mem_asm.o62 (.bss)
                  0002b8b4    00000004     wavelet_try_agata_boot.obj (.bss)
                  0002b8b8    00000004     biosi.a62 : idl_busy.o62 (.bss)
                  0002b8bc    00000004               : gbl_cslinit62.o (.bss)

.TSK_idle$stk 
*          0    0002b8c0    00000400     UNINITIALIZED
                  0002b8c0    00000400     wavelet_try_agata_bootcfg.obj (.TSK_idle$stk)

.const     0    0002bcc0    000000e9     
                  0002bcc0    00000058     MW_c6xxx_csl.obj (.const)
                  0002bd18    00000020     csl6713.lib : csl_cache.obj (.const)
                  0002bd38    0000002b     wavelet_try_agata_boot_main.obj (.const)
                  0002bd63    00000023     biosi.a62 : utl_doab_inst.o (.const)
                  0002bd86    00000022               : utl_doer_inst.o (.const)
                  0002bda8    00000001               : tsk_inst.o62 (.const)

.pip       0    0002bdac    000000c8     UNINITIALIZED
                  0002bdac    000000c8     wavelet_try_agata_bootcfg.obj (.pip)

.swi       0    0002be74    0000002c     UNINITIALIZED
                  0002be74    0000002c     wavelet_try_agata_bootcfg.obj (.swi)

.hst       0    0002bea0    0000002c     UNINITIALIZED
                  0002bea0    0000002c     wavelet_try_agata_bootcfg.obj (.hst)

.switch    0    0002becc    00000028     
                  0002becc    00000028     rtdx.lib : rtdx_mon.o62 (.switch)


FAR CALL TRAMPOLINES

callee    addr      tramp     addr      call addr  call info
--------  --------  --------  --------  ---------  ----------------
_SEM_ipost
          80023980  .T$0000   000258a0  000217ac   MW_c6xxx_csl.obj (.text)
_SEM_pend
          80023f40  .T$0001   000258c0  00020ebc   wavelet_try_agata_boot.obj (.text)
                                        0001fdf0   wavelet_try_agata_boot.obj (.text)
                                        000226bc   MW_c6xxx_csl.obj (.text)
                                        00022660   MW_c6xxx_csl.obj (.text)
                                        00022a14   wavelet_try_agata_boot_main.obj (.text)
                                        000228fc   wavelet_try_agata_boot_main.obj (.text)
                                        00022880   wavelet_try_agata_boot_main.obj (.text)
                                        00022840   wavelet_try_agata_boot_main.obj (.text)
_UTL_halt
          80024280  .T$0002   000258e0  000227e4   wavelet_try_agata_boot_main.obj (.text)
_TSK_setpri
          80021580  .T$0003   00025900  0002159c   wavelet_try_agata_boot.obj (.text)
                                        0002156c   wavelet_try_agata_boot.obj (.text)
                                        00022a34   wavelet_try_agata_boot_main.obj (.text)
_SEM_post
          800234c0  .T$0004   00025920  000218dc   MW_c6xxx_csl.obj (.text)
                                        00022a0c   wavelet_try_agata_boot_main.obj (.text)
                                        000229d4   wavelet_try_agata_boot_main.obj (.text)
                                        00022904   wavelet_try_agata_boot_main.obj (.text)
_HWI_dispatchPlug
          80023d00  .T$0005   00025940  00021ba0   MW_c6xxx_csl.obj (.text)
_LOG_printf
          80024300  .T$0006   00025960  00022a70   wavelet_try_agata_boot_main.obj (.text)
                                        0002294c   wavelet_try_agata_boot_main.obj (.text)
Yes, I know, there is a lot of it, but maybe this can help you to help me :-) O course I can use another option with (BINIT) table and external java script to change cfg file, but I think using hex6x creating copy table is much more easier. I dont know, maybe second bootloader is not so flexible to copy to few other memory sections? I really dont know how can I fix it, or where was I wrong. Can anybody help?