How to setup Bootloader


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1

    Smile How to setup Bootloader

    <font size="2">
    Hi Picers.

    Can anyone with practical experience on bootloaders <b>PLEASE</b> give me steps to set-up "in circuit debugging".

    I have gone through a lot of documentation, but just could not get it to work.

    Now I want to start from scratch as this usually solve the problem.
    I think it is something simple that I miss.

    I have the following software and components:
    - Picbasic pro
    - Microcode studio plus
    - 16F877 PIC
    - 4Mhz Xtal
    - Max232
    - Picstart Plus
    </font>

  2. #2
    Join Date
    Apr 2005
    Posts
    96


    Did you find this post helpful? Yes | No

    Default

    You may want to use a 16F877a instead of the 877, I'm not sure if you can bootload to the 877 or not.

  3. #3
    sincity337's Avatar
    sincity337 Guest


    Did you find this post helpful? Yes | No

    Default PicStart Plus Version?

    Hi,

    I can't answer your bootloader question, but how old your PicStart Plus? I found out the one I had was kind of old and had to get an upgrade card for it to get it to work properly. Just a thought....

    James

  4. #4
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    Hi koossa,

    What stage are you at? Do you need help with the bootloading, or the ICD?

    Once you have correctly programmed the bootloader firmware into the PIC, your programmer (Picstart, or any other) is out of the picture.

    Can you give some more details about where exactly you are stuck?

    Regards,

    Anand

  5. #5


    Did you find this post helpful? Yes | No

    Default

    My I ICD is working as well as serial communication from pic to PC, it is only my bootloader that I strugle with.

    After I upload the bootloader hex file to my pic using the picstart plus, I put it back in the circuit, connect my serial cable to the circuit and in MicroCode Studio I click on the menu "PROJECT", "COMPILE AND PROGRAM" then I get the message:
    "Reset Required, please reset the target microcontroller in order to access to the bootloader process... ".

    I have tried to reset it then, but with no luck.

    Thx

  6. #6
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    Since you have the ICD working, like you said the Pic to PC connection is intact.

    Are you sure you dont have an incorrect bootloader file programmed for the clock speed you are using?

    Also, make sure the baud rate chosen in the Microcode Loader is on Auto.

    Regards,


    Anand

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