DSPRelated.com
Forums

[CCS] HSC - unable to bind

Started by Robert W. Kuhn November 16, 2007
Hello,

I am using CCS 3.3 and try to use Host Channels (for input, dataflow is
Host->Target).

Therefore I created in the BIOS a new HST. Mode is input, bufseq is
DDR2, bufalign is 4, framesize (words) is 1 and numframes is 1.
The HST uses RTDX, which is enabled.

The I try to bind the HST to a file. The file created with the following
c-code:

	FILE *f=fopen("data.dat", "wb");
	int size=1;
	short *dat = new short[size];
	dat[i]=1;
	fwrite(dat, sizeof(short), size, f);
	delete [] dat;

But whe I try to bind thefile to the HST I get this error message:

---------------------------
DSP/BIOS
---------------------------
Unable to bind "data.dat"
---------------------------
OK   
---------------------------

What could be the problem?

Thanks and bye.