Open source PBP bootloader


Results 1 to 40 of 41

Threaded View

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


    Did you find this post helpful? Yes | No

    Default Re: Open source PBP bootloader

    Quote Originally Posted by cncmachineguy View Post
    Don't quote me on this just yet, but I think the 18's use a word for the data, so then it would make sense.
    Oops, just quoted you .....

    If that is true, then we should be good with the standard 32 bytes (if it is in bytes for 16F's) of data, then adding the 5 bytes for:
    Code:
    DATA_BUFF   VAR BYTE[37]        ' Start of receive buffer SAME ADDRESS AS COMMAND
    COMMAND     VAR DATA_BUFF[0]    ' Data mapped in receive buffer SAME ADDRESS AS DATA_BYTE 
    DATA_COUNT1 VAR DATA_BUFF[1]     
    ADDRESS_L   VAR DATA_BUFF[2] 
    ADDRESS_H   VAR DATA_BUFF[3] 
    ADDRESS_U   VAR DATA_BUFF[4]
    PACKET_DATA VAR DATA_BUFF[5-36]    'THIS SHOULD BE AN ARRAY I THINK**************
    would be 37 bytes for 12F and 16F devices, leaving more room for variables in case we want more PBP bells and whistles later. Then for the 18F's, they all use the 128 words (maybe).
    Last edited by ScaleRobotics; - 3rd March 2011 at 17:56.

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