Why use a bootloader?


Closed Thread
Results 1 to 40 of 41

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Ah, I see, well let's forget the help file then

    Not sure how bad some Virtual Port could be, but It may cause some problem with some Chipset/Driver combination.

    Real serial port have their place, but agreed, not a big majority release serial product now... Even some PCI (or whatever else PC slot) are just silly priced now.
    Last edited by mister_e; - 1st February 2009 at 21:12.
    Steve

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

  2. #2
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default

    Yea...
    Microcode studio plus is still the best editor for PBP that i know about.
    Is there anyone here that are using a better editor?

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


    Did you find this post helpful? Yes | No

    Default

    Define the word better and we may come up with some idea.

    MPLAB is fine, but you don't have serial com port access, no plug-in facility either.

    PsPad, nice code editor, but no PBP syntax embedded in

    CodeDesigner was great a while back, no longer supported, no serial communication utility, no plug-in facility either.
    Steve

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

  4. #4
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default

    I use PsPad as the default editor in windows, i like that editor, i have used Codedesigner in the past for PBP but switched to MCS and later to MCSP , MPLAB has so many functions that I donīt use there are just there to confuse me.

    Microcode studio is simple to use without extra functions i donīt use and have a nice and clean interface with PBP syntax.

  5. #5
    Join Date
    Jan 2005
    Location
    France
    Posts
    97


    Did you find this post helpful? Yes | No

    Default MCloader question

    I got a board with a 16F874 and a Max 232 on board
    (TX data and RX data goes to the normal PIC pins RC6 and RC7)

    16F874 (20 Mhz) is OK (tested with a Blink program !)

    SO, I try to use MCloader (version 1.0.1.7)
    I burn bootloader file to the 16F874
    I use my blink (Pic Basic pro 2.60) with the define user command
    compilation ...
    start MCloader ... reset MCLR .. nothing append .. still the message on MCloader about waiting a reset !
    question :
    is the DTR signal is used to reset the pic via the MAX232 and the 100 ohm resistor
    is it used with the "software reset" option I see in MCloader setup

    Can I use bootloader without this software reset option (I have just a push button on MCLR) ?
    thanks.
    Francois F1CHF

  6. #6
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624


    Did you find this post helpful? Yes | No

    Default Re: Why use a bootloader?

    Hi,
    Yes, the DTR signal is used to remotely reset the PIC but you can easily use it without that feature, I do that all the time on one of my developement boards from SURE electronics. I hit Program and it asks me to reset the device - which I do - and it downloads the code to the device.

    When it doesn't work it's usually because I've specified the wrong COM-port which happens to me from time to time, especially when using USB->COM dongles/adapters.

    It's important that you flash the PIC with bootloader.hex file for the correct oscillator speed (20MHz in your case) and that you put DEFINE LOADER_USED 1 in your program.

    /Henrik.

  7. #7
    Join Date
    Jan 2005
    Location
    France
    Posts
    97


    Did you find this post helpful? Yes | No

    Default Re: Why use a bootloader?

    OK Henrick
    Thanks for your reply
    I use a laptop with one COM port (and in MCloader there is no more choice than COM1)
    this COM1 is working with my serial programmer
    It is important that you said ...

    TX and RX lines (via MAX232) goes to RC6 and RC7
    good bootloader file burned in the pic (16F874_20.hex from MCloader directory)
    compilation (using PBP v 2.6) using good define user line (this program "blink" was tested and PIC is OK)
    power on the PIC
    start MCloader .. load hex file ... push program icon .... depress RESET button on PIC board

    download should works beetween the laptop and te PIC ...

    am I right ?

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