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.

burn my project to flash

Other Parts Discussed in Thread: OMAP-L138

Hi,

    Engineers, there's a problem bothering me for a long time. I am working on the Omap-l138 from the third party  supplier with CCS3.3.82. when in emulation , my dsp side app  calls a .txt file which is placed in my PC. Now i don't know how to burn my  app with .txt file together to flash. Please give me a suggestion, thank you!(I know how to burn a app without calling any other file on PC to flash)

Best wishes!

sarah

  • Sarah,

    I'm not sure I understand the situation.  Is your application accessing this .txt file using the file I/O APIs from stdio.h? (fopen, fread, etc.)

    If so, you will need to refactor your code to remove the file I/O calls.  As you have surmised, these calls won't work without the emulator.  You will need to review the application to see what information is being read from the TXT file.  If it is configuration, you can simply hard code the behavior that you want in your final application.  If it is data (ex. RGB values for an image), then you can create static arrays to place this data directly in your C source code.

    Hope this helps.

  • Joe,

    Thanks for your replying. I create a static array instead of calling file and the problem has been soved.