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

FCARM doesn't create any output file

I am using KEIL µVision 4.74.0.0 with ARM compiler 5.03.0.76 on Windows 10.

When I put my web src files into fcarm.exe, I get absolutely no output, and also no error message. The tool calculates quite some time (maybe 10 s or so), and then outputs just nothing, neither when listing my input files directly, not using a command file.

Example:

C:\Keil\ARM\BIN\FCARM.exe @Web.inp

Where Web.inp is:

bootstrap-theme.min.css,
~bootstrap.min.js,
bootstrap-theme.min.css,
index.cgi,
io.cgi,
~jquery.min.js,
Logo.png,
style.css
to Web.c nopr

When I leave out "nopr", then an empty "Web.lst" file is created, that's all.

Can anyone give a hint how I can check what is going wrong?

Parents
  • Hi Christopher,

    thanks for your answer!

    - both "to" and "TO" behave the same way

    - sorry, bootstrap-theme.min.css was a copy/paste problem

    I have experimented a bit and found out that my source file "index.cgi" causes the problem. When reducing the whole thing to

    fcarm index.cgi to web.c nopr

    then I already get no output. I have broken down the content of index.cgi to "<html><body>This is a test.</body></html>". Observation: when renaming the file to "index.html" it works. As "index.cgi" there is no output.

    It seems that I need to investigate further how my predecessor developer converted this - maybe he did some preprocessing on the cgi files before using fcarm. Thank you for the support anyway, and sorry that I'm coming up with such weird stuff - I didn't start this project, just trying to continue someone else's work...

    Regards, hgl

Reply
  • Hi Christopher,

    thanks for your answer!

    - both "to" and "TO" behave the same way

    - sorry, bootstrap-theme.min.css was a copy/paste problem

    I have experimented a bit and found out that my source file "index.cgi" causes the problem. When reducing the whole thing to

    fcarm index.cgi to web.c nopr

    then I already get no output. I have broken down the content of index.cgi to "<html><body>This is a test.</body></html>". Observation: when renaming the file to "index.html" it works. As "index.cgi" there is no output.

    It seems that I need to investigate further how my predecessor developer converted this - maybe he did some preprocessing on the cgi files before using fcarm. Thank you for the support anyway, and sorry that I'm coming up with such weird stuff - I didn't start this project, just trying to continue someone else's work...

    Regards, hgl

Children
  • Hello hgl,

    no worries! I'm happy that you're on the right track now.

    Kind regards,

    Christopher

  • Hi hgl,

    The version of FCARM.exe you are using is probably v2.50 (shipped with MDK4.74) This version had a problem with the cgi conversion, which was fixed in a later version. If the following conditions were met, FCARM.exe crashed and gave no output:

    - cgi file contains exactly one line (no return character on first line)
    - line uses i,t, or c command
    - cgi does not end with the "." command character

    Try to avoid this as this may solve your problem.

    Regards,

    Franc