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.

DSP/BIOS linkied in internal RAM

Other Parts Discussed in Thread: TMS320F28335

Hello,

I need link some moduls of DSP/BIOS V5.42.0.07 to internal RAM of TMS320F28335 processor. I investigated several ways and I have some questions:

1. it looks, that only some parts DSP/BIOS are compiled in subsections, see part of  map file from my project:

.bios      0    003003af    00001674     RUN ADDR = 0000b000
                  003003af    0000017d     bios.a28FP : swi.o28FP (.bios)
                  0030052c    0000017a                : sys_prin.o28FP (.bios:_doPrint)
                  003006a6    00000129                : hwi_disp_asm.o28FP (.bios)
                  003007cf    0000011d                : tsk_crea.o28FP (.bios:_TSK_create)
                  003008ec    000000ca                : dev_crea.o28FP (.bios:_DEV_createDevice)
                  003009b6    000000b4                : gio_crea.o28FP (.bios:_GIO_create)
                  00300a6a    0000009e                : clk_run.o28FP (.bios)

I need link in internal RAM  swi.o28FP and  hwi_disp_asm.o28FP and it looks, that both are directly in .bios without subsection as for example sys_prin.o28FP, so I have only possibility to link whole .bios section. Is there some other way how to link only thees parts of DSP/BIOS in separate memory ?

2. when I linked whole .bios section in LSARAM, it is arised other problem, that I need to get from linker copy table by use table() operator or LOAD_START, LOAD_END, RUN_START operators, but I can not find way, how to overload section allocation of .bios section, automaticly generated in projectname.cmd file. I can not find how to change link order of this file. In Build options is table for change  of link order, but only this file is not able to put there. Is it possible to change link order in some way or to use some other possibility how to get copy table symbols to use it for loading .bios section in LSARAM during start up ?

Thanks

Dalibor

  • Dalibor,

    #1.  It looks like it might be possible for you to specify those input sections from the bios.s28FP library and create your own output section.  See SPRU513E.pdf and found in section 7.5.4.5: Specifying Library or Archive Members as Input to Output Sections


    #2.  Hopefully by doing #1 above, you don't have to deal with #2 here.  I didn't quite understand what are you trying to do with #2.  If you can't get #1 working then we can go into this more detail.

    Judah