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.
"the simple solution would be to add a DS2411" Yes - that's the "silicon serial number" of my option 3: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3711 However, this may or may not meet the OP's specific requirements for the type of number that he needs...? We await comments...