Build PIC bootloader firmware in PBP?


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    65

    Default Build PIC bootloader firmware in PBP?

    Has anyone done or seen an implementation of the PIC firmware part of a PIC bootloader system implemented in PBP? Over on the Oshonsoft website, they have the source code for a bootloader implemented under their Basic compiler (http://www.oshonsoft.com/picbootloader.html), but for maintainability purposes I'd like to do the same under PBP.

    Thanks

    Joe

  2. #2
    Join Date
    Aug 2006
    Posts
    65


    Did you find this post helpful? Yes | No

    Default

    The closing parenthesis on the above link shouldn't be part of the url. It should be:

    http://www.oshonsoft.com/picbootloader.html

    Joe

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


    Did you find this post helpful? Yes | No

    Default It is possible

    Hi,

    What PIC are you using? I think it is easier to do this with a 18PIC since PBP handles the mamory allocation in a better way. I am in the middle of something similar but if you don't have a monster memory PIC i suggest you use one of the availible loaders in the market. My project is reading from a external eeeprom and writing to the flash memory... still far from finnished but it is allready almost 3000 words big. But we all know I2C eats code.....

    ASM is the way to go if you want a small Loader and there are may good ones out there.

    /me

  4. #4
    Join Date
    Aug 2006
    Posts
    65


    Did you find this post helpful? Yes | No

    Default

    Jumper,
    Thanks for the reply.

    Actually, I am using an 18F part - the 18F2620. I already managed to modify a Mecanique MicroCode Studio loader by disassembling it, making the code changes, and reassembling it. It now works quite well for my purposes, using the PIC's internal 8MHz clock. The next thing I wanted to try was to modify the code so that there are 2 serial ports - the hardware port dedicated to the loader and a software port for my application. Once I do this, I hope to eliminate the need for a PIC reset in order to reload. I think I should be able to use the dedicated loader port to download new code any time I want to talk to it.

    Anyway, in musing about this, I thought it might be easier to do some of the things I wanted if the code was implemented in the PBP environment. However I do recognize that major sections of assembly code are unavoidable.

    Joe

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. USBDemo with Bootloader
    By vacpress in forum USB
    Replies: 4
    Last Post: - 25th January 2007, 22:29
  3. Two PIC 16F877A fried in two days!
    By manumenzella in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th January 2007, 10:38
  4. can someone post example to code a bootloader using pbp?
    By nimonia in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th May 2005, 16:28
  5. Using PBP Hex Files with FED Pic Programmer
    By jrudd in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th February 2005, 10:57

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