This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Fope() in keil

I am trying to generate a log file by invoking the function "fopen()" in keil for samsung S3FS92G target though i m getting the result in serial window but finally needs to log in txt or xml file.
Even though I am not getting any compilation error (like fopen() missing) but the log file is not created at the expected system path.
any help on generating a txt file using fopen

Parents
  • Hi,

    i have used low level API means i have written IO retargeting function thats why printf is working as well as for STDIN STDOUT STDERR fopen but i dont know where the output is getting stored in when i am using STDERR in fprintf()
    and then i used fopen which is returning NULL.

    Basically my ultimate goal is to store serial window output in a text file

Reply
  • Hi,

    i have used low level API means i have written IO retargeting function thats why printf is working as well as for STDIN STDOUT STDERR fopen but i dont know where the output is getting stored in when i am using STDERR in fprintf()
    and then i used fopen which is returning NULL.

    Basically my ultimate goal is to store serial window output in a text file

Children
No data