DSPRelated.com
Forums

generation of new memory segment

Started by abhi...@wipro.com May 15, 2006
hello all,

i want to generate a new memory segment with some name say seg_outputDMABuf in ADSP 21262. i am currently visual DSP++4.0 Nov. update version.
i tried the following code but i gave me some errors.

.GLOBAL _Buf0;

.segment /pm seg_DMABuffer;
.var _Buf0[ 16 ];
.engseg;

.segment /dm seg_dmda;
.var _txBuf1[4];
.endseg;

.segment /pm seg_pmco;
.....
..... some is here
.endseg;
===============================================================Error is following:

[Warning li2060] The following input section(s) that contain program code
and/or data have not been placed into the executable for processor 'P0'
as there are no relevant commands specified in the LDF:

.\Debug\initsport_new.doj(seg_DMABuffer)
[Error li1060] The following symbols are referenced, but not mapped:
'_Buf0' referenced from .\Debug\initsportaudi_new.doj(seg_dmda)

Linker finished with 1 error and 1 warning
cc3089: fatal error: Link failed
Tool failed with exit/exception code: 1.
Build was unsuccessful.
===============================================================
please let me where i went wrong or is there any other way to define new segment in ADSP 21262.

Thanks
Abhi