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.

fread fwrite using sys/bios 6.31.4.27

Hello,

I am currently working on a project that performs data (video) I/O with the PC.

Using a pure simulator setup for the c6472 core everything works (slowly but) fine.

Now I am switching to the EVM6472 emulator board (communication over the standard USB cable) and got problems.

My application runs as a task using sys/bios and it seems that the input data is corrupted.

Are there issues using sys/bios and file I/O, better ways to exchange data with the PC for system tests?

 

Thank you and regards, Carsten

 

 

 

 

  • Hi Carsten --

    I'm not aware of any issues using fopen()/fread()/fwrite() etc with the evm6472 and CCS.  

    Which version of CCS, and BIOS are you using?   And which brand/type of emulator are you using?

    Can you try opening a (big) text file and reading it and writing it back out to a different file and them compare them to see if you see some pattern to the bad data?


    Write a simple program that does fopen("infile") and fopen("outfile"); and the fread()/fwrite() in a loop.  to write the file back?  And see if you see a pattern to the problem?

    Note that CIO on real h/w with JTAG emulator is implemented with a hidden breakpoint.  So, if your app has problems with b/p's (a peripheral or some such that needs servicing or some real time device), the b/p's will be pretty intrusive.

    -Karl-