Searching \ for 'Accessing Firmware Version Information' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/index.htm?key=accessing+firmware
Search entire site for: 'Accessing Firmware Version Information'.

Truncated match.
PICList Thread
'Accessing Firmware Version Information'
1999\05\06@150820 by William K. Borsum

flavicon
face
Hello All:

MPLAB allows programming an ID location--four Hex digits, or a
non-protected checksum, which the programmer can read later.

My question: has anyone found a  way for the firmware to read this location
so I can put the contents out a serial port or otherwise access them
without pulling the chip and putting it back into the programmer?  Most
data books state rather clearly that "these locations are not accessible
during normal execution."

We need some simple way of maintaining and verifying version control during
development and production.  Our current plans are to store version
information into the code, and have a command that will either send it out
the serial port, or move it to an accessible memory location--sort of like
DOS's "VER" command.  Using the ID locations as a second storage location
for validating the programming would be nice.

I've got a couple of very expensive data loggers that have failed--with the
most likely cause being an old version in one of the PIC's--but I've got no
way to verify this since the whole thing is potted solid to survive 20,000
G impacts.

Thanks

****************************************************************************
********
All legitimate attachments to this email will be clearly identified in the
text.
Please note our new address and phone numbers.

William K. Borsum, P.E.
DASCOR
P.O.Box 462885
Escondido, CA 92046-2885

V&M&F)  760-796-7785
Direct)         760-796-7788
<spam_OUTborsumTakeThisOuTspamdascor.com>

1999\05\06@164525 by Barry King

flavicon
face
We do this be using the MPLAB / ProMate SQTP files.

They are intended to burn in a serial number, but the SQTP format is
just a hex record that overlays a bit of the code space and
automatically goes to the next record for each PIC.  We put a serial
number in, but you could easily put in a version string and serial
number by editing the automatically generated SQTP file or just
creating your own.  We insert RETLW tables, of course, then its all
available using the "usual" constant string method using
CALL + computed GOTO + RETLW table.

------------
Barry King
Engineering Manager
NRG Systems "Measuring the Wind's Energy"
.....barryKILLspamspam@spam@nrgsystems.com
Phone: 802-482-2255
FAX:   802-482-2272

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...