I believe we will make tens of thousands of this product. Can't compile each time. It will work me to death. :) ----- Original Message ----- From: "wouter van ooijen & floortje hanneman" To: Sent: Thursday, August 16, 2001 2:15 PM Subject: Re: [PIC]: Generating a "truly" random number on the application of power > > My question is: how to generate a "truly" random number on the application > > of power. The number should not be determined upon the compilation of the > > software, but should be upon the initial powerup of the chip. (Or, it > should > > be determine by each individual chip.) > > You program each chip, so how about compiling anew for each chip with > something like -DSERIAL=nnn where you set nnn to for instance increment for > each chip? It could all be automated easily (for instance with tcl or > python) as part of the programming process. Or use programming software that > allows you to modify the hex file on the fly from the command line (does > such programing software exist?). > > Wouter van Ooijen > > van Ooijen Technische Informatica: http://www.xs4all.nl/~wf/ > Jal compiler for PIC uC's: http://www.xs4all.nl/~wf/wouter/pic/jal > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics > > -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics