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.
"Is there a windows based tool for editing a hex file?" One Windows-based programmable binary (and HEX) file editor is: http://www.sweetscape.com/010editor/ Another toolchain vendor has some free software to deal with serial numbers in HEX files: http://www.htsoft.com/forum/all/showflat.php/Cat/0/Number/12986 http://www.htsoft.com/forum/all/showflat.php/Cat/0/Number/14440 "Can you provide some more inputs on DS2411?" After having following the link to the Dallas/Maxim site and downloading and reviewing the datasheet and application notes, what more input could you possibly need? "Is there a way, that I can program my EEPROM by normal C-compiler?" Yes. "Again is it possible to program a particular address without affecting rest of the code?" Yes.