Pic to Pic Firmware upgrade


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default I did this a while back

    It will be... a bit complex..

    First i used th microchip bootloader, it works nice and gives the Software in Visual Basic to be modified and also the ASM to be modified.

    Not an easy task again.... it is always hard to understand other peoples coding, and you will have to do this twice (ASM and Software loader).

    The PDF that comes with the bootloader explains as much as it can the transfer protocol.

    Recommended to avoid your hex file being copied: Change the bootloader and the software.. change the C libraries included to encrypt your file. Protect the bootloader code space (only in 18F) otherwise someone could just overwrite it with original and then reading everything!!.

    Its a hard but nice job to do because you can always use it for your next projects
    Last edited by Josuetas; - 6th October 2007 at 16:25.

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


    Did you find this post helpful? Yes | No

    Default Hmm almost

    Code protect the entire PIC not just the boot block. Then no-one can do anything except from inside the loader.

    And with a home-made loader, creative codeing and 3 months later I bet it is protected even from the developer. But then, just erase it and start all over again.



    /me

  3. #3


    Did you find this post helpful? Yes | No

    Default What was i thinking

    Off Course!! Protect the whole device!!

    I was thinking on protect the boot block from being writen or erased... 18F has special protection for the boot block!

  4. #4
    Join Date
    Jun 2007
    Posts
    26


    Did you find this post helpful? Yes | No

    Default 15 cent eeprom firmware update chip with encryption

    My goal here is almost exactly like your all talking about. I'm thinking of having an 8 pin dip socket on my new version of an on going production board. the goal would be to send a client a 15 cent serial eeprom that has updated encrypted firmware code in it. Once power is supplied, the bootloader would decrypt the code in the serial eeprom and program itself. Without the decrypted code from ever seeing daylight and having at least 64bit encryption method It should be next to impossible from using it to make clones. Once programed a green light would come on and the client could power down and take out the ereased serial eeprom and through it away.

    Any suggestions would be greatly aprpeciated. Here in this topic you guys have givin me several helpful tips, Thank you.

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 10:00
  2. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 21:01
  3. PIC 18F4550, firmware
    By kutsi in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 2nd May 2007, 21:11
  4. Build PIC bootloader firmware in PBP?
    By Joe Rocci in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th August 2006, 19:53
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

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