http://www.scalerobotics.com
Will not help for you old stuff...
Write a value to the EEPROM representing the version using DATA then all you have to do is read the EEPROM.
Dave
Always wear safety glasses while programming.
How do I get MicroCode Studio PIC BASIC PRO compiler to tell me the check sum. All I have found is to go to the PICKIT 2 Programmer and look what it calculates then go back to the compiler to put the check sum into the DATA command. Why did doing that not change the check sum? Is EEPROM not part of the calculation?
Ken
MCS is just a fancy text editor and PBP just turns the basic code into ASM so neither one will do a checksum on the hex.
DATA not changing the checksum?
Not sure about that one
Will look into it though.
Dave
Always wear safety glasses while programming.
Hey Ken, the check sum doesn't care about the eeprom data area, just program memory. So any changes to DATA will not change the checksum. Just out of curiosity, why do you need to see checksum (other than finding what version is in your chip)? Seems like this should only happen once in a while.
http://www.scalerobotics.com
I've got three cars: one older HPI Sprint model level, one brand new HPI Sprint model level, and one toy level. The two model levels work with PWM signals. The toy car requires DC current switching. Each has its own idiosyncrasies. My version control system sucks. My memory sucks. Checksums to differentiate just came to mind.
Ken
Unfortunately, I can relate to that.
However, I did remember reading a version control system here, and I found it too! I never used it, so my version control still sucks. But you might find it a possible solution.
http://www.picbasic.co.uk/forum/showthread.php?t=2641
It still won't tell you what is in the car though![]()
http://www.scalerobotics.com
I wish to email my PBP code. I want the BOLD commands to remain BOLD as they do in Microcode Studio. I have a PC running XP. When I select, copy and paste the BOLDness disappears.
Any suggestions?
Ken
Bookmarks