Bootloader for 16f87/88 that doesn't use UART


Closed Thread
Results 1 to 34 of 34

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Location
    Sydney, Australia
    Posts
    126


    Did you find this post helpful? Yes | No

    Default

    ROMzap - http://piclist.com/images/com/bubble...mo/ROMzap.html

    Looks pretty advanced for what I need - it seems to use UART, although it does support the 16F872 which doesn't have a UART.

    I am downloading it now and will dig in to the Source files (if they are in the ZIP) to see how customisable it will be.

    So has anyone ever written a bootloader in PBP??

    bill.

  2. #2
    Join Date
    Oct 2004
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Basic bootloader

    Take a look at this code maybe it will help.
    http://www.oshonsoft.com/picbootloader.html
    victor

  3. #3
    Join Date
    Feb 2003
    Location
    Sydney, Australia
    Posts
    126


    Did you find this post helpful? Yes | No

    Default

    Hi Victor,

    Fantastic ! That gives me a good starting point. The PC applicatin looks a lot like the PIC_E one.

    Looks like I am going to spend Sunday in the shed learning how to bootload !!

    With Thanks,
    Bill.
    Last edited by bcd; - 6th January 2008 at 01:49. Reason: Edited to make sense !!

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    bcd,

    If you're going to start with that bootloader for the 16F877?
    There are some significant differences when writing to flash memory on the 16F87/88's.

    The 877 allows you to write 1 word at a time. And when you write it, the chip automatically erases the word before writing the new data. This is the main reason why 99% of the free bootloaders use the 16F877. (it's easy)

    The 16F87/88's require that you erase memory in blocks of 32-words first, then write the new data in blocks of 4-words. (more difficult)

    It's still very doable.
    Just thought it might help get you on the right track.
    <br>
    DT

  5. #5
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by bcd View Post
    ROMzap - http://piclist.com/images/com/bubble...mo/ROMzap.html

    Looks pretty advanced for what I need - it seems to use UART, although it does support the 16F872 which doesn't have a UART.

    I am downloading it now and will dig in to the Source files (if they are in the ZIP) to see how customisable it will be.

    bill.
    Yes, the interface does look a bit complex first, but thats because its so configurable. Once you figure out the things you need, its a breeze to use. No it doesnt use the UART; you could use any pin for the bit banging.

    Pity it only supports the 16F8XX chips, though; if you are able to adapt it for others, I would love to hear about it too... it was my preferred bootloader for a long time, till I had to switch over to the one from Mecanique. I still miss the flexibility and the option of not having to use a level shifter.

    Regards,

    Anand

  6. #6
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by bcd View Post
    So has anyone ever written a bootloader in PBP??
    See http://www.picbasic.co.uk/forum/showthread.php?t=4498

Similar Threads

  1. PIC18F4680 bootloader
    By vinyl_theif in forum General
    Replies: 1
    Last Post: - 29th January 2009, 18:45
  2. 18F4550 Bootloader enter via eeprom setting
    By bradb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd November 2008, 00:51
  3. USBDemo with Bootloader
    By vacpress in forum USB
    Replies: 4
    Last Post: - 25th January 2007, 23:29
  4. Bootloader Problems
    By rossfree in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th February 2005, 18:51
  5. Replies: 3
    Last Post: - 26th January 2005, 14:41

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