Tiny bootloader and pbp


Closed Thread
Results 1 to 27 of 27

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Tiny bootloader and pbp

    Sheldon, The only statement required for PBP is the "DEFINE LOADER_USED 1" at the top of the program.
    Dave Purola,
    N8NTA
    EN82fn

  2. #2
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: Tiny bootloader and pbp

    thanks dave


    prior to bootloader use and relating to the config of the pic protection memory blocks i had protected boot blocks
    and most of memory blocks

    which of these now cant be protected cos of the bootloader use ?

    which setting can be further locked down if using a bootloader ?

    Code:
    ;----- CONFIG5L Options --------------------------------------------------  
        
        CONFIG CP0       = ON         ;  MEMORY BLOCK 0 CODE PROTECT BIT - 7KW 800h  - 3FFFh ( when 1K BOOT OPTION used )
        CONFIG CP1       = ON         ;  MEMORY BLOCK 1 CODE PROTECT BIT - 8KW 4000h - 7FFFh
        CONFIG CP2       = ON         ;  MEMORY BLOCK 2 CODE PROTECT BIT - 8KW 8000h - BFFFh
        CONFIG CP3       = ON         ;  MEMORY BLOCK 3 CODE PROTECT BIT - 8KW C000h - FFFFh
       
       
    ;----- CONFIG5H Options --------------------------------------------------  
       CONFIG  CPD       = OFF        ; EEPROM DATA PREOTECT BIT - EXTERNAL R/W
       CONFIG  CPB       = ON         ; BOOT BLOCK CODE PROTECT BIT 
    
    ;----- CONFIG6L Options --------------------------------------------------  
        CONFIG WRT0      = OFF        ; MEMORY BLOCK WRITE PROTECT BIT 
        CONFIG WRT1      = OFF
        CONFIG WRT2      = OFF 
        CONFIG WRT3      = OFF
      
      
    ;----- CONFIG6H Options --------------------------------------------------  
        CONFIG WRTD      = OFF       ; EEPROM WRITE PROTECT BIT - INTERNAL AND EXTERNAL 
        CONFIG WRTB      = ON        ; BOOT BLOCK WRITE PROTECT 
        CONFIG WRTC      = ON        ; CONFIGURATION REGISTER WRITE PROTECT BIT 
     
    ;----- CONFIG7L Options --------------------------------------------------  
         CONFIG EBTR0     = OFF      ; MEMORY READ TABLE BLOCK PROTECT 
         CONFIG EBTR1     = OFF
         CONFIG EBTR2     = OFF
         CONFIG EBTR3     = OFF
        
    ;----- CONFIG7H Options --------------------------------------------------  
        CONFIG EBTRB     = OFF      ; TABLE READ PROTECT BOOT


    prior to bootloader

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Tiny bootloader and pbp

    Sheldon, This is the sheet for the 18F47K40 that I use here.
    Attached Images Attached Images
    Dave Purola,
    N8NTA
    EN82fn

  4. #4
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: Tiny bootloader and pbp

    dave have you the asm code for MPLABX for the 18f27k40 used for the tiny bootloader

    i think as i am using the 47k40 theword values will be abit differnet

  5. #5
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Tiny bootloader and pbp

    Sheldon, Here is the .asm file I use here.
    Attached Files Attached Files
    Dave Purola,
    N8NTA
    EN82fn

Similar Threads

  1. test tiny bootloader via bluetooth
    By hatuan291 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 13th September 2015, 14:35
  2. Replies: 1
    Last Post: - 2nd September 2014, 21:57
  3. Open source PBP bootloader
    By cncmachineguy in forum PBP Wish List
    Replies: 40
    Last Post: - 22nd March 2014, 19:34
  4. Tiny Bootloader 18F2420
    By ultiblade in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 31st March 2010, 18:32
  5. Tiny bootloader and 18F4525
    By Najim in forum Off Topic
    Replies: 1
    Last Post: - 11th January 2006, 12:43

Members who have read this thread : 1

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