Why use a bootloader?


Closed Thread
Results 1 to 40 of 41

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Yes, but I mean the issue with selecting the COM port in the loader app.

    and in the help file for MCSP it says

    Using the Loader with MicroCode Studio Plus

    Connect a serial cable between your computer and development board. Apply power to the board.
    From the ICD toolbar, select the serial port you will be using to communicate with the development board.
    i canīt select any COM port there becous itīs locked, until i select an ICD compatibel PIC then i can change the port and then i have to change back to the PIC Iīm using.

  2. #2
    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 20:12.
    Steve

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

  3. #3
    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?

  4. #4
    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.

  5. #5
    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.

  6. #6
    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

  7. #7
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,604


    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.

Similar Threads

  1. PIC18F4680 bootloader
    By vinyl_theif in forum General
    Replies: 1
    Last Post: - 29th January 2009, 17:45
  2. 18F4550 Bootloader enter via eeprom setting
    By bradb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd November 2008, 23:51
  3. USBDemo with Bootloader
    By vacpress in forum USB
    Replies: 4
    Last Post: - 25th January 2007, 22:29
  4. Bootloader Problems
    By rossfree in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th February 2005, 17:51
  5. Replies: 3
    Last Post: - 26th January 2005, 13: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