This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

FileIO using TMS320C5510 Bios platform C5510 Simulator

Hi, I'm kind of new to this page and to CCS. I've got a File IO project that I'm working on using CCS v3.3.82.13 and DSP/BIOS v5.41.01.09. I'm trying to read data(integers) from a file, write it to memory, process it and then write the processed data to an output file however, everytime I run the program the program counter seems to get stuck at some point at address 0x610901. If I take out the fprintf() and fscanf() from the program it runs fine. I've tried declaring a local buffer like sepecified on this web site that I found on this forum http://tiexpressdsp.com/index.php/Tips_for_using_printf

My code:

char cioBuf[200];

setvbuf(inputFile, cio, _IOFBF, sizeof cio);

but no luck, I've also tried specifying the.cio section to DARAM in my .tcf file.

bios.MEM.CIOSEG = prog.get("DARAM");

but the problem persist. I would appreciate any help from anyone on this matter.

Thanks,

Angel