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.

File I/O with CCS3.3 and TMS320F2809

Hi I am trying to use the SCI port of the 2809 to write to a file on my PC using CCS3.3.  When I have CCS3.3 running I am able to create the file on the PC without any problems, but when I stop CCS and try to create the file nothing happens, no file is created.  I belevie my code is correct as it works with CCS running, so I am stumped as to why it will no work without CCS.  I have tried to following SPRA861 on the device without any success.  Thanks

 

Jorge

  • I'm not sure what is going on.  My guess is you are still using the built-in C I/O device driver without realizing it.  And that driver only works if you execute under CCS.  Inspect your linker map file to be sure the file trgmsg.obj is not present.  This file contains the lowest level code of the built-in C I/O device driver, i.e. the very code which only works in the presence of CCS.  If it is there, you need to figure out why, and build things such that you don't need it.  If all other I/O calls are going through your custom device driver, then you should not link in trgmsg.obj from the RTS library.

    Thanks and regards,

    -George