DSPRelated.com
Forums

problem on using far mode

Started by Artham Sridhar October 28, 2005
Dear Friends,
I am doing AMR CODEC simulations on tms320c5416. I got a problem while using simulator, code compose studio. Code for AMR CODEC is very big. It is not sufficient to place at once section. So I created different sections which I attached the document. I got a problem "trouble in writing in target cpu memory"
plz send me the reply if any body know.thank you... the code is as follows:

/*
cmd file for 5416
*/
-c
-mf
-m map4.map
-l rts_ext.lib
-stack 0x0500
-heap 0x0400
MEMORY
{
/* PROGRAMMABLE MEMORY*/

PAGE 0: IPROG: origin = 0x00180, len = 0x03931
VECT: origin = 0x00100, len = 0x80

/*external memory prg memrory */
EPROG2: origin = 0x10000, len = 0x8000
EPROG3: origin = 0x18000, len = 0x8000
/*external data memory */
EPROG4: origin = 0x20000, len = 0x8000

/* data memory */

PAGE 1: USERREGS: origin = 0x00060, len = 0x1c
BIOSREGS: origin = 0x0007c, len = 0x4
IDATA: origin = 0x03AB1, len = 0xC54E

}
SECTIONS
{
.vectors: {} > VECT PAGE 0
.cinit: {} > IPROG PAGE 0
.trcinit: {} > IPROG PAGE 0
.gblinit: {} > IPROG PAGE 0
.bios: {} > IPROG PAGE 0
.frt: {} > IPROG PAGE 0
.pinit: {} > IPROG PAGE 0
.sysinit: {} > IPROG PAGE 0

.sysregs: {} > BIOSREGS PAGE 1
.far: {} > IDATA PAGE 1

.bss: {} > IDATA PAGE 1
.switch: {} > IDATA PAGE 1
.sysmem: {} > IDATA PAGE 1
.cio: {} > IDATA PAGE 1
.MEM$obj: {} > IDATA PAGE 1
.sysheap: {} > IDATA PAGE 1
.text1: {coder.obj(.text) ec_gains.obj(.text) enc_lag3.obj(.text)
enc_lag6.obj(.text) ex_ctrl.obj(.text) g_adapt.obj(.text)
g_code.obj(.text) g_pitch.obj(.text) gain_q.obj(.text)
gc_pred.obj(.text) gmed_n.obj(.text) hp_max.obj(.text)
int_lpc.obj(.text) int_lsf.obj(.text) inter_36.obj(.text)
inv_sqrt.obj(.text) lag_wind.obj(.text) levinson.obj(.text)
lflg_upd.obj(.text) log2.obj(.text) lpc.obj(.text)
lsfwt.obj(.text) lsp.obj(.text) lsp_avg.obj(.text)
lsp_az.obj(.text) lsp_lsf.obj(.text) mac_32.obj(.text)
n_proc.obj(.text) ol_ltp.obj(.text) oper_32b.obj(.text)
p_ol_wgh.obj(.text) ph_disp.obj(.text) pitch_fr.obj(.text)
a_refl.obj(.text) autocorr.obj(.text) az_lsp.obj(.text)
b_cn_cod.obj(.text) basicop2.obj(.text) bgnscd.obj(.text)
bits2prm.obj(.text) pitch_ol.obj(.text)pow2.obj(.text)
pre_big.obj(.text) pre_proc.obj(.text) pred_lt.obj(.text)
preemph.obj(.text) prm2bits.obj(.text) q_gain_c.obj(.text)
} > EPROG2 PAGE 0 .text2: {
q_gain_p.obj(.text) q_plsf.obj(.text) q_plsf_3.obj(.text)
q_plsf_5.obj(.text) qgain475.obj(.text) qgain795.obj(.text)
qua_gain.obj(.text) r_fft.obj(.text) reorder.obj(.text)
residu.obj(.text) s10_8pf.obj(.text) set_sign.obj(.text)
set_zero.obj(.text) sid_sync.obj(.text) sp_enc.obj(.text)
spreproc.obj(.text) c_g_aver.obj(.text) c1035pf.obj(.text)
c2_11pf.obj(.text) c2_9pf.obj(.text) c3_14pf.obj(.text)
c4_17pf.obj(.text) c8_31pf.obj(.text) calc_cor.obj(.text)
calc_en.obj(.text) cbsearch.obj(.text) cl_ltp.obj(.text)
cod_amr.obj(.text) convolve.obj(.text) copy.obj(.text)
cor_h.obj(.text) count.obj(.text) spstproc.obj(.text)
sqrt_l.obj(.text) strfunc.obj(.text) syn_filt.obj(.text)
ton_stab.obj(.text) vad1.obj(.text) vad2.obj(.text)
vadname.obj(.text) weight_a.obj(.text) d_gain_c.obj(.text)
d_gain_p.obj(.text) d_homing.obj(.text) d_plsf.obj(.text)
d_plsf_3.obj(.text) d_plsf_5.obj(.text) d1035pf.obj(.text)
d2_11pf.obj(.text) d2_9pf.obj(.text) d3_14pf.obj(.text)
d4_17pf.obj(.text) d8_31pf.obj(.text) dec_gain.obj(.text)
dec_lag3.obj(.text) dec_lag6.obj(.text) dtx_enc.obj(.text)

} > EPROG3 PAGE 0

.const: {} > EPROG4 PAGE 0 } Regards...
Sridhar ---------------------------------
Enjoy this Diwali with Y! India Click here