Boot Loader with I2C memory


Closed Thread
Results 1 to 2 of 2
  1. #1
    reid21's Avatar
    reid21 Guest

    Default Boot Loader with I2C memory

    Is is posible to create a boot loader using I2C Memory? I want to be able to upgrade units in the field without using a computer.

  2. #2
    Join Date
    Mar 2006
    Location
    China
    Posts
    266


    Did you find this post helpful? Yes | No

    Default Yes!! It has been done

    Hi,

    Yes it is possible to make a bootloader that will load data from a I2C memory

    http://www.picbasic.co.uk/forum/showthread.php?t=4498


    The example in this thread is for serial com but just replace that with I2CREAD it is more or less the same thing. If you can read from the memory this thread will give you a good start.


    any problems with the bootloader let me know and I will try to help.

    Remember that this works with codeprotection on and it also gives you a possibility to encrypt the data on the I2C memory and later letting the Botloader decrypt it inside the chip. With a proper data shuffle your code should be close to impossible to steal.

    And with PBP 2.50 we can finally answer the question that was raised in that thread about PICs with more than 64K memory. Thank you MeLabs for the LONG variable

    /me
    Last edited by Jumper; - 18th September 2007 at 08:22.

Similar Threads

  1. I2C Master/Slave 16F88/16F767 working code
    By DanPBP in forum Code Examples
    Replies: 2
    Last Post: - 23rd October 2012, 22:31
  2. 18F4550 boot loader and corruption
    By bradb in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 20th June 2009, 08:22
  3. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  4. I2C Master Slave issues.
    By cpayne in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 29th March 2008, 19:33
  5. How can I eraser a Boot Loader?
    By MauOrtega in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th June 2006, 13:52

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