PDA

View Full Version : Which software version is currently running?



Steve_88
- 31st January 2013, 17:30
I've done some forum searching to no avail.

I have several working projects created many moons ago. Now I'm trying to nail down the associated PBP program....Sigh, I hope to not make this mistake again.....

All the projects utilized the retired melabs bootloader software.

What I have done is to build the same basic circuit, program the micro with the original bootloader file followed by loading in various revisions of the software.

Then I read out the hex file from the working project and the test target using the loader software and try to compare them.

I doubt this is the best way. I have gotten very close results between the two, but never perfect. The logical side tells me that two identical targets, with identical boot loader files and programs should be perfect matches?

What I have found is that the working devices hex files are identical to my test setup, but always include additional memory space being used up.....

Any suggestions would be awesome.
Thanks

Heckler
- 31st January 2013, 22:01
would it not be reasonable that the most recent dated file is the one you worked on last as you loaded the PIC with the code??
I would sort your various files by date and take a look at the latest dated file.

I have often thought about storing the name of the basic file used to program the pic in eeprom for later retrieval. Or some way to identify which file was used to generate the .hex file used to program the PIC.

good luck.

Steve_88
- 31st January 2013, 22:10
Nice idea using the date/time tag. Though sometimes I'll modify a program, find out it doesn't help and revert to a previous copy. More than anything, I'm annoyed I can't seem to match up the hex files...
Thanks