Hello,
Thanks for Mr. Ki-so-lee's reply.
my yesterday post:
Hi,
I am using CCS version 5.3....
In my code I want to print my output which is of size 128x128 (Bits) in anew text file, which will be used in future as a input to my another code.
Now my problem is, I defined and declared my file (ie., FILE *a, a=fopen("Codeword.txt","wb"))..
my code was compiled,built successfully with no error. But, when I debug, it is keep on in a writable mode and nothing is get printed in my text file. I don know why?.. Can anyone Help...
Thanks in advance.
Bhavani R
Even then, I can built the code, but while debugging it is in "Writable" mode and nothing get printed in my new text file.
I did some following modifications: (What I did is in Blue color)
1. Properties--> C6000 compiler-->optimization--> opt. level=3 and opt. space=0.
2.C6000 compiler-->advanced options-->Run time models--> disable software pipelining.
3.C6000 compiler-->advanced optimizations--> optimize for speed= 3.
4.Compiler--> Debug options--> optimize fully in the presence of debug directive= ON and specify DWARF version= 2.
5.Linker--> basic option--> stack and heap size =0x10000000.
6.Linker-->advanced option-->Run time environment--> set C argv memory size= 0x10000000.
7.Debug--> Misc/other options--> Default directory for FILE I/O: C: \Users\vjs\workspace_v5_3\Encoder.
NOTE: I don't know what I did was wright or not.
After did above modifications, I got following Error:
Load Program Error: Encountered a problem loading file: C: \Users\vjs\workspace_v5_3\Encoder\Debug\Encoder.out could not open file.
Please anyone Help.
Thanks in advance,
Bhavani R