PBP projects for R/C models


Closed Thread
Results 1 to 40 of 772

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Kenjones1935 View Post
    If I have recorded the checksums how can I know which version of code is on my PIC?
    Yes, it will display the checksum after it reads the code from the PIC chip.

    You could use the verify button. It will compare the file loaded onto the pickit from your computer to what it reads on the PIC chip. It will notify you of any differences.
    http://www.scalerobotics.com

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    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.

  3. #3
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default Yah, but (again)

    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

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    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.

  5. #5
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Kenjones1935 View Post
    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
    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

  6. #6
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default Why the check sum....

    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

  7. #7
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Version control code rat

    Quote Originally Posted by Kenjones1935 View Post
    My version control system sucks. My memory sucks.
    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

  8. #8
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default Another question

    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

Similar Threads

  1. PBP Book
    By Bruce in forum Off Topic
    Replies: 83
    Last Post: - 4th October 2021, 12:55
  2. PBP Extensions, What are they?
    By PJALM in forum PBP Extensions
    Replies: 9
    Last Post: - 28th September 2021, 11:26
  3. Compiler differences between PBP 2.33 & 2.46
    By nikopolis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd May 2006, 19:01
  4. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th December 2005, 23:30
  5. Making PBP code more modular
    By forgie in forum General
    Replies: 30
    Last Post: - 25th October 2005, 16:24

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts