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

How will I pass command line arguments to cross compiler code?

Hi people,

I have an interesting problem here. I need to generate a number (a 4-digit Integer) and give it as a command line argument to my exe file generated by the cross compiler.

The problem is, EXE file would be executed by the chip & not by the PC, hence giving any command line argument would need a connection between the chip & one of the ports on the PC.

Is there a way/mechanism by which I can give a command line argument during compile-time and not during the run-time?

Is there any functionality provided by the tool on these lines?

Regards,
Jinen.

Parents
  • "Again is it possible to program a particular address without affecting rest of the code?

    Again, what do you mean by that? "

    Let me reframe my question. I have a particular code burnt into a chip. Now, without performing a complete erase of the chip, is it possible to program only a few addresses (maybe burning some data or altogether a new code, without affecting the current code)?

    I think, Dan has to say YES (provided DAN got it correctly in the 1st instance). If you have a different opinion or answer, then please reply for the same

Reply
  • "Again is it possible to program a particular address without affecting rest of the code?

    Again, what do you mean by that? "

    Let me reframe my question. I have a particular code burnt into a chip. Now, without performing a complete erase of the chip, is it possible to program only a few addresses (maybe burning some data or altogether a new code, without affecting the current code)?

    I think, Dan has to say YES (provided DAN got it correctly in the 1st instance). If you have a different opinion or answer, then please reply for the same

Children