At 03:07 PM 6/5/02 -0500, Gordon Varney wrote: >Is it possible, and how is it possible. > >I have a PIC12C671, The part will be programmed, I would like to run a >calibration sequence on a function, then store >the calibrated value in the rom of the part. If it had EEprom, then no >problem. Can I write over a protected rom space >that I know is not used with a new value? Or, do I have to do the new ORG >procedure and reprogram the part. I see no problem with this, so long as you don't set the code protect bits until you have programmed the calibration constants. In other words, program the base code (in circuit or out - your choice), run the code, generate the calibration constants, convert those to the actual hex values you need, program those into the PIC (hopefully using ICSP), verify performance, program the code protect fuses (if needed). I say "program the code protect fuses (if needed)" - does your product require this? dwayne -- Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 18 years of Engineering Innovation (1984 - 2002) .-. .-. .-. .-. .-. .-. .-. .-. .-. .- `-' `-' `-' `-' `-' `-' `-' `-' `-' Do NOT send unsolicited commercial email to this email address. This message neither grants consent to receive unsolicited commercial email nor is intended to solicit commercial email. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu