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