Bootloader


Closed Thread
Results 1 to 10 of 10

Thread: Bootloader

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Good but not enough

    Thanks Dear Wolf
    You answered to my question briefly :-)
    I foundout something about bootloader usage. However I need more help. How can I use bootloader in PBP? Can you give me a schematic of way of connection micro and PC?
    As you said bootloader is your favorite way for programming. Is it possible to learm me the way of using?
    Thanks gain
    Regards

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    There's a few different bootloaders here and there (such as TinyBootloader), the one i use is made by Mecanique and come with the full version of MicroCode Studio, the schematic you need to use is like bellow...


    In your PBP code, you just need to add
    Code:
    DEFINE LOADER_USED 1
    in Microcode studio, you choose MicroCode Loader as programmer.

    Further explanation... http://www.mecanique.co.uk/products/...ootloader.html

    HTH
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3


    Did you find this post helpful? Yes | No

    Default Tiny Bootloader

    Hi Dear Mister_e
    Thanks for your reply. Unfortunately I haven't MicroCode studio plus and MicroCode loader :-(
    I found Tiny Bootloader- As you mentioned- and downloaded it from here:
    http://www.etc.ugal.ro/cchiculita/so...bootloader.htm
    Have you worked with tiny bootloader? I think that I should write my program with microCode studio ( with--> DEFINE LOADER_USED 1 ) after commpiling send .HEX via Tiny Bootloader. Is it true? Does it work?
    Thaks again.

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Yup make sense to me. now if TinyBootloader utility have it's command line, that would be great 'cause you could launch it directly from Microcode studio as a third party programmer.

    Out of curiosity, which PIC are you going to use? Which OSC speed?
    Last edited by mister_e; - 18th December 2007 at 16:56.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5


    Did you find this post helpful? Yes | No

    Default PIC & Type

    Dear Mister_e
    Thanks for your reply. I want to use PIC16F877 and 10 MHz Osc. (Is it possible to use PIC16F628?)
    --------
    Regards

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    not suppose to work with a 16F628 as it don't have the capability to write/modify it's own codespace. 16F88 will work.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  7. #7
    Join Date
    Dec 2007
    Posts
    3


    Did you find this post helpful? Yes | No

    Default

    hi
    mister_e, maybe you remember my problem in the next topic
    http://www.picbasic.co.uk/forum/showthread.php?t=7627

    i am fix my problem usign tinybootloader also, but i have only a waring message,
    when i am load my program usign the tiny, the software say :

    WARNING: PCLATH not initialised before GOTO! ... sucessfully repaired

    and the load continue, and work fine, i am put only DEFINE LOADER_USED 1

    that place i need put this GOTO command for skip this warning??????

    thanks for all

    Regards

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