---
+ Post New Thread
Results 1 to 10 of 10
  1. #1
    Member level 1
    Points: 706, Level: 5

    Join Date
    Mar 2010
    Location
    Manila
    Posts
    32
    Helped
    1 / 1
    Points
    706
    Level
    5

    I can't load program in my new 16f877a?

    i don't know why but the only thing that happen when i load the program by using the pic burner and the new ic that i purchase is NO BOOTLOADER FOUND

  2. #2
    Advanced Member level 3
    Points: 5,367, Level: 17

    Join Date
    Jul 2009
    Posts
    734
    Helped
    81 / 86
    Points
    5,367
    Level
    17

    Re: I can't load program in my new 16f877a?

    so if some complete stranger comes up to you and say nothing but

    "I can't load program in my new 16f877a?

    i don't know why but the only thing that happen when i load the program by using the pic burner and the new ic that i purchase is NO BOOTLOADER FOUND"
    do you think you would have the slightest clue of what s/he is talking about?

    in a sense, you are making it incredibly difficult for others to help you.



    •   Alt22nd September 2010, 15:29

      advertising

        
       

  3. #3
    Super Moderator
    Points: 39,750, Level: 48

    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    6,613
    Helped
    2042 / 2042
    Points
    39,750
    Level
    48

    Re: I can't load program in my new 16f877a?

    All you have to do is install a bootloader in the 16f877A first.

    (stop laughing millwod )



    •   Alt22nd September 2010, 15:56

      advertising

        
       

  4. #4
    Full Member level 3
    Points: 2,674, Level: 12
    sanjubluerock3's Avatar
    Join Date
    Sep 2008
    Location
    Bengaluru, India
    Posts
    174
    Helped
    20 / 20
    Points
    2,674
    Level
    12

    Re: I can't load program in my new 16f877a?

    sorry cant understand your question .....please be clear....



    •   Alt22nd September 2010, 16:12

      advertising

        
       

  5. #5
    Member level 1
    Points: 706, Level: 5

    Join Date
    Mar 2010
    Location
    Manila
    Posts
    32
    Helped
    1 / 1
    Points
    706
    Level
    5

    Re: I can't load program in my new 16f877a?

    my problem is when i load program to my new ic that i brought(16f877a) using the bootloader it says..NO BOOTLOADER FOUND...but when i used the original ic there's nothing wrong...whats wrong to my new ic??..and some one told me that the new ic that i brought is empty that why i can't load a program using the bootloader..



  6. #6
    Super Moderator
    Points: 39,750, Level: 48

    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    6,613
    Helped
    2042 / 2042
    Points
    39,750
    Level
    48

    Re: I can't load program in my new 16f877a?

    You just don't get it do you.

    New IC = absolutely blank, zilch program, empty end to end, all bits in default state.
    You are expecting an IC which is already programmed with a bootloader. A bootloader is a program already placed inside the IC to assist in loading further programs. Without the bootloader you have only one option, that is to program the IC from scratch using either LVP or conventional high voltage programming. You can either put your whole program in it or you can install another bootloader first but it won't get there by itself!
    Brian.



  7. #7
    Member level 1
    Points: 706, Level: 5

    Join Date
    Mar 2010
    Location
    Manila
    Posts
    32
    Helped
    1 / 1
    Points
    706
    Level
    5

    Re: I can't load program in my new 16f877a?

    which mean it is possible to put a program in the new ic...using the bootloader...



  8. #8
    Advanced Member level 2
    Points: 3,537, Level: 13
    incomplete_jerin's Avatar
    Join Date
    Jun 2010
    Location
    INDIA
    Posts
    551
    Helped
    102 / 102
    Points
    3,537
    Level
    13

    Re: I can't load program in my new 16f877a?

    Just buy a new IC & try to burn the code again........



  9. #9
    Super Moderator
    Points: 39,750, Level: 48

    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    6,613
    Helped
    2042 / 2042
    Points
    39,750
    Level
    48

    Re: I can't load program in my new 16f877a?

    I'll try explaining again....

    The bootloader does not come in the PIC, it is a program loaded after purchase, a new IC will be completely empty of ANY program, be it a bootloader or anything else. So trying to use a non-existent bootloader in a new, blank IC will never work.

    There are three ways to program the IC:
    1. use LVP (low voltage programming) - you have to put the correct sequence of signals on the pins of the IC and it stores them inside it's memory. You sacrifice one pin to do this because it becomes dedicated to programming.
    2. use high voltage programming. this is like LVP but a high voltage is placed on the reset pin to tell the IC to change from running a program to storing it. This leaves all the pins for your use.
    3. use a bootloader. This is a software routine that lets you 'feed' the new program through the PIC serial interface pins and the IC stores them internally under the bootloader's control.

    TO USE METHOD 3 YOU MUST USE METHOD 1 OR 2 TO PLACE THE BOOTLOADER IN THE PIC FIRST.

    The error your programming unit is telling you is that it is trying to talk to the bootloader but it got no reply. As it isn't present in a new, blank PIC that is not a surprise !

    I suggest you get hold of a Pickit 2 or Pickit 3 which will let you program almost any PIC without the need for a bootloader at all.

    If I define a bootloader it might make it clearer: the term comes from 'boots' as in the things that fit on your feet. It is almost a joke that has become so used that it is now part of programming talk. The analogy is that you can't pull yourself up with your own boot laces, you need help. In programming terms it's a small program that helps you load a big one. "Booting up" is the process of a small resident program coordinating the execution of a your application program.

    Brian.



  10. #10
    Member level 1
    Points: 706, Level: 5

    Join Date
    Mar 2010
    Location
    Manila
    Posts
    32
    Helped
    1 / 1
    Points
    706
    Level
    5

    Re: I can't load program in my new 16f877a?

    ....THANK YOU VERY MUCH....i understand it now......



+ Post New Thread
Please login